embeddid instead of visible for status icon master
authormorty <morty@cs.fau.de>
Wed, 17 Nov 2010 11:05:02 +0000 (12:05 +0100)
committermorty <morty@cs.fau.de>
Wed, 17 Nov 2010 11:05:02 +0000 (12:05 +0100)
snom.pl

diff --git a/snom.pl b/snom.pl
index c6d0300..3acac1b 100755 (executable)
--- a/snom.pl
+++ b/snom.pl
@@ -246,7 +246,7 @@ sub minimize_to_try{
 }
 
 my $status_icon = Gtk2::StatusIcon->new_from_file($Bin.'/snom.ico');
-if($status_icon->get_visible){
+if($status_icon->is_embedded){
 
        my $menu = Gtk2::Menu->new();
        
Impressum, Datenschutz