diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-05 12:53:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-05 12:53:13 +0000 |
commit | 5b52366ac10d7e1e62cb95cb3d25447083be1481 (patch) | |
tree | d3da3e5ccc6e2f46d68aeeea3c0ffaab59cc9549 /mdkapplet | |
parent | 6b9f0f40936beb5079a74b116f0243b924ddbb65 (diff) | |
download | mgaonline-5b52366ac10d7e1e62cb95cb3d25447083be1481.tar mgaonline-5b52366ac10d7e1e62cb95cb3d25447083be1481.tar.gz mgaonline-5b52366ac10d7e1e62cb95cb3d25447083be1481.tar.bz2 mgaonline-5b52366ac10d7e1e62cb95cb3d25447083be1481.tar.xz mgaonline-5b52366ac10d7e1e62cb95cb3d25447083be1481.zip |
(setState) hide icon when no updates are availlable (#29768)
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -450,6 +450,7 @@ sub setState { my $tmp = gtkcreate_pixbuf($state{$state_type}{colour}[0]); $icon->set_from_pixbuf($tmp); $icon->set_tooltip(formatAlaTeX(translate($state{$state_type}{tt}[0]))); + $icon->set_visible($state_type ne 'okay'); 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("Warning"), formatAlaTeX(translate($state{$state_type}{tt}[0])), |