Use existing mime type for GTK_FILE stock icon

document-x-generic is not actually a mimetype. Using text-x-generic
instead lets us work out-of-the-box in a11y themes.
This commit is contained in:
Matthias Clasen
2011-03-06 00:31:20 -05:00
parent e2ba86289f
commit 39d4207ab7
7 changed files with 4 additions and 6 deletions

View File

@ -1962,7 +1962,7 @@ gtk_recent_info_get_icon (GtkRecentInfo *info,
strcmp (info->mime_type, "x-directory/normal") == 0)
retval = get_icon_fallback ("folder", size);
else
retval = get_icon_fallback ("document-x-generic", size);
retval = get_icon_fallback ("text-x-generic", size);
}
return retval;