[gnome-settings-daemon] keyboard: Fix wrong item popping up for preview



commit 1d992a0220026e78134e9724838a7205e70d1fa8
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Apr 26 19:42:19 2012 +0100

    keyboard: Fix wrong item popping up for preview

 plugins/keyboard/gsd-keyboard-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-manager.c b/plugins/keyboard/gsd-keyboard-manager.c
index 166d692..88dc43f 100644
--- a/plugins/keyboard/gsd-keyboard-manager.c
+++ b/plugins/keyboard/gsd-keyboard-manager.c
@@ -261,7 +261,7 @@ popup_menu_show_layout (GtkMenuItem *menuitem,
 	if (xkl_state->group < 0)
 		return;
 
-	command = g_strdup_printf ("gkbd-keyboard-display -g %d", xkl_state->group);
+	command = g_strdup_printf ("gkbd-keyboard-display -g %d", xkl_state->group + 1);
 	g_spawn_command_line_async (command, NULL);
 	g_free (command);
 }



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