[gnome-control-center/gnome-3-2] keyboard: Link directly to the layouts page
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-2] keyboard: Link directly to the layouts page
- Date: Thu, 8 Sep 2011 16:24:23 +0000 (UTC)
commit 8b2db655f5e38eaff7664e6ffc6567a8e796cef2
Author: Bastien Nocera <hadess hadess net>
Date: Thu Sep 8 17:23:22 2011 +0100
keyboard: Link directly to the layouts page
In the region panel, now that it supports switching pages.
panels/keyboard/keyboard-general.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/panels/keyboard/keyboard-general.c b/panels/keyboard/keyboard-general.c
index 26c1db0..7b4af75 100644
--- a/panels/keyboard/keyboard-general.c
+++ b/panels/keyboard/keyboard-general.c
@@ -61,9 +61,10 @@ layout_link_clicked (GtkLinkButton *button,
{
CcShell *shell;
GError *error = NULL;
+ const char *argv[] = { "layouts", NULL };
shell = cc_panel_get_shell (panel);
- if (cc_shell_set_active_panel_from_id (shell, "region", NULL, &error) == FALSE)
+ if (cc_shell_set_active_panel_from_id (shell, "region", argv, &error) == FALSE)
{
g_warning ("Failed to activate Region panel: %s", error->message);
g_error_free (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]