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

commit: submit branch name with ENTER key

Changeset b5a826f7ee35

Parent 3df3ae6199d5

by Yuki KODAMA

Changes to one file · Browse files at b5a826f7ee35 Showing diff from parent 3df3ae6199d5 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​commit.py Stacked
 
42
43
44
 
45
46
47
 
71
72
73
 
 
 
74
75
76
 
42
43
44
45
46
47
48
 
72
73
74
75
76
77
78
79
80
@@ -42,6 +42,7 @@
  self.closebranchradio = gtk.RadioButton(nochanges,   _('Close current named branch'))   self.branchentry = gtk.Entry() + self.branchentry.connect('activate', self.activated)     hbox = gtk.HBox()   hbox.pack_start(self.newbranchradio, False, False, 2) @@ -71,6 +72,9 @@
  def nbtoggle(self, radio):   self.branchentry.set_sensitive(radio.get_active())   + def activated(self, entry): + self.response(self, response_id=gtk.RESPONSE_OK) +   def response(self, widget, response_id):   if response_id == gtk.RESPONSE_OK:   if self.newbranchradio.get_active():