Ticket #3130: deluge-systray.patch

File deluge-systray.patch, 691 bytes (added by hxssss, 6 years ago)

patch for using theme icon in systray

  • systemtray.py

    diff --git a/usr/lib/python2.7/site-packages/deluge/ui/gtkui/systemtray.py b/home/hxss/downloads/systemtray.py
    index fc6426d..21b0691 100644
    old new class SystemTray(component.Component): 
    135135                    common.get_logo(32)) 
    136136            else: 
    137137                try: 
    138                     self.tray = gtk.status_icon_new_from_icon_name("deluge") 
     138                    self.tray = gtk.status_icon_new_from_icon_name("deluge-panel") 
    139139                except: 
    140140                    log.warning("Update PyGTK to 2.10 or greater for SystemTray..") 
    141141                    return