Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xturtleblocks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/turtleblocks.py b/turtleblocks.py
index 71e1506..c62ba3e 100755
--- a/turtleblocks.py
+++ b/turtleblocks.py
@@ -430,7 +430,7 @@ class TurtleMain():
def _show_save_dialog(self, new_project=True):
''' Dialog for save project '''
dlg = gtk.MessageDialog(parent=None, type=gtk.MESSAGE_INFO,
- buttons=gtk.BUTTONS_OK_CANCEL,
+ buttons=gtk.BUTTONS_YES_NO,
message_format=_(
'You have unsaved work. Would you like to save before quitting?'))
dlg.set_title(_('Save project?'))
@@ -438,7 +438,7 @@ class TurtleMain():
resp = dlg.run()
dlg.destroy()
- if resp == gtk.RESPONSE_OK:
+ if resp == gtk.RESPONSE_YES:
if new_project:
self._save_as()
else: