[gnome-settings-daemon] keyboard: Fix menu items actions



commit 9647e7bcf1f0134de804c1ac807a2ee5fc89bd62
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jun 20 10:30:33 2011 +0100

    keyboard: Fix menu items actions
    
    They weren't switch around when the menu items were.

 plugins/keyboard/gsd-keyboard-xkb.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-xkb.c b/plugins/keyboard/gsd-keyboard-xkb.c
index 3485622..f85ffba 100644
--- a/plugins/keyboard/gsd-keyboard-xkb.c
+++ b/plugins/keyboard/gsd-keyboard-xkb.c
@@ -248,15 +248,14 @@ status_icon_popup_menu_cb (GtkStatusIcon * icon, guint button, guint time)
 
 	item = gtk_menu_item_new_with_mnemonic (_("Show _Keyboard Layout..."));
 	gtk_widget_show (item);
-	g_signal_connect (item, "activate", popup_menu_launch_capplet,
-			  NULL);
+	g_signal_connect (item, "activate", popup_menu_show_layout, NULL);
 	gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), item);
 
 	/* translators note:
 	 * This is the name of the gnome-control-center "region" panel */
 	item = gtk_menu_item_new_with_mnemonic (_("Region and Language Settings"));
 	gtk_widget_show (item);
-	g_signal_connect (item, "activate", popup_menu_show_layout, NULL);
+	g_signal_connect (item, "activate", popup_menu_launch_capplet, NULL);
 	gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), item);
 
 	for (i = 0; *current_name; i++, current_name++) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]