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

tagadd: tagging with Enter key

Changeset 3bf34d49a9a6

Parent 07c6c6fb91e2

by Yuki KODAMA

Changes to one file · Browse files at 3bf34d49a9a6 Showing diff from parent 07c6c6fb91e2 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​tagadd.py Stacked
 
69
70
71
 
72
73
74
 
137
138
139
 
 
 
140
141
142
 
69
70
71
72
73
74
75
 
138
139
140
141
142
143
144
145
146
@@ -69,6 +69,7 @@
  self._tagslist = gtk.ListStore(str)   self._taglistbox = gtk.ComboBoxEntry(self._tagslist, 0)   self._tag_input = self._taglistbox.get_child() + self._tag_input.connect('activate', self._taginput_activated)   self._tag_input.set_text(tag)   tagbox.pack_start(lbl, False, False)   tagbox.pack_start(self._taglistbox, True, True) @@ -137,6 +138,9 @@
  continue   self._tagslist.append([tagname])   + def _taginput_activated(self, taginput): + self._do_add_tag() +   def _btn_tag_clicked(self, button):   """ select tag from tags dialog """   import tags