[gtk+/gtk-2-24] Make GtkRecentManager use standard icon names for themed icons



commit e158b9b13a9f1134f6984f131282976898cf8a46
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 13 10:18:03 2010 -0400

    Make GtkRecentManager use standard icon names for themed icons

 gtk/gtkrecentmanager.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c
index 7bcf839..54089b9 100644
--- a/gtk/gtkrecentmanager.c
+++ b/gtk/gtkrecentmanager.c
@@ -2104,9 +2104,9 @@ gtk_recent_info_get_icon (GtkRecentInfo *info,
     {
       if (info->mime_type &&
           strcmp (info->mime_type, "x-directory/normal") == 0)
-        retval = get_icon_fallback (GTK_STOCK_DIRECTORY, size);
+        retval = get_icon_fallback ("folder", size);
       else
-        retval = get_icon_fallback (GTK_STOCK_FILE, size);
+        retval = get_icon_fallback ("document-x-generic", size);
     }
   
   return retval;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]