summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-03-17 14:28:27 +0000
committerDaouda Lo <daouda@mandriva.com>2004-03-17 14:28:27 +0000
commitc1eed107f8d4c59f8ccdd04741a456eb215f7ab3 (patch)
tree84e3e0bfca815064ac5b4faa1b837e881cc807b0 /mdkapplet
parent39cec38bd71c19bdc6b0d877d75ff24a6a806016 (diff)
downloadmgaonline-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-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 714bf8f3..e02b9627 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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);