diff options
author | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2008-06-24 13:55:49 +0000 |
---|---|---|
committer | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2008-06-24 13:55:49 +0000 |
commit | b92f5f4582addb27a9525558f8281e73d9daaf33 (patch) | |
tree | 47a973aae4116f0e10de42fff3639ba7a7b1a84e /draksnapshot-applet | |
parent | c0ec9bf7ff37fff3a85bf0c66ded137ec4c8884f (diff) | |
download | draksnapshot-b92f5f4582addb27a9525558f8281e73d9daaf33.tar draksnapshot-b92f5f4582addb27a9525558f8281e73d9daaf33.tar.gz draksnapshot-b92f5f4582addb27a9525558f8281e73d9daaf33.tar.bz2 draksnapshot-b92f5f4582addb27a9525558f8281e73d9daaf33.tar.xz draksnapshot-b92f5f4582addb27a9525558f8281e73d9daaf33.zip |
(setState) try harder to show the icon before the bubble so that the
later is correctly placed (#40361)
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@243061 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
Diffstat (limited to 'draksnapshot-applet')
-rwxr-xr-x | draksnapshot-applet | 2 |
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", |