# HG changeset patch
# User Adrian Buehlmann <[email protected]>
# Date 1254763879 -7200
# Node ID 0a6fa04db566f20906e8f2650d5c8a96af013470
# Parent f0acd74b033f8704aef27867783cad1577c36d42
treemodel: prepend down/up arrow to summary of incoming/outgoing csets
This provides an incoming/outgoing marker for when the graph is turned off
diff --git a/tortoisehg/hgtk/logview/treemodel.py
b/tortoisehg/hgtk/logview/treemodel.py
--- a/tortoisehg/hgtk/logview/treemodel.py
+++ b/tortoisehg/hgtk/logview/treemodel.py
@@ -175,9 +175,13 @@ class TreeModel(gtk.GenericTreeModel):
sumstr = bstr + tstr + summary
if node in self.outgoing:
+ marker = hglib.toutf(u'\u2191 ') # up arrow
+ sumstr = marker + sumstr
status = -1
elif revid >= self.origtip:
if revid >= len(self.repo) - self.npreviews:
+ marker = hglib.toutf(u'\u2193 ') # down arrow
+ sumstr = marker + sumstr
status = 2
else:
status = 1
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop