Updating branch refs/heads/master to 7ddfa1ccfa7bd4e869e838c752bf5a8733cf8a61 (commit) from 7e9be0f33a4554723889f91e77e4196953c542c7 (commit)
commit 7ddfa1ccfa7bd4e869e838c752bf5a8733cf8a61 Author: Landry Breuil <lan...@xfce.org> Date: Sun May 6 21:07:25 2012 +0200 resize all widgets, not only the button panel-plugin/fsguard.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/panel-plugin/fsguard.c b/panel-plugin/fsguard.c index 8e32f23..883838c 100644 --- a/panel-plugin/fsguard.c +++ b/panel-plugin/fsguard.c @@ -481,12 +481,10 @@ fsguard_free (XfcePanelPlugin *plugin, FsGuard *fsguard) static gboolean fsguard_set_size (XfcePanelPlugin *plugin, int size, FsGuard *fsguard) { - gint btn_size; - DBG ("Set size to `%d'", size); - btn_size = size / xfce_panel_plugin_get_nrows (plugin); - gtk_widget_set_size_request (fsguard->btn_panel, btn_size, btn_size); + size /= xfce_panel_plugin_get_nrows (plugin); + gtk_widget_set_size_request (fsguard->btn_panel, size, size); GtkOrientation orientation = xfce_panel_plugin_get_orientation (plugin); if (orientation == GTK_ORIENTATION_HORIZONTAL) { _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits