Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

thgconfig: prevent warnings when pasting URL to PathEditDialog

Changeset 9068588b15a9

Parent d7593ad2980c

by Yuki KODAMA

Changes to one file · Browse files at 9068588b15a9 Showing diff from parent d7593ad2980c Diff from another changeset...

 
284
285
286
287
 
 
288
289
290
291
292
 
 
293
294
295
 
284
285
286
 
287
288
289
290
291
292
 
293
294
295
296
297
@@ -284,12 +284,14 @@
  if enable:   self.entries[n][2] = e.connect('changed', self.changedurl)   else: - e.disconnect(h) + if e.handler_is_connected(h): + e.disconnect(h)   else:   if enable:   self.entries[n][2] = e.connect('changed', self.changed)   else: - e.disconnect(h) + if e.handler_is_connected(h): + e.disconnect(h)     def urlparse(self, path):   if path.startswith('ssh://'):