Skip to content

Commit

Permalink
[xs][ui] Following FreeDesktop's Icon Naming Specification loading ic…
Browse files Browse the repository at this point in the history
…ons from themes
  • Loading branch information
fontanon committed Aug 25, 2011
1 parent d13de1b commit 985c4c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/udev-discover.ui
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion udev-discover.in
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion udevdiscover/device/__init__.py
Expand Up @@ -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',
Expand Down

0 comments on commit 985c4c8

Please sign in to comment.