[gnome-control-center/wip/region-panel: 36/39] keyboard: Relabel link button, 'Layout Settings' -> 'Input Sources'



commit 5ac0541318f753a371b14c6b77d9996f4b99137d
Author: Rui Matos <tiagomatos gmail com>
Date:   Thu Feb 7 14:51:23 2013 +0100

    keyboard: Relabel link button, 'Layout Settings' -> 'Input Sources'

 panels/keyboard/gnome-keyboard-panel.ui |    2 +-
 panels/keyboard/keyboard-general.c      |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/panels/keyboard/gnome-keyboard-panel.ui b/panels/keyboard/gnome-keyboard-panel.ui
index cce05ee..dcd3b36 100644
--- a/panels/keyboard/gnome-keyboard-panel.ui
+++ b/panels/keyboard/gnome-keyboard-panel.ui
@@ -630,7 +630,7 @@
                     <property name="can_focus">False</property>
                     <child>
                       <object class="GtkLinkButton" id="linkbutton">
-                        <property name="label" translatable="yes">Layout Settings</property>
+                        <property name="label" translatable="yes">Input Sources</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">True</property>
diff --git a/panels/keyboard/keyboard-general.c b/panels/keyboard/keyboard-general.c
index 7b4af75..26c1db0 100644
--- a/panels/keyboard/keyboard-general.c
+++ b/panels/keyboard/keyboard-general.c
@@ -61,10 +61,9 @@ 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", argv, &error) == FALSE)
+  if (cc_shell_set_active_panel_from_id (shell, "region", NULL, &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]