[Xfce4-commits] <xfce4-panel:master> pager: recalculate size when panel size changes

Andrzej noreply at xfce.org
Fri Dec 20 11:04:01 CET 2013


Updating branch refs/heads/master
         to 964741f5b67e5f4fa97bab338d980c5eea0fa09b (commit)
       from 08643272caef08634773b3074de7b2cadffb0926 (commit)

commit 964741f5b67e5f4fa97bab338d980c5eea0fa09b
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Fri Dec 20 10:02:07 2013 +0000

    pager: recalculate size when panel size changes

 plugins/pager/pager.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/pager/pager.c b/plugins/pager/pager.c
index 149e19e..3ff65a2 100644
--- a/plugins/pager/pager.c
+++ b/plugins/pager/pager.c
@@ -401,6 +401,8 @@ static gboolean
 pager_plugin_size_changed (XfcePanelPlugin *panel_plugin,
                            gint             size)
 {
+  gtk_widget_queue_resize (GTK_WIDGET (panel_plugin));
+
   /* do not set fixed size */
   return TRUE;
 }


More information about the Xfce4-commits mailing list