diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-01 17:31:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-01 17:31:51 +0000 |
commit | c5af8a4ccf11c7ee1ff4654730bdaee4da636caa (patch) | |
tree | f9d897944a24b2c0354a45ce486f2db1a39f362e | |
parent | df25d2b6af6255ce95648251b1faf1d1c5e4174b (diff) | |
download | mgaonline-c5af8a4ccf11c7ee1ff4654730bdaee4da636caa.tar mgaonline-c5af8a4ccf11c7ee1ff4654730bdaee4da636caa.tar.gz mgaonline-c5af8a4ccf11c7ee1ff4654730bdaee4da636caa.tar.bz2 mgaonline-c5af8a4ccf11c7ee1ff4654730bdaee4da636caa.tar.xz mgaonline-c5af8a4ccf11c7ee1ff4654730bdaee4da636caa.zip |
(setState) enable to set tooltip w/o firing bubbles (for next commit, #36526)
-rwxr-xr-x | mdkapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -420,7 +420,7 @@ sub setState { $img->set_from_pixbuf($tmp); gtkset_tip(new Gtk2::Tooltips, $eventbox, formatAlaTeX(translate($state{$state_type}{tt}[0]))); - if ($state{$state_type}{tt}[0] && $icon->isa('Gtk2::TrayIcon')) { + if ($state{$state_type}{tt}[0] && $icon->isa('Gtk2::TrayIcon') && !$state{$state_type}{do_not_use_bubble}) { my $bubble = Gtk2::NotificationBubble->new; $bubble->attach($icon); $bubble->set(N("Warning"), undef, formatAlaTeX(translate($state{$state_type}{tt}[0]))); |