[Xfce4-commits] r29930 - in xfce4-panel/trunk: . plugins/tasklist
Nick Schermer
nick at xfce.org
Thu May 7 20:34:16 CEST 2009
Author: nick
Date: 2009-05-07 18:34:16 +0000 (Thu, 07 May 2009)
New Revision: 29930
Modified:
xfce4-panel/trunk/NEWS
xfce4-panel/trunk/plugins/tasklist/tasklist.c
Log:
Properly set orientation of tasklist handler (bug #5222).
Modified: xfce4-panel/trunk/NEWS
===================================================================
--- xfce4-panel/trunk/NEWS 2009-05-07 16:42:51 UTC (rev 29929)
+++ xfce4-panel/trunk/NEWS 2009-05-07 18:34:16 UTC (rev 29930)
@@ -1,3 +1,7 @@
+4.6.2
+=====
+- Properly set orientation of tasklist handler (bug #5222).
+
4.6.1
=====
- Migrate launcher category icons from 4.4 panels (bug #5067).
Modified: xfce4-panel/trunk/plugins/tasklist/tasklist.c
===================================================================
--- xfce4-panel/trunk/plugins/tasklist/tasklist.c 2009-05-07 16:42:51 UTC (rev 29929)
+++ xfce4-panel/trunk/plugins/tasklist/tasklist.c 2009-05-07 18:34:16 UTC (rev 29930)
@@ -105,7 +105,10 @@
gtk_paint_handle (widget->style, widget->window,
GTK_WIDGET_STATE (widget), GTK_SHADOW_NONE,
&(event->area), widget, "handlebox",
- x, y, w, h, orientation);
+ x, y, w, h,
+ orientation == GTK_ORIENTATION_HORIZONTAL ?
+ GTK_ORIENTATION_VERTICAL :
+ GTK_ORIENTATION_HORIZONTAL);
return TRUE;
}
More information about the Xfce4-commits
mailing list