mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Make GtkRecentManager use standard icon names for themed icons
This commit is contained in:
parent
f8b8c95f45
commit
dbdc9c99e5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user