Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.1, 1.1.1, and 1.1.2

gtklib: add more ui style tags

Changeset 0e81e5a14290

Parent b8fcd5670902

by Steve Borho

Changes to one file · Browse files at 0e81e5a14290 Showing diff from parent b8fcd5670902 Diff from another changeset...

 
64
65
66
 
67
68
 
 
69
70
71
72
73
74
 
 
 
 
 
 
75
76
77
 
80
81
82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
84
85
 
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
 
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
@@ -64,14 +64,23 @@
 TextBufferTags = {   'error': dict(weight=pango.WEIGHT_HEAVY, foreground=DRED),   'control': dict(weight=pango.WEIGHT_HEAVY, foreground=BLACK), + 'ui.debug': dict(weight=pango.WEIGHT_LIGHT),   'ui.status': dict(foreground=DGRAY),   'ui.note': dict(foreground=BLACK), + 'ui.warning': dict(weight=pango.WEIGHT_HEAVY, foreground=RED), + 'log.summary': dict(foreground=BLACK),   'log.description': dict(foreground=DGRAY),   'log.changeset': dict(foreground=GREY),   'log.tag': dict(foreground=RED),   'log.user': dict(foreground=BLUE),   'log.date': dict(foreground=BLACK),   'log.files': dict(foreground=BLACK), + 'log.copies': dict(weight=pango.WEIGHT_HEAVY, foreground=BLACK), + 'log.node': dict(foreground=BLACK), + 'log.branch': dict(foreground=BLACK), + 'log.parent': dict(foreground=BLACK), + 'log.manifest': dict(foreground=BLACK), + 'log.extra': dict(foreground=DGRAY),   'diff.diffline': dict(foreground=BLACK),   'diff.inserted': dict(foreground=DGREEN),   'diff.deleted': dict(foreground=RED), @@ -80,6 +89,33 @@
  'diff.file_b': dict(weight=pango.WEIGHT_HEAVY, foreground=BLACK),  }   +# These tags are unreachable by TortoiseHg consoles, so we leave them +# out for efficiency +unusedTextBufferTags = { + 'qseries.applied': dict(foreground=BLACK), + 'qseries.unapplied':dict(foreground=DGRAY), + 'qseries.guarded': dict(foreground=BLUE), + 'qseries.missing': dict(foreground=DRED), + 'qguard.patch': dict(foreground=BLACK), + 'qguard.positive': dict(foreground=DGREEN), + 'qguard.negagive': dict(foreground=BLUE), + 'qguard.unguarded': dict(foreground=DGRAY), + 'diffstat.inserted':dict(foreground=DGREEN), + 'diffstat.deleted': dict(foreground=RED), + 'bookmarks.current':dict(weight=pango.WEIGHT_HEAVY, foreground=BLACK), + 'resolve.resolved': dict(foreground=DGREEN), + 'resolve.unresolved':dict(foreground=RED), + 'grep.match': dict(weight=pango.WEIGHT_HEAVY, foreground=BLACK), + 'status.modified': dict(foreground=BLACK), + 'status.added': dict(foreground=BLACK), + 'status.removed': dict(foreground=BLACK), + 'status.missing': dict(foreground=BLACK), + 'status.unknown': dict(foreground=BLACK), + 'status.ignored': dict(foreground=BLACK), + 'status.clean': dict(foreground=BLACK), + 'status.copied': dict(foreground=BLACK), +} +  UP_ARROW_COLOR = '#feaf3e'  DOWN_ARROW_COLOR = '#8ae234'  STAR_COLOR = '#fce94f'