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

serve: set CTRL-Q accelerator on serve dialog

Changeset 6196a68d197d

Parent 9fd1a8f13d6b

by Steve Borho

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

Change 1 of 1 Show Entire File hggtk/​serve.py Stacked
 
80
81
82
 
 
 
 
 
 
83
84
85
 
80
81
82
83
84
85
86
87
88
89
90
91
@@ -80,6 +80,12 @@
  self._button_close = self._toolbutton(gtk.STOCK_CLOSE, 'Quit',   self._close_clicked)   + # ctrl-Q quits + accel_group = gtk.AccelGroup() + self.add_accel_group(accel_group) + self._button_close.add_accelerator("clicked", accel_group, ord("q"), + gtk.gdk.CONTROL_MASK, gtk.ACCEL_VISIBLE) +   tbuttons = [   self._button_start,   self._button_stop,