[gnome-applets] Mixer applet dock not multihead aware



commit 4abbfeee8f5f908a96e9c6f7c01e1ffa5cf98c5c
Author: Matt Keenan <matt keenan sun com>
Date:   Thu May 21 15:16:05 2009 +0100

    Mixer applet dock not multihead aware
    
    Fixes bug : http://bugzilla.gnome.org/show_bug.cgi?id=583452.
    Mixer applet dock always displays on screen 0 of multihead
    display.
---
 mixer/dock.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/mixer/dock.c b/mixer/dock.c
index 3acc407..abc3f34 100644
--- a/mixer/dock.c
+++ b/mixer/dock.c
@@ -159,6 +159,8 @@ gnome_volume_applet_dock_new (GtkOrientation orientation,
 
   dock = g_object_new (GNOME_VOLUME_APPLET_TYPE_DOCK,
 		       NULL);
+  gtk_window_set_screen (GKT_WINDOW (dock),
+                         gtk_widget_get_screen(GTK_WIDGET (parent)));
   dock->orientation = orientation;
   dock->model = parent;
   g_signal_connect (dock, "key_press_event", G_CALLBACK (cb_key_press),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]