From 2c4203afdf07979651912d7b0b9f3be8cd37513b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 27 Feb 2008 16:10:57 +0000 Subject: (setState) make sure that bubbles are displayed on right icon --- mdkapplet | 1 + 1 file changed, 1 insertion(+) (limited to 'mdkapplet') 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", -- cgit v1.2.1