r7145 - bigboard/trunk/bigboard/stocks/search
- From: commits mugshot org
- To: online-desktop-list gnome org
- Subject: r7145 - bigboard/trunk/bigboard/stocks/search
- Date: Mon, 7 Jan 2008 16:25:39 -0600 (CST)
Author: walters
Date: 2008-01-07 16:25:39 -0600 (Mon, 07 Jan 2008)
New Revision: 7145
Modified:
bigboard/trunk/bigboard/stocks/search/SearchStock.py
Log:
Use 32x32 pixels (b.m.o #1344).
Modified: bigboard/trunk/bigboard/stocks/search/SearchStock.py
===================================================================
--- bigboard/trunk/bigboard/stocks/search/SearchStock.py 2008-01-07 22:18:10 UTC (rev 7144)
+++ bigboard/trunk/bigboard/stocks/search/SearchStock.py 2008-01-07 22:25:39 UTC (rev 7145)
@@ -185,8 +185,7 @@
if isinstance(pixbuf, gtk.gdk.Pixbuf):
cell.set_property('pixbuf', pixbuf)
elif isinstance(pixbuf, basestring):
- cell.set_property('icon-name', pixbuf)
- cell.set_property('stock-size', gtk.ICON_SIZE_SMALL_TOOLBAR)
+ pixbuf = gtk.icon_theme_get_default().load_icon(pixbuf, 32, gtk.ICON_LOOKUP_USE_BUILTIN)
else:
cell.set_property('pixbuf', None)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]