by
Changes to one file · Browse files at 0d0955c1e3fb Showing diff from parent 6f87af1aae64 c7b16144f4b3 Diff from another changeset...
@@ -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,10 +56,8 @@ self.newbranchradio = gtk.RadioButton(nochanges,
_('Open a new named branch'))
self.newbranchradio.set_active(True)
- self.newbranchradio.connect('toggled', self.nbtoggle)
branchcombo = gtk.combo_box_entry_new_text()
self.branchentry = branchcombo.child
- self.branchentry.connect('activate', self.activated)
dblist = repo.ui.config('tortoisehg', 'deadbranch', '')
deadbranches = [ x.strip() for x in dblist.split(',') ]
@@ -83,6 +80,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
|
Loading...