meld r1319 - trunk
- From: vincele svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1319 - trunk
- Date: Fri, 3 Apr 2009 08:03:36 +0000 (UTC)
Author: vincele
Date: Fri Apr 3 08:03:35 2009
New Revision: 1319
URL: http://svn.gnome.org/viewvc/meld?rev=1319&view=rev
Log:
Add default encodings, in case user empty the
"encodings to try" entry in the preference page
Modified:
trunk/filediff.py
Modified: trunk/filediff.py
==============================================================================
--- trunk/filediff.py (original)
+++ trunk/filediff.py Fri Apr 3 08:03:35 2009
@@ -525,7 +525,7 @@
self._disconnect_buffer_handlers()
self.linediffer.diffs = [[],[]]
self.queue_draw()
- try_codecs = self.prefs.text_codecs.split()
+ try_codecs = self.prefs.text_codecs.split() or ['utf_8', 'utf_16']
yield _("[%s] Opening files") % self.label_text
panetext = ["\n"] * self.num_panes
tasks = []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]