Commits

Simon H.  committed ff74e12

hgcmd: execute toutf only once

  • Participants
  • Parent commits ba19c0f

Comments (0)

Files changed (1)

File hggtk/hgcmd.py

     def __init__(self, cmdline, progressbar=True, width=520, height=400):
         title = 'hg ' + ' '.join(cmdline[1:])
         if len(title) > 80:
-            title = toutf(title[:80] + '...')
+            title = title[:80] + '...'
         title = toutf(title.replace('\n', ' '))
         gtk.Dialog.__init__(self,
                             title=title,