Permalink
Browse files

[xs][ui] Following FreeDesktop's Icon Naming Specification loading ic…

…ons from themes
  • Loading branch information...
fontanon committed Aug 25, 2011
1 parent d13de1b commit 985c4c80b74afe02dca8593ebd67da9f5bd09975
Showing with 3 additions and 3 deletions.
  1. +1 −1 data/udev-discover.ui
  2. +1 −1 udev-discover.in
  3. +1 −1 udevdiscover/device/__init__.py
View
@@ -1282,7 +1282,7 @@ Javier Hernandez &lt;jhernandez@emergya.es&gt;</property>
<object class="GtkImage" id="device_image">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="stock">gtk-dialog-question</property>
<property name="stock">dialog-question</property>
<property name="icon-size">6</property>
</object>
<packing>
View
@@ -49,7 +49,7 @@ ICON_SUBSYS_COL, NAME_SUBSYS_COL = range(2)
# Load icons
theme = Gtk.IconTheme.get_default()
device_icon = theme.load_icon('gtk-dialog-question', 24, 0)
device_icon = theme.load_icon('dialog-question', 24, 0)
class SubsystemChoserDialog(GConfStore):
defaults = {
@@ -131,7 +131,7 @@ def get_device_object(device):
class Device(object):
'''A simple object representing a device.'''
DEFAULT_ICON = 'gtk-dialog-question'
DEFAULT_ICON = 'dialog-question'
UNKNOWN_DEV = 'Unknown Device'
DEVICE_TYPE_STR = {gudev.DEVICE_TYPE_BLOCK: 'block',
gudev.DEVICE_TYPE_CHAR: 'char',

0 comments on commit 985c4c8

Please sign in to comment.