mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 03:36:16 +00:00
Change status icon sizes from 22 pixels to 16 pixels.
This commit is contained in:
parent
7372e8b26b
commit
1383e6c3ca
@ -106,7 +106,7 @@
|
||||
<widget class="GtkImageMenuItem" id="plugins">
|
||||
<property name="visible">True</property>
|
||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
||||
<property name="label" translatable="yes">Plugins</property>
|
||||
<property name="label" translatable="yes">Plu_gins</property>
|
||||
<property name="use_underline">True</property>
|
||||
<signal name="activate" handler="plugins"/>
|
||||
<child internal-child="image">
|
||||
|
BIN
pixmaps/downloading16.png
Normal file
BIN
pixmaps/downloading16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 676 B |
Binary file not shown.
Before Width: | Height: | Size: 977 B |
BIN
pixmaps/inactive16.png
Normal file
BIN
pixmaps/inactive16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 598 B |
Binary file not shown.
Before Width: | Height: | Size: 884 B |
BIN
pixmaps/seeding16.png
Normal file
BIN
pixmaps/seeding16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 593 B |
Binary file not shown.
Before Width: | Height: | Size: 827 B |
@ -114,6 +114,7 @@ def get_pixmap(fname):
|
||||
return os.path.join(PIXMAP_DIR, fname)
|
||||
|
||||
def open_url_in_browser(dialog, link):
|
||||
print "link: ", link
|
||||
try:
|
||||
webbrowser.open(link)
|
||||
except webbrowser.Error:
|
||||
|
@ -169,8 +169,8 @@ class DelugeGTK:
|
||||
"show_hide_window_toggled": self.show_hide_window_toggled
|
||||
})
|
||||
|
||||
self.tray_glade.get_widget("download-limit-image").set_from_file(common.get_pixmap('downloading22.png'))
|
||||
self.tray_glade.get_widget("upload-limit-image").set_from_file(common.get_pixmap('seeding22.png'))
|
||||
self.tray_glade.get_widget("download-limit-image").set_from_file(common.get_pixmap('downloading16.png'))
|
||||
self.tray_glade.get_widget("upload-limit-image").set_from_file(common.get_pixmap('seeding16.png'))
|
||||
self.build_tray_bwsetsubmenu()
|
||||
|
||||
self.tray_icon.connect("activate", self.tray_clicked)
|
||||
@ -802,11 +802,11 @@ class DelugeGTK:
|
||||
|
||||
# Set the appropriate status icon
|
||||
if state["is_paused"]:
|
||||
status_icon = gtk.gdk.pixbuf_new_from_file(common.get_pixmap("inactive22.png"))
|
||||
status_icon = gtk.gdk.pixbuf_new_from_file(common.get_pixmap("inactive16.png"))
|
||||
elif state["is_seed"]:
|
||||
status_icon = gtk.gdk.pixbuf_new_from_file(common.get_pixmap("seeding22.png"))
|
||||
status_icon = gtk.gdk.pixbuf_new_from_file(common.get_pixmap("seeding16.png"))
|
||||
else:
|
||||
status_icon = gtk.gdk.pixbuf_new_from_file(common.get_pixmap("downloading22.png"))
|
||||
status_icon = gtk.gdk.pixbuf_new_from_file(common.get_pixmap("downloading16.png"))
|
||||
|
||||
rlist = [int(unique_id), int(queue), status_icon, str(name), long(size), float(progress), str(message),
|
||||
int(seeds), int(seeds_t), int(peers), int(peers_t), int(dlrate), int(ulrate), int(eta), float(share)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user