Adding start message
This commit is contained in:
		
							parent
							
								
									5cb2e7f027
								
							
						
					
					
						commit
						bc1c97ccf6
					
				@ -112,6 +112,9 @@ class Pinger:
 | 
			
		||||
    # Handle ctrl-c
 | 
			
		||||
    signal.signal(signal.SIGINT, self.destroy)
 | 
			
		||||
 | 
			
		||||
    # Print welcome message
 | 
			
		||||
    print "Starting Pinger..."
 | 
			
		||||
 | 
			
		||||
    # Create systray icon
 | 
			
		||||
    self.ind = appindicator.Indicator.new (
 | 
			
		||||
               "pinger",
 | 
			
		||||
@ -132,6 +135,9 @@ class Pinger:
 | 
			
		||||
    self.timeout = ping_frequency
 | 
			
		||||
    self.ping()
 | 
			
		||||
 | 
			
		||||
    # Print started message
 | 
			
		||||
    print "Started."
 | 
			
		||||
 | 
			
		||||
    # Begin runtime loop
 | 
			
		||||
    Gtk.main()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user