[Pkg-xfce-devel] Bug#481086: xfce4-panel: plugins ignore multiscreen environment

David Mohr bugs at da.mcbf.net
Tue May 13 15:41:30 UTC 2008


Package: xfce4-panel
Version: 4.4.2-4.2
Severity: normal
Tags: patch


Some plugins ignore the screen they are on in a multiscreen (i.e. :0.0
and :0.1) display, and always launch on the primary screen.

Attached is a patch that fixes that problem. It is already in svn, see
r26937 in the 4_4 branch.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xfce4-panel depends on:
ii  exo-utils              0.3.4-6           Utility files for libexo
ii  libatk1.0-0            1.22.0-1          The ATK accessibility toolkit
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libcairo2              1.6.4-1+b1        The Cairo 2D vector graphics libra
ii  libexo-0.3-0           0.3.4-6           Library with extensions for Xfce
ii  libfontconfig1         2.5.0-2           generic font configuration library
ii  libfreetype6           2.3.5-1+b1        FreeType 2 font engine, shared lib
ii  libglib2.0-0           2.16.3-2          The GLib library of C routines
ii  libgtk2.0-0            2.12.9-3          The GTK+ graphical user interface 
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libpango1.0-0          1.20.2-2          Layout and rendering of internatio
ii  libpixman-1-0          0.10.0-2          pixel-manipulation library for X a
ii  libpng12-0             1.2.27-1          PNG library - runtime
ii  libsm6                 2:1.0.3-1+b1      X11 Session Management library
ii  libstartup-notificatio 0.9-1             library for program launch feedbac
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxfce4mcs-client3    4.4.2-3           Client library for Xfce4 configure
ii  libxfce4mcs-manager3   4.4.2-3           Manager library for Xfce4 configur
ii  libxfce4util4          4.4.2-2           Utility functions library for Xfce
ii  libxfcegui4-4          4.4.2-4           Basic GUI C functions for Xfce4
ii  libxrender1            1:0.9.4-1         X Rendering Extension client libra
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

xfce4-panel recommends no packages.

-- no debconf information
-------------- next part --------------
Index: plugins/launcher/launcher-dialog.c
===================================================================
--- plugins/launcher/launcher-dialog.c	(revision 26936)
+++ plugins/launcher/launcher-dialog.c	(revision 26937)
@@ -1334,6 +1334,9 @@
                 GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
                 NULL);
 
+    gtk_window_set_screen (GTK_WINDOW (ld->dlg),
+                           gtk_widget_get_screen (GTK_WIDGET (plugin)));
+
     g_object_set_data (G_OBJECT (plugin), "dialog", ld->dlg);
     g_object_set_data (G_OBJECT (plugin), "launcher-dialog", ld);
 
Index: plugins/pager/pager.c
===================================================================
--- plugins/pager/pager.c	(revision 26936)
+++ plugins/pager/pager.c	(revision 26937)
@@ -340,6 +340,9 @@
                 GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
                 NULL);
 
+    gtk_window_set_screen (GTK_WINDOW (dlg),
+                           gtk_widget_get_screen (GTK_WIDGET (plugin)));
+
     g_object_set_data (G_OBJECT (plugin), "dialog", dlg);
 
     gtk_window_set_position (GTK_WINDOW (dlg), GTK_WIN_POS_CENTER);


More information about the Pkg-xfce-devel mailing list