You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/bicyclerepair/files/bicyclerepair-0.9-idle.patch

42 lines
1.5 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

=== 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)