Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

datamine: open a new search tab with CTRL-N

Changeset 2ca16bc4dfca

Parent f7cd5039ad3f

by Yuki KODAMA

Changes to 2 files · Browse files at 2ca16bc4dfca Showing diff from parent f7cd5039ad3f Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​datamine.py Stacked
 
99
100
101
 
 
 
 
102
103
104
 
218
219
220
 
 
 
221
222
223
 
99
100
101
102
103
104
105
106
107
108
 
222
223
224
225
226
227
228
229
230
@@ -99,6 +99,10 @@
  notebook.add_accelerator('thg-close', accelgroup, key,   modifier, gtk.ACCEL_VISIBLE)   notebook.connect('thg-close', self.close_notebook) + key, modifier = gtk.accelerator_parse(mod+'n') + notebook.add_accelerator('thg-new', accelgroup, key, + modifier, gtk.ACCEL_VISIBLE) + notebook.connect('thg-new', self.new_notebook)     self.stbar = gtklib.StatusBar()   self.stbar.sttext.set_property('use-markup', True) @@ -218,6 +222,9 @@
  else:   self.close_current_page()   + def new_notebook(self, notebook): + self.add_search_page() +   def add_search_page(self):   frame = gtk.Frame()   frame.set_border_width(10)
Change 1 of 1 Show Entire File hggtk/​hgtk.py Stacked
 
36
37
38
39
40
 
 
 
41
42
43
 
36
37
38
 
 
39
40
41
42
43
44
@@ -36,8 +36,9 @@
 for sig in ('thg-exit', 'thg-close', 'thg-refresh', 'thg-accept'):   gobject.signal_new(sig, gtk.Window,   gobject.SIGNAL_ACTION, gobject.TYPE_NONE, ()) -gobject.signal_new('thg-close', gtk.Notebook, - gobject.SIGNAL_ACTION, gobject.TYPE_NONE, ()) +for sig in ('thg-close', 'thg-new'): + gobject.signal_new(sig, gtk.Notebook, + gobject.SIGNAL_ACTION, gobject.TYPE_NONE, ())    gtkmainalive = False  def dispatch(args):