# HG changeset patch # User Yuki KODAMA <[email protected]> # Date 1250446248 -32400 # Node ID cae72dc6aeb3cf98622fd423c5008198cc3b77e6 # Parent ad30cf1e2643664ce1c1714ffe5e09a9137d1771 thgconfig: prevent showing confirm dialog if it's in readonly mode
diff --git a/hggtk/thgconfig.py b/hggtk/thgconfig.py
--- a/hggtk/thgconfig.py
+++ b/hggtk/thgconfig.py
@@ -652,7 +652,7 @@
return True
def should_live(self, *args):
- if self.dirty:
+ if self.dirty and not self.readonly:
ret = gdialog.Confirm(_('Confirm quit without saving?'), [], self,
_('Yes to abandon changes, No to continue')).run()
if ret != gtk.RESPONSE_YES:
thg-kuy_rev3598.patch
Description: Binary data
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Tortoisehg-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
