Commit a03618e1 authored by Yosef Or Boczko's avatar Yosef Or Boczko Committed by Meg Ford

Make the preferences dialog a modal to the main window

https://bugzilla.gnome.org/show_bug.cgi?id=722874Signed-off-by: Meg Ford's avatarMeg Ford <meg387@gmail.com>
parent a99aa79c
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment