From d726f3eb2cdc5f6e8598f0fcd5ec06ab37482c45 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 25 Oct 2016 16:23:48 +0200 Subject: 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) --- NEWS | 1 + control-center | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 269ee525..4c5f1fe5 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ - fix gtk+ warnings about deprecated style property +- fix the "Display Logs" option doing nothing (mga#19147) Version 13.7 - 28 May 2016, RĂ©mi Verschelde 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 : -- cgit v1.2.1