[gnome-panel] Fix window-list applet bug on vertical panel 03_tasklist_orientation.patch from debian. This require
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] Fix window-list applet bug on vertical panel 03_tasklist_orientation.patch from debian. This require
- Date: Mon, 27 Oct 2014 16:16:42 +0000 (UTC)
commit f30bb5bd9ad86fc68b64ea7f7ef110f360307271
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri May 23 11:38:40 2014 +0300
Fix window-list applet bug on vertical panel
03_tasklist_orientation.patch from debian. This requires libwnck
3.4.6 or newer.
applets/wncklet/window-list.c | 11 ++++++-----
configure.ac | 2 +-
2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index f2fbe0b..cd114c6 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -113,6 +113,8 @@ applet_change_orient (PanelApplet *applet,
tasklist->orientation = new_orient;
+ wnck_tasklist_set_orientation (tasklist->tasklist, new_orient);
+
tasklist_update (tasklist);
}
@@ -385,11 +387,10 @@ window_list_applet_fill (PanelApplet *applet)
tasklist->tasklist = wnck_tasklist_new ();
- wnck_tasklist_set_icon_loader (WNCK_TASKLIST (tasklist->tasklist),
- icon_loader_func,
- tasklist,
- NULL);
-
+ wnck_tasklist_set_orientation (tasklist->tasklist, tasklist->orientation);
+ wnck_tasklist_set_icon_loader (WNCK_TASKLIST (tasklist->tasklist),
+ icon_loader_func, tasklist, NULL);
+
g_signal_connect (G_OBJECT (tasklist->tasklist), "destroy",
G_CALLBACK (destroy_tasklist),
tasklist);
diff --git a/configure.ac b/configure.ac
index 20d2721..a8f8252 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,7 +68,7 @@ GDK_PIXBUF_REQUIRED=2.25.2
PANGO_REQUIRED=1.15.4
GLIB_REQUIRED=2.35.0
GTK_REQUIRED=3.3.8
-LIBWNCK_REQUIRED=2.91.0
+LIBWNCK_REQUIRED=3.4.6
GCONF_REQUIRED=2.6.1
LIBGNOME_MENU_REQUIRED=3.7.90
TELEPATHY_GLIB_REQUIRED=0.14.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]