keyboard: Link directly to the layouts page
In the region panel, now that it supports switching pages.
This commit is contained in:
parent
d8b9fc9c5d
commit
2201807524
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue