Commit d487007
Don't add saved filed to recent files The security scoped bookmark doesn't seem to allow the user to open a file for reading if the intent was created for writing a file. This commit makes sure that files opened for writing won't be added to the recent files list.
Changed files (1)
Diff
@@ -82,9 +82,11 @@ public class SaveCallback : GLib.Object { if (font_file_path != "") { f.font_file = font_file_path; }- ++#if !MAC Preferences.add_recent_files (f.get_path ());- +#endif+ if (f.is_bfp ()) { MainWindow.native_window.save (); } else {