summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-04-07 17:52:15 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-04-07 17:52:15 +0000
commitef32658e1969e4e9d75b0fba4e3acc31a9a133d1 (patch)
treeca8767f9c6cfdc8b3603d3f795c88300d77b0b82
parent2b99f74fa50d073323025f353a024acc3b75846c (diff)
downloadmgaonline-ef32658e1969e4e9d75b0fba4e3acc31a9a133d1.tar
mgaonline-ef32658e1969e4e9d75b0fba4e3acc31a9a133d1.tar.gz
mgaonline-ef32658e1969e4e9d75b0fba4e3acc31a9a133d1.tar.bz2
mgaonline-ef32658e1969e4e9d75b0fba4e3acc31a9a133d1.tar.xz
mgaonline-ef32658e1969e4e9d75b0fba4e3acc31a9a133d1.zip
better fix: no more flashing dialog when it's already at top level
when clicking on the tray icon (it's also raised if iconized)
-rwxr-xr-xmdkapplet3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index d14ca92f..dd742647 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -158,8 +158,7 @@ $eventbox->signal_connect(button_press_event => sub {
if (-e $conffile) { $raisedwindow = 1; showMainWindow() } else { $raisedwindow = 0; configure() }
}
} elsif ($_[1]->button == 1) {
- $applet_window->hide;
- $applet_window->show;
+ $applet_window->present;
}
$_[1]->button == 3 && $menu and $menu->popup(undef, undef, undef, undef, $_[1]->button, $_[1]->time);
});