Changeset 6b3624b649cf…
Parent 93681fa12555…
by
Changes to 2 files · Browse files at 6b3624b649cf Showing diff from parent 93681fa12555 Diff from another changeset...
@@ -78,6 +78,7 @@ self.revset = revset
self.filterbyrevset = rfilter
self.unicodestar = True
+ self.unicodexinabox = True
# To be deleted
self._user_colors = {}
@@ -486,7 +487,10 @@ def getbranch(self, ctx, gnode):
b = hglib.tounicode(ctx.branch())
if ctx.extra().get('close'):
- b += u'--'
+ if self.unicodexinabox:
+ b += u' \u2327'
+ else:
+ b += u'--'
return b
def gettags(self, ctx, gnode):
|
@@ -73,6 +73,8 @@ #Check if the font contains the glyph needed by the model
if not QFontMetrics(self.font()).inFont(QString(u'\u2605').at(0)):
model.unicodestar = False
+ if not QFontMetrics(self.font()).inFont(QString(u'\u2327').at(0)):
+ model.unicodeclosed = False
self.selectionModel().currentRowChanged.connect(self.onRowChange)
self.resetDelegate()
self._rev_history = []
|
Loading...