[sulfur] embed "Update All" icon file

This commit is contained in:
Fabio Erculiani
2010-02-13 00:19:04 +01:00
parent 41392b22e4
commit 3043bcb930
3 changed files with 12 additions and 3 deletions

BIN
sulfur/gfx/update-all.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 B

View File

@@ -760,11 +760,20 @@ class SulfurApplication(Controller, SulfurApplicationEventsMixin):
iconpath = os.path.join(const.PIXMAPS_PATH, "sabayon.png")
if os.path.isfile(iconpath) and os.access(iconpath, os.R_OK):
try:
p = gtk.gdk.pixbuf_new_from_file( iconpath )
p = gtk.gdk.pixbuf_new_from_file(iconpath)
self.ui.progressImage.set_from_pixbuf(p)
except gobject.GError:
pass
# setup Update All icon
iconpath = os.path.join(const.PIXMAPS_PATH, "update-all.png")
if os.path.isfile(iconpath) and os.access(iconpath, os.R_OK):
try:
p = gtk.gdk.pixbuf_new_from_file(iconpath)
self.ui.updateAllImage.set_from_pixbuf(p)
except gobject.GError:
pass
def setup_user_generated_content(self):
if self._ugc_status:

View File

@@ -721,7 +721,7 @@
<widget class="GtkScrolledWindow" id="swPkg">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hadjustment">0 0 1372 137.20000000000002 1234.8 1372</property>
<property name="hadjustment">0 0 1400 140 1260 1400</property>
<property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property>
<property name="shadow_type">in</property>
@@ -779,7 +779,7 @@
<property name="visible">True</property>
<property name="spacing">2</property>
<child>
<widget class="GtkImage" id="image84">
<widget class="GtkImage" id="updateAllImage">
<property name="visible">True</property>
<property name="icon_name">emblem-downloads</property>
</widget>