Revision: 1924 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1924&view=re... Author: dimitrov-adrian Date: 2011-02-11 23:12:56 +0000 (Fri, 11 Feb 2011)
Log Message: ----------- When Windows detected, it is creating config file (if it needen) with Explorer for external viewer
Modified Paths: -------------- trunk/geany-plugins/treebrowser/ChangeLog trunk/geany-plugins/treebrowser/src/treebrowser.c
Modified: trunk/geany-plugins/treebrowser/ChangeLog =================================================================== --- trunk/geany-plugins/treebrowser/ChangeLog 2011-02-11 22:49:34 UTC (rev 1923) +++ trunk/geany-plugins/treebrowser/ChangeLog 2011-02-11 23:12:56 UTC (rev 1924) @@ -28,13 +28,20 @@ (DONE) Adding keybindings for renaming/deleting/refreshing (DONE) Add option to change bars position // requested by <dmaphy> (DONE) Add option to autorename point the newest created objects by the Treebrowser + * It is impossible to rename file/directory in Windows, dunno why + * It is impossible to delete file/directory in Windows, dunno why
- +-------------------------------+ | Development release ChangeLog | +-------------------------------+
+12-02-2011 Adrian Dimitrov dimitrov.adrian@gmail.com + + * src/treebrowser.c + When Windows detected, it is creating config file (if it needen) with Explorer for external viewer + + 10-02-2011 Adrian Dimitrov dimitrov.adrian@gmail.com
* src/treebrowser.c
Modified: trunk/geany-plugins/treebrowser/src/treebrowser.c =================================================================== --- trunk/geany-plugins/treebrowser/src/treebrowser.c 2011-02-11 22:49:34 UTC (rev 1923) +++ trunk/geany-plugins/treebrowser/src/treebrowser.c 2011-02-11 23:12:56 UTC (rev 1924) @@ -53,7 +53,11 @@ * ------------------ */
static gchar *CONFIG_FILE = NULL; +#ifdef G_OS_WIN32 static gchar *CONFIG_OPEN_EXTERNAL_CMD = "nautilus '%d'"; +#else +static gchar *CONFIG_OPEN_EXTERNAL_CMD = "explorer '%d'"; +#endif static gboolean CONFIG_REVERSE_FILTER = FALSE; static gboolean CONFIG_ONE_CLICK_CHDOC = FALSE; static gboolean CONFIG_SHOW_HIDDEN_FILES = FALSE; @@ -309,7 +313,6 @@ return FALSE; }
- static gchar* get_default_dir() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.