embeddid instead of visible for status icon
[snom-frontend] / 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