summaryrefslogtreecommitdiff
path: root/panels/universal-access
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2011-08-22 14:22:37 +0200
committerGiovanni Campagna <gcampagna@src.gnome.org>2011-09-05 18:07:52 +0200
commit1f9ae38c2f558ae160e859754b9d44e3f76fc47b (patch)
tree6c2701ce6c01d6a1226a622c6288d5db6622761f /panels/universal-access
parent67a28bb6297daf91f7e5e5dc3c015664399a66ec (diff)
downloadgnome-control-center-1f9ae38c2f558ae160e859754b9d44e3f76fc47b.tar.gz
Add a way for panels to receive additional arguments.
This patch introduces the "argv" property to CcPanel. Panels that wish to handle extra arguments shall override it and act appropriately in the constructor. https://bugzilla.gnome.org/show_bug.cgi?id=657093
Diffstat (limited to 'panels/universal-access')
-rw-r--r--panels/universal-access/cc-ua-panel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c
index c125ba4a1..16e8eedf7 100644
--- a/panels/universal-access/cc-ua-panel.c
+++ b/panels/universal-access/cc-ua-panel.c
@@ -587,7 +587,7 @@ hearing_sound_preferences_clicked (GtkButton *button,
CcShell *shell;
shell = cc_panel_get_shell (CC_PANEL (panel));
- cc_shell_set_active_panel_from_id (shell, "sound", NULL);
+ cc_shell_set_active_panel_from_id (shell, "sound", NULL, NULL);
}
static void
@@ -639,7 +639,7 @@ typing_keyboard_preferences_clicked (GtkButton *button,
CcShell *shell;
shell = cc_panel_get_shell (CC_PANEL (panel));
- cc_shell_set_active_panel_from_id (shell, "keyboard", NULL);
+ cc_shell_set_active_panel_from_id (shell, "keyboard", NULL, NULL);
}
static void
@@ -709,7 +709,7 @@ pointing_mouse_preferences_clicked_cb (GtkButton *button,
CcShell *shell;
shell = cc_panel_get_shell (CC_PANEL (panel));
- cc_shell_set_active_panel_from_id (shell, "mouse", NULL);
+ cc_shell_set_active_panel_from_id (shell, "mouse", NULL, NULL);
}
static void