Added system tray icon... it'll do for now, even though it doesn't do anything yet

This commit is contained in:
Anna 2010-05-24 15:23:39 -04:00
parent 6fa0c8d7f7
commit e4a1823788
4 changed files with 29 additions and 1 deletions

View file

@ -48,7 +48,7 @@ class Hrafn():
# Init the glade stuff here, so we don't have a race condition with
# the lists-ready signal
self.init_user_interface('./default.glade')
self.init_user_interface('./ui/default.glade')
self.first_account_item = None
# And init the DB stuff here
@ -126,6 +126,10 @@ class Hrafn():
self.help_menu.append(menu_item)
menu_item.show()
# Add a system tray icon
self.tray_icon = gtk.status_icon_new_from_file('ui/icon.svg')
# Set the account label
self.update_account_label()