summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-27 16:10:57 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-27 16:10:57 +0000
commit2c4203afdf07979651912d7b0b9f3be8cd37513b (patch)
tree6683958c7333eb6d7146071f3c5de175a9ae4991
parent79e1105c230602204353b45333bfc958853aadc3 (diff)
downloadmgaonline-2c4203afdf07979651912d7b0b9f3be8cd37513b.tar
mgaonline-2c4203afdf07979651912d7b0b9f3be8cd37513b.tar.gz
mgaonline-2c4203afdf07979651912d7b0b9f3be8cd37513b.tar.bz2
mgaonline-2c4203afdf07979651912d7b0b9f3be8cd37513b.tar.xz
mgaonline-2c4203afdf07979651912d7b0b9f3be8cd37513b.zip
(setState) make sure that bubbles are displayed on right icon
-rwxr-xr-xmdkapplet1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 84a2ff59..d22ae10f 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -452,6 +452,7 @@ sub setState {
$icon->set_from_pixbuf($tmp);
$icon->set_tooltip(formatAlaTeX(translate($state{$state_type}{tt}[0])));
$icon->set_visible($state_type ne 'okay');
+ gtkflush(); # so that bubbles are displayed on right icon
if ($state{$state_type}{tt}[0] && $icon->isa('Gtk2::StatusIcon') && !$state{$state_type}{do_not_use_bubble}) {
my $bubble = Gtk2::Notify->new_with_status_icon(N("Warning"), formatAlaTeX(translate($state{$state_type}{tt}[0])) . "\n",