diff options
author | Ethan Trewhitt <ethan@trewhitt.org> | 2017-10-25 13:36:33 -0400 |
---|---|---|
committer | Ethan Trewhitt <ethan@trewhitt.org> | 2017-10-25 21:20:38 -0400 |
commit | a3d5c7fdcef630a902b62305c2b0c57121e24209 (patch) | |
tree | 9240972f1d320f4e8c78abd1397c618436f2f1ba /grc/gui/MainWindow.py | |
parent | a0adcd3347c7ffd6ef3c42ce7705a23978774d3b (diff) |
Added parent (aka 'transient for') references to most (if not all) dialog boxes. First attempt at fixing #1494.
Diffstat (limited to 'grc/gui/MainWindow.py')
-rw-r--r-- | grc/gui/MainWindow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/MainWindow.py b/grc/gui/MainWindow.py index 9a2823a7ab..205881f2e5 100644 --- a/grc/gui/MainWindow.py +++ b/grc/gui/MainWindow.py @@ -453,7 +453,7 @@ class MainWindow(gtk.Window): gtk.STOCK_SAVE, gtk.RESPONSE_OK ) return MessageDialogHelper( - gtk.MESSAGE_QUESTION, gtk.BUTTONS_NONE, 'Unsaved Changes!', + gtk.MESSAGE_QUESTION, gtk.BUTTONS_NONE, self, 'Unsaved Changes!', 'Would you like to save changes before closing?', gtk.RESPONSE_OK, buttons ) |