keyboard: Link directly to the layouts page

In the region panel, now that it supports switching pages.
This commit is contained in:
Bastien Nocera 2011-09-08 17:23:22 +01:00
parent d8b9fc9c5d
commit 2201807524

View file

@ -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);