diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-07 17:52:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-07 17:52:15 +0000 |
commit | ef32658e1969e4e9d75b0fba4e3acc31a9a133d1 (patch) | |
tree | ca8767f9c6cfdc8b3603d3f795c88300d77b0b82 | |
parent | 2b99f74fa50d073323025f353a024acc3b75846c (diff) | |
download | mgaonline-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-x | mdkapplet | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); }); |