Updating branch refs/heads/master
to 4e55a3d7292bd4f15b1555530f58e559cb99e965 (commit)
from 3effb936728ddfe8b9185998d707907ee36d0115 (commit)
commit 4e55a3d7292bd4f15b1555530f58e559cb99e965
Author: Mark Trompell <[email protected]>
Date: Tue May 24 16:23:36 2011 +0200
support vertical panel
panel-plugin/indicator.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/indicator.c b/panel-plugin/indicator.c
index f9d68ef..ef3c73c 100644
--- a/panel-plugin/indicator.c
+++ b/panel-plugin/indicator.c
@@ -151,8 +151,8 @@ indicator_orientation_changed (XfcePanelPlugin *plugin,
GtkOrientation orientation,
IndicatorPlugin *indicator)
{
- /* change the orienation of the box */
- //xfce_hvbox_set_orientation (XFCE_HVBOX (indicator->hvbox), orientation);
+ gtk_menu_bar_set_pack_direction (GTK_MENU_BAR(indicator->menu),
+ orientation == GTK_ORIENTATION_HORIZONTAL ? GTK_PACK_DIRECTION_LTR :
GTK_PACK_DIRECTION_TTB );
}
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits