summaryrefslogtreecommitdiff
path: root/dev-python/bicyclerepair/files/bicyclerepair-0.9-idle.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/bicyclerepair/files/bicyclerepair-0.9-idle.patch')
-rw-r--r--dev-python/bicyclerepair/files/bicyclerepair-0.9-idle.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/bicyclerepair/files/bicyclerepair-0.9-idle.patch b/dev-python/bicyclerepair/files/bicyclerepair-0.9-idle.patch
new file mode 100644
index 00000000000..ff7e6f8d80b
--- /dev/null
+++ b/dev-python/bicyclerepair/files/bicyclerepair-0.9-idle.patch
@@ -0,0 +1,41 @@
+=== modified file 'ide-integration/BicycleRepairMan_Idle.py'
+--- ide-integration/BicycleRepairMan_Idle.py 2008-07-21 20:08:33 +0000
++++ ide-integration/BicycleRepairMan_Idle.py 2008-07-21 20:15:02 +0000
+@@ -300,21 +300,21 @@
+ return 1
+
+
+-    def confirm_buffer_is_saved(self, editwin):
+-        if not editwin.get_saved():
+-            name = (editwin.short_title()or
+-            editwin.long_title()or
+-            "Untitled")
+-            reply = tkMessageBox.askokcancel("Bicycle Repair Man",
+-                "The buffer for %s is not saved.\n\n"%name+
+-                "Save it and continue?",
+-                master = self.editwin.text)
+-          &nbs p; self.editwin.text.focus_set()
+-            if reply:
+-                editwin.io.save(None)
+-            else:
+-                return 0
+-        return 1
++ def confirm_buffer_is_saved(self, editwin):
++ if not editwin.get_saved():
++ name = (editwin.short_title()or
++ editwin.long_title()or
++ "Untitled")
++ reply = tkMessageBox.askokcancel("Bicycle Repair Man",
++ "The buffer for %s is not saved.\n\n"%name+
++ "Save it and continue?",
++ master = self.editwin.text)
++ self.editwin.text.focus_set()
++ if reply:
++ editwin.io.save(None)
++ else:
++ return 0
++ return 1
+
+ def errorbox(self, title, message):
+ tkMessageBox.showerror(title, message, master = self.editwin.text)
+