summaryrefslogtreecommitdiffstats
path: root/draksnapshot-applet
diff options
context:
space:
mode:
Diffstat (limited to 'draksnapshot-applet')
-rwxr-xr-xdraksnapshot-applet2
1 files changed, 2 insertions, 0 deletions
diff --git a/draksnapshot-applet b/draksnapshot-applet
index 8df6714..7fabdbe 100755
--- a/draksnapshot-applet
+++ b/draksnapshot-applet
@@ -212,7 +212,9 @@ sub setState {
}
$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
+ select(undef, undef, undef, 0.1); #- hackish :-(
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("Info"), formatAlaTeX(translate($state{$state_type}{tt}[0])) . "\n",