Commit a4c980bb authored by Simon Steinbeiss's avatar Simon Steinbeiss

action buttons: Fix separator width (Bug #15558)

parent 4c12892c
......@@ -456,11 +456,14 @@ actions_plugin_size_changed (XfcePanelPlugin *panel_plugin,
for (li = children; li != NULL; li = li->next)
{
gtk_widget_set_size_request (GTK_WIDGET (li->data),
max_size, max_size);
icon = GTK_IMAGE (gtk_bin_get_child (GTK_BIN (li->data)));
icon_size = xfce_panel_plugin_get_icon_size (panel_plugin);
gtk_image_set_pixel_size (GTK_IMAGE (icon), icon_size);
if (!GTK_IS_SEPARATOR (li->data))
{
gtk_widget_set_size_request (GTK_WIDGET (li->data),
max_size, max_size);
icon = GTK_IMAGE (gtk_bin_get_child (GTK_BIN (li->data)));
icon_size = xfce_panel_plugin_get_icon_size (panel_plugin);
gtk_image_set_pixel_size (GTK_IMAGE (icon), icon_size);
}
}
}
}
......
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