summaryrefslogtreecommitdiffstats
path: root/control-center
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-10-25 16:23:48 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-10-25 16:39:18 +0200
commitd726f3eb2cdc5f6e8598f0fcd5ec06ab37482c45 (patch)
treee7692244aa6af4f0abc09c3e136faf195064a551 /control-center
parent659f58c36b307ae10972d50106ce76233bfb658b (diff)
downloadcontrol-center-d726f3eb2cdc5f6e8598f0fcd5ec06ab37482c45.tar
control-center-d726f3eb2cdc5f6e8598f0fcd5ec06ab37482c45.tar.gz
control-center-d726f3eb2cdc5f6e8598f0fcd5ec06ab37482c45.tar.bz2
control-center-d726f3eb2cdc5f6e8598f0fcd5ec06ab37482c45.tar.xz
control-center-d726f3eb2cdc5f6e8598f0fcd5ec06ab37482c45.zip
Revert "fix activating menu items with latest gtk+3"
This reverts commit 1f0cd8d58986d8a9f0f03f5e348c9a030417d1e5. uses the right method now that the widget has the right type this fixes the following gtk+ warning: *** Gtk3::MenuItem::activate: passed too many parameters (expected 1, got 2); ignoring excess at ./control-center line 1031. And fixes the "Display Logs" option doing nothing (mga#19147)
Diffstat (limited to 'control-center')
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index 2322f9aa..0d7c8cb6 100755
--- a/control-center
+++ b/control-center
@@ -1027,7 +1027,7 @@ foreach my $label (difference2([ keys %programs ], [ keys %tool_callbacks ])) {
foreach (keys %check_boxes) {
my $widget = $check_boxes{$_};
- $widget->activate($option_values{$_});
+ $widget->set_active($option_values{$_});
}
# "wait while launching a program" area :