#2 Default dir in Filebrowser

closed-fixed
None
5
2009-04-24
2009-04-24
Matias Gea
No

Sets the default Geany dir in Filebrowser when there is no Project defined and no file opened.
The patch is for the file plugins/filebrowser.c.
diff -u filebrowser.c.bak filebrowser.c

--- filebrowser.c 2009-02-10 19:11:25.000000000 -0200
+++ filebrowser.c.new 2009-04-24 10:51:00.669462522 -0300
@@ -281,6 +281,8 @@

if (project)
dir = project->base_path;
+ else
+ dir = geany->prefs->default_open_path;
if (NZV(dir))
return utils_get_locale_from_utf8(dir);

Discussion

  • Enrico Tröger

    Enrico Tröger - 2009-04-24
    • assigned_to: nobody --> eht16
    • status: open --> closed-fixed
     
  • Enrico Tröger

    Enrico Tröger - 2009-04-24

    Committed, thanks for the patch.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks