Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

hgcmd: set CTRL-Q accelerator on hgcmd dialog

Changeset 72ff9cfe1b9f

Parent 6196a68d197d

by Steve Borho

Changes to one file · Browse files at 72ff9cfe1b9f Showing diff from parent 6196a68d197d Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​hgcmd.py Stacked
 
43
44
45
 
 
 
 
 
 
46
47
48
 
43
44
45
46
47
48
49
50
51
52
53
54
@@ -43,6 +43,12 @@
  self.connect('delete-event', self._delete)   self.connect('response', self._response)   + # ctrl-Q quits + accel_group = gtk.AccelGroup() + self.add_accel_group(accel_group) + self._button_ok.add_accelerator("clicked", accel_group, ord("q"), + gtk.gdk.CONTROL_MASK, gtk.ACCEL_VISIBLE) +   self.pbar = None   if progressbar:   self.last_pbar_update = 0