Commit aaec355a authored by Simon Steinbeiss's avatar Simon Steinbeiss

logout-dialog: Bump icon size to 48px

All icons we ship are actually 48px, so we would have to either scale
down the icons or change the icon size to make this more meaningful.
As the icons are png and screens are getting bigger these days we switch
to 48px.
parent 27390b70
......@@ -535,13 +535,13 @@ xfsm_logout_dialog_button (const gchar *title,
image = gtk_image_new ();
if (gtk_icon_theme_has_icon (icon_theme, icon_name))
gtk_image_set_from_icon_name (GTK_IMAGE (image), icon_name, GTK_ICON_SIZE_DND);
gtk_image_set_from_icon_name (GTK_IMAGE (image), icon_name, GTK_ICON_SIZE_DIALOG);
else if (gtk_icon_theme_has_icon (icon_theme, icon_name_fallback))
gtk_image_set_from_icon_name (GTK_IMAGE (image), icon_name_fallback, GTK_ICON_SIZE_DND);
gtk_image_set_from_icon_name (GTK_IMAGE (image), icon_name_fallback, GTK_ICON_SIZE_DIALOG);
else if (gtk_icon_theme_has_icon (icon_theme, icon_name_fallback2))
gtk_image_set_from_icon_name (GTK_IMAGE (image), icon_name_fallback2, GTK_ICON_SIZE_DND);
gtk_image_set_from_icon_name (GTK_IMAGE (image), icon_name_fallback2, GTK_ICON_SIZE_DIALOG);
gtk_image_set_pixel_size (GTK_IMAGE (image), 32);
gtk_image_set_pixel_size (GTK_IMAGE (image), 48);
gtk_box_pack_start (GTK_BOX (vbox), image, FALSE, FALSE, 0);
gtk_widget_show (image);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment