Skip to content

Commit 6bbc333

Browse files
committed
run dialog: force icon size when loading app icon
avoids jumping of nearby UI controls when icon is bigger than requested
1 parent 61ee811 commit 6bbc333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mate-panel/panel-run-dialog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ panel_run_dialog_set_icon (PanelRunDialog *dialog,
291291
gtk_icon_size_lookup (GTK_ICON_SIZE_DIALOG, &size, NULL);
292292

293293
GtkIconTheme *icon_theme = gtk_icon_theme_get_default ();
294-
GtkIconInfo *icon_info = gtk_icon_theme_lookup_by_gicon (icon_theme, icon, size, 0);
294+
GtkIconInfo *icon_info = gtk_icon_theme_lookup_by_gicon (icon_theme, icon, size, GTK_ICON_LOOKUP_FORCE_SIZE);
295295
pixbuf = gtk_icon_info_load_icon (icon_info, NULL);
296296
g_object_unref (icon_info);
297297
}

0 commit comments

Comments
 (0)