use theme for tray icon, not hard-coded

This commit is contained in:
Marcos Pinto 2007-09-09 20:46:59 +00:00
parent 93f928baac
commit 47e47ac9cc
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ class DelugeGTK:
self.manager.resume_all()
def build_tray_icon(self):
self.tray_icon = gtk.status_icon_new_from_pixbuf(common.get_logo(32))
self.tray_icon = gtk.status_icon_new_from_icon_name('deluge')
self.tray_glade = gtk.glade.XML(common.get_glade_file\
("tray_menu.glade"), domain='deluge')