summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-10-25 16:20:50 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-10-25 16:39:18 +0200
commit659f58c36b307ae10972d50106ce76233bfb658b (patch)
treeb07bbf8144cafa6028dee46ea49b8b05c9bf3cda
parentec6d2da6ba3dee30aa207768da46ab87a640bdad (diff)
downloadcontrol-center-659f58c36b307ae10972d50106ce76233bfb658b.tar
control-center-659f58c36b307ae10972d50106ce76233bfb658b.tar.gz
control-center-659f58c36b307ae10972d50106ce76233bfb658b.tar.bz2
control-center-659f58c36b307ae10972d50106ce76233bfb658b.tar.xz
control-center-659f58c36b307ae10972d50106ce76233bfb658b.zip
fix MenuItem type
The first action hides the real one we wanted... Thus the MenuItem is now checkable again (needed for next commit) (previously we got a Gtk3::ImageMenuItem instead of a Gtk3::CheckMenuItem)
-rwxr-xr-xcontrol-center3
1 files changed, 1 insertions, 2 deletions
diff --git a/control-center b/control-center
index 0c573d5a..2322f9aa 100755
--- a/control-center
+++ b/control-center
@@ -625,7 +625,6 @@ my $ui = gtknew('UIManager', actions => [
#-PO: you just have to select the proper letter for your language (eg: english: "Quit" => "Q")
N("<control>Q"), undef, \&quit_global ],
[ 'OptionsMenu', undef, N("_Options") ],
- [ 'show_log', undef, N("Display _Logs") ],
[ 'HelpMenu', undef, N("_Help") ],
[ 'Help', undef, N("_Help"), N("<control>H"), undef, \&run_help ],
[ 'Release_notes', undef, N("_Release notes"), undef, undef, sub { run_browser('Release_Notes') } ],
@@ -637,7 +636,7 @@ my $ui = gtknew('UIManager', actions => [
[ 'About', undef, N("_About..."), '', undef, \&about_mga_cc ],
],
toggle_actions => [
- [ 'Show_Logs', undef, N("Display _Logs"), undef, undef, sub {
+ [ 'show_log', undef, N("Display _Logs"), undef, undef, sub {
$option_values{show_log} = $check_boxes{show_log}->get_active;
if ($option_values{show_log}) {
start_logdrake();