summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystem.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2008-06-18 16:22:42 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-06-18 16:22:42 +0000
commitd217ec4f90f2e61601a445e14e0d3ed8219cd9c8 (patch)
tree1cda159aa25f9c66fc1148d69ec588f6fca3fa5e /gtk/gtkfilesystem.c
parentad7fccfd96c45bfca48d7ba1c00b6354c0ec99cf (diff)
downloadgtk+-d217ec4f90f2e61601a445e14e0d3ed8219cd9c8.tar.gz
Use standard icon names.
2008-06-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon): * gtk/gtkfilechooserbutton.c (change_icon_theme): (model_add_bookmarks): (model_update_current_folder): * gtk/gtkfilechooserdefault.c (shortcuts_insert_file): (shortcuts_reload_icons): Use standard icon names. svn path=/trunk/; revision=20454
Diffstat (limited to 'gtk/gtkfilesystem.c')
-rw-r--r--gtk/gtkfilesystem.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c
index 8ba538e8d9..8ec0e67e28 100644
--- a/gtk/gtkfilesystem.c
+++ b/gtk/gtkfilesystem.c
@@ -1664,17 +1664,11 @@ _gtk_file_system_volume_render_icon (GtkFileSystemVolume *volume,
{
GIcon *icon = NULL;
GdkPixbuf *pixbuf;
- const char *harddisk_icons[] = {
- "drive-harddisk",
- "gnome-dev-harddisk",
- "gtk-harddisk",
- NULL
- };
DEBUG ("volume_get_icon_name");
if (IS_ROOT_VOLUME (volume))
- icon = g_themed_icon_new_from_names ((char **) harddisk_icons, -1);
+ icon = g_themed_icon_new ("drive-harddisk");
else if (G_IS_DRIVE (volume))
icon = g_drive_get_icon (G_DRIVE (volume));
else if (G_IS_VOLUME (volume))