[Xfce4-commits] <xfce4-panel:xfce-4.8> Show launcher add dialog on the same screen as parent.
Nick Schermer
noreply at xfce.org
Sat Jan 29 21:26:20 CET 2011
Updating branch refs/heads/xfce-4.8
to 5f703756fce60eb42396d6e6870abb82172d7e2f (commit)
from 15e3162d25c26555e23c533848c8c19c50de1bb5 (commit)
commit 5f703756fce60eb42396d6e6870abb82172d7e2f
Author: Nick Schermer <nick at xfce.org>
Date: Sun Jan 23 18:27:57 2011 +0100
Show launcher add dialog on the same screen as parent.
plugins/launcher/launcher-dialog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/plugins/launcher/launcher-dialog.c b/plugins/launcher/launcher-dialog.c
index 80bbc41..7f06aa1 100644
--- a/plugins/launcher/launcher-dialog.c
+++ b/plugins/launcher/launcher-dialog.c
@@ -1125,6 +1125,8 @@ launcher_dialog_show (LauncherPlugin *plugin)
/* setup responses for the add dialog */
object = gtk_builder_get_object (builder, "dialog-add");
+ gtk_window_set_screen (GTK_WINDOW (object),
+ gtk_window_get_screen (GTK_WINDOW (window)));
g_signal_connect (G_OBJECT (object), "response",
G_CALLBACK (launcher_dialog_add_response), dialog);
g_signal_connect (G_OBJECT (object), "delete-event",
More information about the Xfce4-commits
mailing list