Skip to content
Permalink
Browse files

run dialog: force icon size when loading app icon

avoids jumping of nearby UI controls when icon is bigger than requested
  • Loading branch information...
monsta authored and raveit65 committed Mar 19, 2018
1 parent 50aa81d commit 3ce6c3342f2f8c8ad7cee2b2802a2cc873dbf23b
Showing with 1 addition and 1 deletion.
  1. +1 −1 mate-panel/panel-run-dialog.c
@@ -291,7 +291,7 @@ panel_run_dialog_set_icon (PanelRunDialog *dialog,
gtk_icon_size_lookup (GTK_ICON_SIZE_DIALOG, &size, NULL);

GtkIconTheme *icon_theme = gtk_icon_theme_get_default ();
GtkIconInfo *icon_info = gtk_icon_theme_lookup_by_gicon (icon_theme, icon, size, 0);
GtkIconInfo *icon_info = gtk_icon_theme_lookup_by_gicon (icon_theme, icon, size, GTK_ICON_LOOKUP_FORCE_SIZE);
pixbuf = gtk_icon_info_load_icon (icon_info, NULL);
g_object_unref (icon_info);
}

0 comments on commit 3ce6c33

Please sign in to comment.
You can’t perform that action at this time.