From e1ecf78c89250e0138f9e6fffe8dbb4f7517938b Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Mon, 26 Jan 2009 15:01:40 +0000 Subject: Added default response to Save dialog. --- src/msec/msecgui.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py index 568d53e..4bf02c8 100755 --- a/src/msec/msecgui.py +++ b/src/msec/msecgui.py @@ -272,6 +272,8 @@ class MsecGui: gtk.STOCK_OK, gtk.RESPONSE_OK) ) + dialog.set_default_response(gtk.RESPONSE_OK) + label = gtk.Label(SAVE_SETTINGS_TEXT) dialog.vbox.set_spacing(DEFAULT_SPACING) dialog.vbox.pack_start(label, False, False, padding=DEFAULT_SPACING) -- cgit v1.2.1