[gtk+] Make GtkRecentManager use standard icon names for themed icons



commit dbdc9c99e5f6d9e4d31567bfa78c864aa9354ab4
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 5f5c012..c14f9e5 100644
--- a/gtk/gtkrecentmanager.c
+++ b/gtk/gtkrecentmanager.c
@@ -1912,9 +1912,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]