Commits

Steve Borho committed af9896a

hgignore: convert regexp entry text from UTF-8 to local

Comments (0)

Files changed (1)

hggtk/hgignore.py

         self.refresh()
 
     def add_regexp(self, widget, regexp_entry):
-        newregexp = regexp_entry.get_text()
+        newregexp = fromutf(regexp_entry.get_text())
         self.ignorelines.append('regexp:' + newregexp)
         self.write_ignore_lines()
         self.refresh()