The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix file dialog on Windows

These changes was commited to the Birdfont repository Thu, 27 Aug 2015 15:28:13 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Thu, 27 Aug 2015 15:28:13 +0000]

Updated Files

libbirdfont/FileDialogTab.vala
--- a/libbirdfont/FileDialogTab.vala +++ b/libbirdfont/FileDialogTab.vala @@ -130,7 +130,11 @@ string d = (!) current_dir.get_path (); printd (@"Subdir: $(f.file_name) in $d path_separator: $path_separator\n"); string p = d + path_separator + f.file_name; - p = p.replace ("\\\\", "\\"); + + while (p.index_of ("\\\\") != -1) { + p = p.replace ("\\\\", "\\"); + } + propagate_files (p); }