[gnome-settings-daemon] keyboard: Fix wrong item popping up for preview
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] keyboard: Fix wrong item popping up for preview
- Date: Thu, 26 Apr 2012 18:42:44 +0000 (UTC)
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]