[Xfce4-commits] <xfce4-panel:nick/gtk3> WindowMenu: Use a default size of the arrow button.

Andrzej noreply at xfce.org
Mon Apr 22 20:42:05 CEST 2013


Updating branch refs/heads/nick/gtk3
         to b4ee350e66cab3e24929ec1088f559326783f516 (commit)
       from f8ab14fbe38617c88c1828c2a87583d32672db95 (commit)

commit b4ee350e66cab3e24929ec1088f559326783f516
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Mon Apr 22 19:40:58 2013 +0100

    WindowMenu: Use a default size of the arrow button.

 plugins/windowmenu/windowmenu.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/plugins/windowmenu/windowmenu.c b/plugins/windowmenu/windowmenu.c
index 898e3d3..53855b8 100644
--- a/plugins/windowmenu/windowmenu.c
+++ b/plugins/windowmenu/windowmenu.c
@@ -527,13 +527,7 @@ window_menu_plugin_size_changed (XfcePanelPlugin *panel_plugin,
   else
     {
       /* set the size of the arrow button */
-      if (xfce_panel_plugin_get_orientation (panel_plugin) ==
-              GTK_ORIENTATION_HORIZONTAL)
-        gtk_widget_set_size_request (GTK_WIDGET (plugin),
-                                     ARROW_BUTTON_SIZE, -1);
-      else
-        gtk_widget_set_size_request (GTK_WIDGET (plugin),
-                                     -1, ARROW_BUTTON_SIZE);
+      gtk_widget_set_size_request (GTK_WIDGET (plugin), -1, -1);
     }
 
   return TRUE;


More information about the Xfce4-commits mailing list