aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-01-26 15:01:40 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-01-26 15:01:40 +0000
commite1ecf78c89250e0138f9e6fffe8dbb4f7517938b (patch)
tree17a0d017170137272f68001b21fdb5b5fe0a5090 /src
parent10bfc98f9b441d6f468325277d2be4fb285a9c48 (diff)
downloadmsec-e1ecf78c89250e0138f9e6fffe8dbb4f7517938b.tar
msec-e1ecf78c89250e0138f9e6fffe8dbb4f7517938b.tar.gz
msec-e1ecf78c89250e0138f9e6fffe8dbb4f7517938b.tar.bz2
msec-e1ecf78c89250e0138f9e6fffe8dbb4f7517938b.tar.xz
msec-e1ecf78c89250e0138f9e6fffe8dbb4f7517938b.zip
Added default response to Save dialog.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/msec/msecgui.py2
1 files changed, 2 insertions, 0 deletions
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)