SF.net SVN: geany: [1562] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Wed May 23 14:04:20 UTC 2007


Revision: 1562
          http://svn.sourceforge.net/geany/?rev=1562&view=rev
Author:   eht16
Date:     2007-05-23 07:04:20 -0700 (Wed, 23 May 2007)

Log Message:
-----------
Oops, forgot keyfile.c.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/keyfile.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-05-23 13:44:25 UTC (rev 1561)
+++ trunk/ChangeLog	2007-05-23 14:04:20 UTC (rev 1562)
@@ -1,8 +1,9 @@
 2007-05-23  Enrico Tröger  <enrico.troeger at uvena.de>
 
  * src/vte.c: Add popup menu item: Change current working directory.
- * geany.glade, src/dialogs.c, src/geany.h, src/interface.c, src/main.c,
-   src/prefs.c: Add default startup directory option (closes #1704988).
+ * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
+   src/keyfile.c, src/main.c, src/prefs.c:
+   Add default startup directory option (closes #1704988).
 
 
 2007-05-23  Nick Treleaven  <nick.treleaven at btinternet.com>

Modified: trunk/src/keyfile.c
===================================================================
--- trunk/src/keyfile.c	2007-05-23 13:44:25 UTC (rev 1561)
+++ trunk/src/keyfile.c	2007-05-23 14:04:20 UTC (rev 1562)
@@ -228,6 +228,7 @@
 		g_key_file_set_string(config, "VTE", "last_dir", vte_info.dir);
 	}
 #endif
+	g_key_file_set_string(config, PACKAGE, "default_open_path", app->default_open_path);
 	g_key_file_set_string(config, PACKAGE, "custom_date_format", app->custom_date_format);
 	g_key_file_set_string(config, PACKAGE, "context_action_cmd", app->context_action_cmd);
 	if (app->custom_commands != NULL)
@@ -404,6 +405,7 @@
 	app->switch_msgwin_pages = utils_get_setting_boolean(config, PACKAGE, "switch_msgwin_pages", FALSE);
 	app->custom_date_format = utils_get_setting_string(config, PACKAGE, "custom_date_format", "");
 	app->context_action_cmd = utils_get_setting_string(config, PACKAGE, "context_action_cmd", "");
+	app->default_open_path = utils_get_setting_string(config, PACKAGE, "default_open_path", "");
 	app->custom_commands = g_key_file_get_string_list(config, PACKAGE, "custom_commands", NULL, NULL);
 	app->editor_font = utils_get_setting_string(config, PACKAGE, "editor_font", GEANY_DEFAULT_FONT_EDITOR);
 	app->tagbar_font = utils_get_setting_string(config, PACKAGE, "tagbar_font", GEANY_DEFAULT_FONT_SYMBOL_LIST);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list