Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9.2, 0.9.3, and 1.0

stable commit: prevent AttributeError related 'response' signal

Closes #810

Changeset c7b16144f4b3

Parent eb7942d9d12e

by Yuki KODAMA

Changes to one file · Browse files at c7b16144f4b3 Showing diff from parent eb7942d9d12e Diff from another changeset...

 
35
36
37
38
39
40
41
 
57
58
59
60
61
62
63
64
65
 
75
76
77
 
 
 
 
 
78
79
80
 
35
36
37
 
38
39
40
 
56
57
58
 
59
 
60
61
62
 
72
73
74
75
76
77
78
79
80
81
82
@@ -35,7 +35,6 @@
  gtklib.set_tortoise_keys(self)   self.set_resizable(False)   self.set_has_separator(False) - self.connect('response', self.response)     self.newbranch = None   self.closebranch = False @@ -57,9 +56,7 @@
  self.newbranchradio = gtk.RadioButton(nochanges,   _('Open a new named branch'))   self.newbranchradio.set_active(True) - self.newbranchradio.connect('toggled', self.nbtoggle)   self.branchentry = gtk.Entry() - self.branchentry.connect('activate', self.activated)   self.closebranchradio = gtk.RadioButton(nochanges,   _('Close current named branch'))   @@ -75,6 +72,11 @@
  table.add_row(self.closebranchradio)   table.add_row(nochanges)   + # signal handlers + self.connect('response', self.response) + self.newbranchradio.connect('toggled', self.nbtoggle) + self.branchentry.connect('activate', self.activated) +   # prepare to show   if branch:   self.newbranch = branch