Use stock icon instead of hardcoded icon

Bug #174888 reported by Marcelo Fernandez
4
Affects Status Importance Assigned to Milestone
pyRemove
Fix Released
High
Javier Derderyan

Bug Description

If the user doesn't have the Tango icon set, this will fail:

self.icon.set_from_file('/usr/share/icons/Tango/16x16/devices/drive-removable-media.png')

(Line 137).

So, is desirable to use the GTK stock icon system; this line gets it:

self.icon.set_from_stock(gtk.STOCK_HARDDISK)

Cheers!
Marcelo

Revision history for this message
Marcelo Fernandez (fernandezm) wrote :

Besides, using the stock icon set, the current icon set (selected by the user) will be used to display the tray icon. :-)

Cheers

Changed in pyremove:
assignee: nobody → javierder
importance: Undecided → High
Changed in pyremove:
status: New → Fix Committed
Changed in pyremove:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.