summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-01 17:31:51 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-01 17:31:51 +0000
commitc5af8a4ccf11c7ee1ff4654730bdaee4da636caa (patch)
treef9d897944a24b2c0354a45ce486f2db1a39f362e
parentdf25d2b6af6255ce95648251b1faf1d1c5e4174b (diff)
downloadmgaonline-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-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 50f25acd..d44eedb5 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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])));