Changeset e47a5b6a9837…
Parent dd7fe2e0cc4d…
by
Changes to 2 files · Browse files at e47a5b6a9837 Showing diff from parent dd7fe2e0cc4d Diff from another changeset...
@@ -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,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 = (
|
Loading...