[Xfce4-commits] <xfce4-panel:xfce-4.8> Initialize viewport if screen is connected (bug #7255).

Nick Schermer noreply at xfce.org
Sat Feb 12 20:38:05 CET 2011


Updating branch refs/heads/xfce-4.8
         to b625c6b66b82d1830f7d4c12a81f7087f3266ae6 (commit)
       from 8a26911ce913321e9d72afc8e2d17c9fc58e836f (commit)

commit b625c6b66b82d1830f7d4c12a81f7087f3266ae6
Author: Pim Vullers <pim at vullersmail.nl>
Date:   Tue Feb 8 17:53:41 2011 +0100

    Initialize viewport if screen is connected (bug #7255).
    
    Because the viewport was not properly initialized, the
    'Show windows from all monitors' setting was not working
    when the panel started.

 plugins/tasklist/tasklist-widget.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index 19d414a..abeac32 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -1376,6 +1376,9 @@ xfce_tasklist_connect_screen (XfceTasklist *tasklist)
       G_CALLBACK (xfce_tasklist_window_removed), tasklist);
   g_signal_connect (G_OBJECT (tasklist->screen), "viewports-changed",
       G_CALLBACK (xfce_tasklist_viewports_changed), tasklist);
+
+  /* update the viewport if not all monitors are shown */
+  xfce_tasklist_gdk_screen_changed (tasklist->gdk_screen, tasklist);
 }
 
 



More information about the Xfce4-commits mailing list