summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-03-19 17:33:20 +0300
committermonsta <[email protected]>2018-04-01 13:20:17 +0300
commit83f033392140cfaa272a9f95c3bcfa95575c3d98 (patch)
tree6962e18132a6deb458d6e2fa7ab687b3eb08f2f0
parentc84a873c0b78c608235bce2cdb27bf413f10f58d (diff)
downloadmate-panel-83f033392140cfaa272a9f95c3bcfa95575c3d98.tar.bz2
mate-panel-83f033392140cfaa272a9f95c3bcfa95575c3d98.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-run-dialog.c b/mate-panel/panel-run-dialog.c
index 5723e0a6..8c95ef19 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);
}