Changeset 50af3738159b…
Parent 3b544da2b7a9…
by
Changes to one file · Browse files at 50af3738159b Showing diff from parent 3b544da2b7a9 Diff from another changeset...
@@ -16,7 +16,7 @@ from tortoisehg.util.i18n import _
from tortoisehg.util import paths, hglib, thread2
-from tortoisehg.hgtk import hgtk, gdialog
+from tortoisehg.hgtk import hgtk
if gtk.gtk_version < (2, 14, 0):
# at least on 2.12.12, gtk widgets can be confused by control
@@ -242,6 +242,7 @@ def overwriteConfirmation(self, filepath):
result = filepath
if os.path.exists(filepath):
+ from tortoisehg.hgtk import gdialog
res = gdialog.Confirm(_('Confirm Overwrite'), [], None,
_('The file "%s" already exists!\n\n'
'Do you want to overwrite it?') % filepath).run()
|
Loading...