[five-or-more] Preferences dialog should be transient to the main window
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more] Preferences dialog should be transient to the main window
- Date: Sun, 18 Aug 2013 14:33:45 +0000 (UTC)
commit b950370d87c1df2bc6fd82ab63ccee4e73115f0d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Aug 18 09:32:51 2013 -0500
Preferences dialog should be transient to the main window
This means it appears in the middle of the game's window, not off to the
side, and is not considered a separate window by GNOME Shell.
src/glines.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/glines.c b/src/glines.c
index 51956ad..0c3a642 100644
--- a/src/glines.c
+++ b/src/glines.c
@@ -1413,6 +1413,7 @@ game_props_callback (GSimpleAction *action,
pref_dialog_done = TRUE;
}
+ gtk_window_set_transient_for (GTK_WINDOW (pref_dialog), GTK_WINDOW (app));
gtk_window_present (GTK_WINDOW (pref_dialog));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]