Browse Source

Properly set orientation of tasklist handler (bug #5222).

(Old svn revision: 29930)
upstream/xfce4-panel-4.10.1
Nick Schermer 13 years ago
parent
commit
171a05f9f0
  1. 4
      NEWS
  2. 5
      plugins/tasklist/tasklist.c

4
NEWS

@ -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).

5
plugins/tasklist/tasklist.c

@ -105,7 +105,10 @@ tasklist_handle_exposed (GtkWidget *widget,
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;
}

Loading…
Cancel
Save