Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

Fixes issue #312

Changeset 9e003d415740

Parent db7973affdc8

by Wagner Bruna

Changes to one file · Browse files at 9e003d415740 Showing diff from parent db7973affdc8 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​gtklib.py Stacked
 
15
16
17
18
 
 
 
 
 
 
19
20
21
 
15
16
17
 
18
19
20
21
22
23
24
25
26
@@ -15,7 +15,12 @@
   from hggtk import hgtk   -from gobject import markup_escape_text +if gtk.gtk_version < (2, 14, 0): + # at least on 2.12.12, gtk widgets can be confused by control + # char markups (like "&#x1;"), so use cgi.escape instead + from cgi import escape as markup_escape_text +else: + from gobject import markup_escape_text    def set_tortoise_icon(window, thgicon):   ico = paths.get_tortoise_icon(thgicon)