[gnome-sound-recorder] Make the preferences dialog a modal to the main window



commit a03618e15d853d76aa844f29563c22d6f0ba5846
Author: Yosef Or Boczko <yoseforb src gnome org>
Date:   Fri Jan 24 02:48:02 2014 +0200

    Make the preferences dialog a modal to the main window
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722874
    
    Signed-off-by: Meg Ford <meg387 gmail com>

 src/preferences.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/preferences.js b/src/preferences.js
index 576596d..8447752 100644
--- a/src/preferences.js
+++ b/src/preferences.js
@@ -44,6 +44,7 @@ const Preferences = new Lang.Class({
                                         margin_top: 5,
                                         hexpand: true }); 
                                         
+        this.widget.set_transient_for(Gio.Application.get_default().get_active_window());
         this.widget.add_button(_("Done"), Gtk.ResponseType.OK);                                     
         
         let mainGrid = new Gtk.Grid({ orientation: Gtk.Orientation.VERTICAL,


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