[gnome-chess/gnome-3-8] Ensure preferences dialog is transient for main window
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/gnome-3-8] Ensure preferences dialog is transient for main window
- Date: Mon, 12 Aug 2013 13:50:07 +0000 (UTC)
commit ff8e85cfabc7360def7f379af74a8a4fb4550419
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 badcb91..033e20c 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1199,6 +1199,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]