comparison src/gtkblist.c @ 12334:2823118073fa

[gaim-migrate @ 14638] Me need food! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 05 Dec 2005 02:32:38 +0000
parents 354af9ab4ed3
children 610327016c4a
comparison
equal deleted inserted replaced
12333:354af9ab4ed3 12334:2823118073fa
2478 { N_("/Tools/Pr_eferences"), "<CTL>P", gaim_gtk_prefs_show, 0, "<StockItem>", GTK_STOCK_PREFERENCES }, 2478 { N_("/Tools/Pr_eferences"), "<CTL>P", gaim_gtk_prefs_show, 0, "<StockItem>", GTK_STOCK_PREFERENCES },
2479 { N_("/Tools/Pr_ivacy"), NULL, gaim_gtk_privacy_dialog_show, 0, "<StockItem>", GTK_STOCK_DIALOG_ERROR }, 2479 { N_("/Tools/Pr_ivacy"), NULL, gaim_gtk_privacy_dialog_show, 0, "<StockItem>", GTK_STOCK_DIALOG_ERROR },
2480 { "/Tools/sep2", NULL, NULL, 0, "<Separator>" }, 2480 { "/Tools/sep2", NULL, NULL, 0, "<Separator>" },
2481 { N_("/Tools/_File Transfers"), "<CTL>T", gaim_show_xfer_dialog, 0, "<StockItem>", GAIM_STOCK_FILE_TRANSFER }, 2481 { N_("/Tools/_File Transfers"), "<CTL>T", gaim_show_xfer_dialog, 0, "<StockItem>", GAIM_STOCK_FILE_TRANSFER },
2482 { N_("/Tools/R_oom List"), NULL, gaim_gtk_roomlist_dialog_show, 0, "<StockItem>", GTK_STOCK_INDEX }, 2482 { N_("/Tools/R_oom List"), NULL, gaim_gtk_roomlist_dialog_show, 0, "<StockItem>", GTK_STOCK_INDEX },
2483 { N_("/Tools/View System _Log"), NULL, gtk_blist_show_systemlog_cb, 0, "<StockItem>", GAIM_STOCK_LOG }, 2483 { N_("/Tools/System _Log"), NULL, gtk_blist_show_systemlog_cb, 0, "<StockItem>", GAIM_STOCK_LOG },
2484 { "/Tools/sep3", NULL, NULL, 0, "<Separator>" }, 2484 { "/Tools/sep3", NULL, NULL, 0, "<Separator>" },
2485 { N_("/Tools/Mute _Sounds"), "<CTL>S", gaim_gtk_blist_mute_sounds_cb, 0, "<CheckItem>"}, 2485 { N_("/Tools/Mute _Sounds"), "<CTL>S", gaim_gtk_blist_mute_sounds_cb, 0, "<CheckItem>"},
2486 2486
2487 /* Help */ 2487 /* Help */
2488 { N_("/_Help"), NULL, NULL, 0, "<Branch>" }, 2488 { N_("/_Help"), NULL, NULL, 0, "<Branch>" },
5358 for (l = gtk_container_get_children(GTK_CONTAINER(accountmenu)); l; l = l->next) { 5358 for (l = gtk_container_get_children(GTK_CONTAINER(accountmenu)); l; l = l->next) {
5359 gtk_container_remove(GTK_CONTAINER(accountmenu), 5359 gtk_container_remove(GTK_CONTAINER(accountmenu),
5360 GTK_WIDGET(l->data)); 5360 GTK_WIDGET(l->data));
5361 } 5361 }
5362 5362
5363 menuitem = gtk_menu_item_new_with_label(_("Add/Edit...")); 5363 menuitem = gtk_menu_item_new_with_label(_("Add/Edit"));
5364 g_signal_connect(G_OBJECT(menuitem), "activate", 5364 g_signal_connect(G_OBJECT(menuitem), "activate",
5365 G_CALLBACK(gaim_gtk_accounts_window_show), NULL); 5365 G_CALLBACK(gaim_gtk_accounts_window_show), NULL);
5366 gtk_menu_shell_append(GTK_MENU_SHELL(accountmenu), menuitem); 5366 gtk_menu_shell_append(GTK_MENU_SHELL(accountmenu), menuitem);
5367 gtk_widget_show(menuitem); 5367 gtk_widget_show(menuitem);
5368 5368
5401 submenu = gtk_menu_new(); 5401 submenu = gtk_menu_new();
5402 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), submenu); 5402 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), submenu);
5403 gtk_widget_show(submenu); 5403 gtk_widget_show(submenu);
5404 5404
5405 5405
5406 menuitem = gtk_menu_item_new_with_mnemonic(_("_Modify Account")); 5406 menuitem = gtk_menu_item_new_with_mnemonic(_("_Edit Account"));
5407 g_signal_connect(G_OBJECT(menuitem), "activate", 5407 g_signal_connect(G_OBJECT(menuitem), "activate",
5408 G_CALLBACK(modify_account_cb), account); 5408 G_CALLBACK(modify_account_cb), account);
5409 gtk_menu_shell_append(GTK_MENU_SHELL(submenu), menuitem); 5409 gtk_menu_shell_append(GTK_MENU_SHELL(submenu), menuitem);
5410 gtk_widget_show(menuitem); 5410 gtk_widget_show(menuitem);
5411 5411