mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-30 19:17:34 +00:00
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:
parent
9862894317
commit
4ddf2c6512
@ -467,7 +467,7 @@ get_default_icons (GtkIconFactory *factory)
|
||||
register_bidi_stock_icon (factory, GTK_STOCK_UNDELETE, GTK_STOCK_UNDELETE);
|
||||
register_bidi_stock_icon (factory, GTK_STOCK_UNDO, "edit-undo");
|
||||
register_stock_icon (factory, GTK_STOCK_GO_UP, "go-up");
|
||||
register_stock_icon (factory, GTK_STOCK_FILE, "document-x-generic");
|
||||
register_stock_icon (factory, GTK_STOCK_FILE, "text-x-generic");
|
||||
register_stock_icon (factory, GTK_STOCK_DIRECTORY, "folder");
|
||||
register_stock_icon (factory, GTK_STOCK_ABOUT, "help-about");
|
||||
register_stock_icon (factory, GTK_STOCK_CONNECT, GTK_STOCK_CONNECT);
|
||||
|
@ -2106,7 +2106,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;
|
||||
|
Loading…
Reference in New Issue
Block a user