diff options
author | monsta <[email protected]> | 2018-03-19 17:33:20 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2018-03-19 17:33:20 +0300 |
commit | 6bbc333c9fc5d7724f3bc2a2a618096f7bb0aab4 (patch) | |
tree | 686cb8e26ec90c915d725a0739f6a0aab21045a7 | |
parent | 61ee8119f902fe729afc114a3f95b78061b30aa6 (diff) | |
download | mate-panel-6bbc333c9fc5d7724f3bc2a2a618096f7bb0aab4.tar.bz2 mate-panel-6bbc333c9fc5d7724f3bc2a2a618096f7bb0aab4.tar.xz |
run dialog: force icon size when loading app icon
avoids jumping of nearby UI controls when icon is bigger than requested
-rw-r--r-- | mate-panel/panel-run-dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-run-dialog.c b/mate-panel/panel-run-dialog.c index adcb28a0..4d5cce0a 100644 --- a/mate-panel/panel-run-dialog.c +++ b/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); } |