[gnome-applets/gnome-2-26] Mixer applet dock not multihead aware
- From: Callum McKenzie <callum src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-applets/gnome-2-26] Mixer applet dock not multihead aware
- Date: Fri, 22 May 2009 00:53:28 -0400 (EDT)
commit a4a0765857cf59d0414396ddf65f74a9090de79b
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]