GNOME Bugzilla – Bug 764297
search: force GTK_ICON_SIZE_DIALOG icon size
Last modified: 2016-04-21 07:11:28 UTC
Since some applications don't ship icons in all sizes
Created attachment 324910 [details] [review] search: force GTK_ICON_SIZE_DIALOG icon size Force a pizel size too, so that we can work around applications not shipping icons at all sizes. [endlessm/eos-shell#2756]
Review of attachment 324910 [details] [review]: > [endlessm/eos-shell#2756] Use a URL if this is publicly accessible, otherwise remove it. Looks good otherwise, for gnome-3-20 and master. ::: panels/search/cc-search-panel.c @@ +465,2 @@ w = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_DIALOG); + if (gtk_icon_size_lookup (GTK_ICON_SIZE_DIALOG, &width, &height)) I don't think this can fail if you don't pass garbage to it, so no need for the check.
Thanks, pushed with those fixes.