# HG changeset patch # User Elliott Sales de Andrade # Date 1318116388 0 # Node ID d8c74de25b5f07fd7fffbfd6b07337dfbee61fda # Parent bfcb739c2e066dd882a56930240c74a44dde8527 Apply some updates to UI Manager version of blist menu: Change the key shortcut for Set Mood to Ctrl+D, Add Plugin Information menu item to Help menu. diff -r bfcb739c2e06 -r d8c74de25b5f pidgin/gtkblist.c --- a/pidgin/gtkblist.c Sat Oct 08 23:01:54 2011 +0000 +++ b/pidgin/gtkblist.c Sat Oct 08 23:26:28 2011 +0000 @@ -3607,6 +3607,8 @@ #if 1 /* TODO: fill out tooltips... */ static const GtkActionEntry blist_menu_entries[] = { +/* NOTE: Do not set any accelerator to Control+O. It is mapped by + gtk_blist_key_press_cb to "Get User Info" on the selected buddy. */ /* Buddies menu */ { "BuddiesMenu", NULL, N_("_Buddies"), NULL, NULL, NULL }, { "NewInstantMessage", PIDGIN_STOCK_TOOLBAR_MESSAGE_NEW, N_("New Instant _Message..."), "M", NULL, pidgin_dialogs_im }, @@ -3633,7 +3635,7 @@ { "Plugins", PIDGIN_STOCK_TOOLBAR_PLUGINS, N_("Plu_gins"), "U", NULL, pidgin_plugin_dialog_show }, { "Preferences", GTK_STOCK_PREFERENCES, N_("Pr_eferences"), "P", NULL, pidgin_prefs_show }, { "Privacy", NULL, N_("Pr_ivacy"), NULL, NULL, pidgin_privacy_dialog_show }, - { "SetMood", NULL, N_("Set _Mood"), "O", NULL, set_mood_show }, + { "SetMood", NULL, N_("Set _Mood"), "D", NULL, set_mood_show }, { "FileTransfers", PIDGIN_STOCK_TOOLBAR_TRANSFER, N_("_File Transfers"), "T", NULL, G_CALLBACK(gtk_blist_show_xfer_dialog_cb) }, { "RoomList", NULL, N_("R_oom List"), NULL, NULL, pidgin_roomlist_dialog_show }, { "SystemLog", NULL, N_("System _Log"), NULL, NULL, gtk_blist_show_systemlog_cb }, @@ -3644,6 +3646,7 @@ { "BuildInformation", NULL, N_("_Build Information"), NULL, NULL, pidgin_dialogs_buildinfo }, { "DebugWindow", NULL, N_("_Debug Window"), NULL, NULL, toggle_debug }, { "DeveloperInformation", NULL, N_("De_veloper Information"), NULL, NULL, pidgin_dialogs_developers }, + { "PluginInformation", NULL, N_("_Plugin Information"), NULL, NULL, pidgin_dialogs_plugins_info }, { "TranslatorInformation", NULL, N_("_Translator Information"), NULL, NULL, pidgin_dialogs_translators }, { "About", GTK_STOCK_ABOUT, N_("_About"), NULL, NULL, pidgin_dialogs_about }, }; @@ -3713,6 +3716,7 @@ "" "" "" + "" "" "" "" @@ -3723,9 +3727,6 @@ #else static GtkItemFactoryEntry blist_menu[] = { -/* NOTE: Do not set any accelerator to Control+O. It is mapped by - gtk_blist_key_press_cb to "Get User Info" on the selected buddy. */ - /* Buddies menu */ { N_("/_Buddies"), NULL, NULL, 0, "", NULL }, { N_("/Buddies/New Instant _Message..."), "M", pidgin_dialogs_im, 0, "", PIDGIN_STOCK_TOOLBAR_MESSAGE_NEW }, @@ -8376,4 +8377,5 @@ sort_merge_id = gtk_ui_manager_add_ui_from_string(gtkblist->ui, ui_string->str, -1, NULL); g_string_free(ui_string, TRUE); -} \ No newline at end of file +} +