Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python2
- WAIT_TIME = 10
- ICON_PATH = "/usr/share/icons/gnome/32x32/apps/gnome-help.png"
- import gtk
- import time
- tray_icon = gtk.status_icon_new_from_file(ICON_PATH)
- print "Please, wait..."
- for i in range(WAIT_TIME, 0, -1):
- print i
- time.sleep(1)
- print "We are ready for show icon! Now!"
- gtk.main()
Advertisement
Add Comment
Please, Sign In to add comment