comparison src/buddy.c @ 2598:b2800bca74fe

[gaim-migrate @ 2611] yeah. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 24 Oct 2001 11:07:35 +0000
parents f194dd8250d4
children ff9d9b4f7aa2
comparison
equal deleted inserted replaced
2597:2ced57c58653 2598:b2800bca74fe
2411 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), bpmenu); 2411 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), bpmenu);
2412 do_bp_menu(); 2412 do_bp_menu();
2413 2413
2414 gaim_separator(menu); 2414 gaim_separator(menu);
2415 2415
2416 #ifdef NO_MULTI 2416 #ifndef NO_MULTI
2417 findmenu = gtk_menu_new();
2418 gtk_widget_show(findmenu);
2419 menuitem = gaim_new_item_with_pixmap(menu, _("Search for Buddy"), search_small_xpm,
2420 NULL, 0, 0, 0);
2421 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), findmenu);
2422 gtk_widget_show(menuitem);
2423 menuitem = gtk_menu_item_new_with_label(_("by Email"));
2424 gtk_menu_append(GTK_MENU(findmenu), menuitem);
2425 gtk_signal_connect(GTK_OBJECT(menuitem), "activate", GTK_SIGNAL_FUNC(show_find_email), NULL);
2426 gtk_widget_show(menuitem);
2427 menuitem = gtk_menu_item_new_with_label(_("by Dir Info"));
2428 gtk_menu_append(GTK_MENU(findmenu), menuitem);
2429 gtk_signal_connect(GTK_OBJECT(menuitem), "activate", GTK_SIGNAL_FUNC(show_find_info),
2430 connections->data);
2431 gtk_widget_show(menuitem);
2432
2433 setmenu = gtk_menu_new();
2434 gtk_widget_show(setmenu);
2435 menuitem = gaim_new_item_with_pixmap(menu, _("Settings"), prefs_small_xpm, NULL, 0, 0, 0);
2436 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), setmenu);
2437 menuitem = gtk_menu_item_new_with_label(_("User Info"));
2438 gtk_menu_append(GTK_MENU(setmenu), menuitem);
2439 gtk_signal_connect(GTK_OBJECT(menuitem), "activate", GTK_SIGNAL_FUNC(show_set_info), NULL);
2440 gtk_widget_show(menuitem);
2441 menuitem = gtk_menu_item_new_with_label(_("Directory Info"));
2442 gtk_menu_append(GTK_MENU(setmenu), menuitem);
2443 gtk_signal_connect(GTK_OBJECT(menuitem), "activate", GTK_SIGNAL_FUNC(show_set_dir), NULL);
2444 gtk_widget_show(menuitem);
2445 menuitem = gtk_menu_item_new_with_label(_("Change Password"));
2446 gtk_menu_append(GTK_MENU(setmenu), menuitem);
2447 gtk_signal_connect(GTK_OBJECT(menuitem), "activate", GTK_SIGNAL_FUNC(show_change_passwd), NULL);
2448 gtk_widget_show(menuitem);
2449 #else
2450 gaim_new_item_with_pixmap(menu, _("Accounts"), add_small_xpm, 2417 gaim_new_item_with_pixmap(menu, _("Accounts"), add_small_xpm,
2451 GTK_SIGNAL_FUNC(account_editor), 'a', GDK_CONTROL_MASK, "Ctl+A"); 2418 GTK_SIGNAL_FUNC(account_editor), 'a', GDK_CONTROL_MASK, "Ctl+A");
2419 #endif
2452 2420
2453 protomenu = gtk_menu_new(); 2421 protomenu = gtk_menu_new();
2454 menuitem = 2422 menuitem =
2455 gaim_new_item_with_pixmap(menu, _("Protocol Actions"), prefs_small_xpm, NULL, 0, 0, 0); 2423 gaim_new_item_with_pixmap(menu, _("Protocol Actions"), prefs_small_xpm, NULL, 0, 0, 0);
2456 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), protomenu); 2424 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), protomenu);
2457 do_proto_menu(); 2425 do_proto_menu();
2458 #endif
2459 2426
2460 gaim_new_item_with_pixmap(menu, _("Preferences"), prefs_small_xpm, 2427 gaim_new_item_with_pixmap(menu, _("Preferences"), prefs_small_xpm,
2461 GTK_SIGNAL_FUNC(show_prefs), 'p', GDK_CONTROL_MASK, "Ctl+P"); 2428 GTK_SIGNAL_FUNC(show_prefs), 'p', GDK_CONTROL_MASK, "Ctl+P");
2462 gaim_new_item_with_pixmap(menu, _("View System Log"), prefs_small_xpm, 2429 gaim_new_item_with_pixmap(menu, _("View System Log"), prefs_small_xpm,
2463 GTK_SIGNAL_FUNC(show_syslog), 0, 0, 0); 2430 GTK_SIGNAL_FUNC(show_syslog), 0, 0, 0);