diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-03-17 14:28:27 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-03-17 14:28:27 +0000 |
commit | c1eed107f8d4c59f8ccdd04741a456eb215f7ab3 (patch) | |
tree | 84e3e0bfca815064ac5b4faa1b837e881cc807b0 /mdkapplet | |
parent | 39cec38bd71c19bdc6b0d877d75ff24a6a806016 (diff) | |
download | mgaonline-c1eed107f8d4c59f8ccdd04741a456eb215f7ab3.tar mgaonline-c1eed107f8d4c59f8ccdd04741a456eb215f7ab3.tar.gz mgaonline-c1eed107f8d4c59f8ccdd04741a456eb215f7ab3.tar.bz2 mgaonline-c1eed107f8d4c59f8ccdd04741a456eb215f7ab3.tar.xz mgaonline-c1eed107f8d4c59f8ccdd04741a456eb215f7ab3.zip |
- set var before performing action
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ gtkadd(my $icon = Gtk2::TrayIcon->new("MdkApplet"), $eventbox->signal_connect(button_press_event => sub { if (!$raisedwindow) { if ($_[1]->button == 1) { - if (-e $conffile) { $raisedwindow = 1; showMainWindow() } else { configure(); $raisedwindow = 0 } + if (-e $conffile) { $raisedwindow = 1; showMainWindow() } else { $raisedwindow = 0; configure() } } } $_[1]->button == 3 && $menu and $menu->popup(undef, undef, undef, undef, $_[1]->button, $_[1]->time); |