{"thread":{"id":"3493","subject":"Select the text color based on whether the entry in highlighted.","startedAt":"2006-02-28T13:41:08Z","lastAt":"2006-02-28T13:41:08Z","messageCount":1,"participants":["Aneesh Kumar K.V"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"16903","messageId":"440452F4.1010803@gmail.com","threadId":"3493","inReplyTo":null,"subject":"Select the text color based on whether the entry in highlighted.","fromName":"Aneesh Kumar K.V","fromEmail":"aneesh.kumar@gmail.com","sentAt":"2006-02-28T13:41:08Z","receivedAt":"2006-02-28T13:41:08Z","isPatch":false,"sender":{"key":"aneesh.kumar@gmail.com","avatar":"https://gravatar.com/avatar/0621fc0b2f14ead1e9024382f16053a808c148596da30c1b92572fa075621f68?d=mp&s=160"},"body":"\n\nFrom: Pavel Roskin <proski@gnu.org>\nSubject: Select the text color based on whether the entry in highlighted.  Use\nstandard font.\n\nSigned-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>\n\n---\n\n contrib/gitview/gitview |   19 +++++++++++--------\n 1 files changed, 11 insertions(+), 8 deletions(-)\n\n21154c68bf8b95e0db49d507ea34e0b8a51308df\ndiff --git a/contrib/gitview/gitview b/contrib/gitview/gitview\nindex 048caf6..aded7ed 100755\n--- a/contrib/gitview/gitview\n+++ b/contrib/gitview/gitview\n@@ -239,20 +239,23 @@ class CellRendererGraph(gtk.GenericCellR\n \t\t\t\tbox_size / 4, 0, 2 * math.pi)\n \n \n+\t\tself.set_colour(ctx, colour, 0.0, 0.5)\n+\t\tctx.stroke_preserve()\n+\n+\t\tself.set_colour(ctx, colour, 0.5, 1.0)\n+\t\tctx.fill_preserve()\n+\n \t\tif (len(names) != 0):\n \t\t\tname = \" \"\n \t\t\tfor item in names:\n \t\t\t\tname = name + item + \" \"\n \n-\t\t\tctx.select_font_face(\"Monospace\")\n \t\t\tctx.set_font_size(13)\n-\t\t\tctx.text_path(name)\n-\n-\t\tself.set_colour(ctx, colour, 0.0, 0.5)\n-\t\tctx.stroke_preserve()\n-\n-\t\tself.set_colour(ctx, colour, 0.5, 1.0)\n-\t\tctx.fill()\n+\t\t\tif (flags & 1):\n+\t\t\t\tself.set_colour(ctx, colour, 0.5, 1.0)\n+\t\t\telse:\n+\t\t\t\tself.set_colour(ctx, colour, 0.0, 0.5)\n+\t\t\tctx.show_text(name)\n \n class Commit:\n \t\"\"\" This represent a commit object obtained after parsing the git-rev-list\n-- \n1.2.3.gc55f-dirty\n\n"}]}