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

logfilter: remove toolbar with only one button

Move apply button to bottom button bar, similar to settings dialog

Changeset 17a9f40c4b8d

Parent c1f8a5a547f8

by Steve Borho

Changes to one file · Browse files at 17a9f40c4b8d Showing diff from parent c1f8a5a547f8 Diff from another changeset...

 
22
23
24
 
 
 
 
25
26
27
 
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
 
22
23
24
25
26
27
28
29
30
31
 
37
38
39
 
 
40
 
 
 
 
 
 
 
 
 
 
 
41
42
43
@@ -22,6 +22,10 @@
  shlib.set_tortoise_icon(self, 'menucheckout.ico')   shlib.set_tortoise_keys(self)   + self._btn_apply = gtk.Button(_('Apply')) + self._btn_apply.connect('clicked', self._btn_apply_clicked) + self.action_area.pack_end(self._btn_apply) +   self.set_title("hg log filter - %s" % os.path.basename(root))     self.filterfunc = filterfunc @@ -33,20 +37,7 @@
    self.set_default_size(350, 120)   - # add toolbar with tooltips - self.tbar = gtk.Toolbar()   self.tips = gtk.Tooltips() - - tbuttons = [ - self._toolbutton( - gtk.STOCK_FIND, - _('Apply'), - self._btn_apply_clicked, - tip=_('Apply filter to revision history')), - ] - for btn in tbuttons: - self.tbar.insert(btn, -1) - self.vbox.pack_start(self.tbar, False, False, 2)     # branch: combo box   hbox = gtk.HBox()