Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

history: allow main toolbar size to be customized

Closes #712

Changeset e47a5b6a9837

Parent dd7fe2e0cc4d

by Steve Borho

Changes to 2 files · Browse files at e47a5b6a9837 Showing diff from parent dd7fe2e0cc4d Diff from another changeset...

 
569
570
571
 
 
 
 
 
 
 
 
572
573
574
 
569
570
571
572
573
574
575
576
577
578
579
580
581
582
@@ -569,6 +569,14 @@
  self.origtip = len(self.repo)   self.graphview.set_property('branch-color', self.branch_color)   + style = self.repo.ui.config('tortoisehg', 'logtbarstyle', 'theme') + if style == 'small': + self.toolbar.set_icon_size(gtk.ICON_SIZE_MENU) + self.toolbar.set_property('toolbar-style', gtk.TOOLBAR_ICONS) + if style == 'large': + self.toolbar.set_icon_size(gtk.ICON_SIZE_LARGE_TOOLBAR) + self.toolbar.set_property('toolbar-style', gtk.TOOLBAR_BOTH) +   # ignore file patterns that imply repo root   if len(self.pats) == 1 and self.pats[0] in (root, root+os.sep, ''):   self.pats = []
 
130
131
132
 
 
 
 
133
134
135
 
130
131
132
133
134
135
136
137
138
139
@@ -130,6 +130,10 @@
  ' Default: None')),   (_('Use Expander'), 'tortoisehg.changeset-expander', ['False', 'True'],   _('Show changeset details with an expander')), + (_('Toolbar Style'), 'tortoisehg.logtbarstyle', + ['small', 'large', 'theme'], + _('Adjust the display of the main toolbar in the Repository' + ' Explorer. Values: small, large, or theme. Default: theme')),   )    _paths_info = (