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