Browse Source

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

(Old svn revision: 29930)
tags/xfce4-panel-4.10.0
Nick Schermer 12 years ago
parent
commit
171a05f9f0
2 changed files with 8 additions and 1 deletions
  1. +4
    -0
      NEWS
  2. +4
    -1
      plugins/tasklist/tasklist.c

+ 4
- 0
NEWS View File

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


+ 4
- 1
plugins/tasklist/tasklist.c View File

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