by
Changes to one file · Browse files at eac31ef33d9e Showing diff from parent ec6d9ad8bc5e c593f057d41b Diff from another changeset...
@@ -18,6 +18,7 @@ import shlib
import gdialog
import iniparse
+import gdialog
_unspecstr = _('<unspecified>')
@@ -1001,6 +1002,10 @@ for row in self.pathdata:
name = fromutf(row[0])
path = fromutf(row[2])
+ if not name:
+ gdialog.Prompt(_('Invalid path'),
+ _('Skipped saving path with no alias'), self).run()
+ continue
cpath = '.'.join(['paths', name])
self.record_new_value(cpath, path, False)
refreshlist.append(name)
|
Loading...