diff options
author | Giovanni Campagna <gcampagna@src.gnome.org> | 2011-08-22 14:22:37 +0200 |
---|---|---|
committer | Giovanni Campagna <gcampagna@src.gnome.org> | 2011-09-05 18:07:52 +0200 |
commit | 1f9ae38c2f558ae160e859754b9d44e3f76fc47b (patch) | |
tree | 6c2701ce6c01d6a1226a622c6288d5db6622761f /panels/universal-access | |
parent | 67a28bb6297daf91f7e5e5dc3c015664399a66ec (diff) | |
download | gnome-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.c | 6 |
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 |