diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-01 17:28:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-01 17:28:25 +0000 |
commit | df25d2b6af6255ce95648251b1faf1d1c5e4174b (patch) | |
tree | c1d353f1571cf13398a3dc85ef31dd2d740dafb0 | |
parent | bdc4cc39d23401c2a6ed73b6a8b57cce7f01883a (diff) | |
download | mgaonline-df25d2b6af6255ce95648251b1faf1d1c5e4174b.tar mgaonline-df25d2b6af6255ce95648251b1faf1d1c5e4174b.tar.gz mgaonline-df25d2b6af6255ce95648251b1faf1d1c5e4174b.tar.bz2 mgaonline-df25d2b6af6255ce95648251b1faf1d1c5e4174b.tar.xz mgaonline-df25d2b6af6255ce95648251b1faf1d1c5e4174b.zip |
(setState) do not crash when icon is removed from the panel socket (#35908)
-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]) { + if ($state{$state_type}{tt}[0] && $icon->isa('Gtk2::TrayIcon')) { my $bubble = Gtk2::NotificationBubble->new; $bubble->attach($icon); $bubble->set(N("Warning"), undef, formatAlaTeX(translate($state{$state_type}{tt}[0]))); |