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

update: execute with ENTER key if focused to combo

Changeset 9b8db508ca57

Parent 607daaa79273

by Yuki KODAMA

Changes to one file · Browse files at 9b8db508ca57 Showing diff from parent 607daaa79273 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​update.py Stacked
 
86
87
88
 
 
 
 
 
 
89
90
91
 
86
87
88
89
90
91
92
93
94
95
96
97
@@ -86,6 +86,12 @@
  hbbox.add(update)   update.grab_focus()   + entry = combo.child + entry.connect('activate', self.entry_activated, update, combo, repo) + + def entry_activated(self, entry, button, combo, repo): + self.update(button, combo, repo) +   def update(self, button, combo, repo):   overwrite = self.overwrite.get_active()   rev = combo.get_active_text()