[gnome-chess] Ensure preferences dialog is transient for main window
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Ensure preferences dialog is transient for main window
- Date: Mon, 12 Aug 2013 13:46:44 +0000 (UTC)
commit b5788f2f5bb9baad13f06139a8bc7cc4375a2c72
Author: Michael I Doherty <michael i doherty intel com>
Date: Mon Aug 12 11:00:00 2013 +0100
Ensure preferences dialog is transient for main window
Presenting preferences dialog in full-screen mode makes the main window
disappear from view, as it is not transient for the main window
https://bugzilla.gnome.org/show_bug.cgi?id=705823
src/gnome-chess.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 7ac84b9..8d0c64e 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1387,6 +1387,7 @@ public class Application : Gtk.Application
warning ("Could not load preferences UI: %s", e.message);
}
preferences_dialog = (Gtk.Dialog) preferences_builder.get_object ("preferences");
+ preferences_dialog.transient_for = window;
settings.bind ("show-numbering", preferences_builder.get_object ("show_numbering_check"),
"active", SettingsBindFlags.DEFAULT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]