[gnome-chess] promotion dialog: set transient for main window



commit 174b7c3bad75368db1dd82f2af28ea3ba2f81c96
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Fri Jul 4 22:14:21 2014 -0500

    promotion dialog: set transient for main window

 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 ed7e318..b1a39cd 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -273,6 +273,7 @@ public class ChessApplication : Gtk.Application
         }
 
         Gtk.Dialog promotion_type_selector_dialog = promotion_type_selector_builder.get_object 
("dialog_promotion_type_selector") as Gtk.Dialog;
+        promotion_type_selector_dialog.transient_for = window;
 
         string color;
         if (game.current_player.color == Color.WHITE)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]