Hi
Where's the best place for plugin specific data?
~/.geany/plugins/pluginname/
?
thx
bd
On Fri, 27 Jul 2007 19:55:20 -0400, blackdog blackdog@ipowerhouse.com wrote:
Hi
Where's the best place for plugin specific data?
~/.geany/plugins/pluginname/
I think so. Remember to make sure ~/.geany/plugins exists e.g. by using g_mkdir_with_parents().
Regards, Enrico
On Sat, 28 Jul 2007 16:32:18 -0500, "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
Where's the best place for plugin specific data? ~/.geany/plugins/pluginname/
I guess it would be geany_data->app->configdir instead of always ~/.geany ?
Of course. I didn't mean to write literally "~/.geany" in the code. I ust wrote it because app->configdir mostly points to ~/.geany but we should never assume that it really does.
Regards, Enrico
On 07/28/2007 11:37:29 AM, Enrico Tröger wrote:
On Fri, 27 Jul 2007 19:55:20 -0400, blackdog blackdog@ipowerhouse.com wrote:
Hi
Where's the best place for plugin specific data?
~/.geany/plugins/pluginname/
I think so. Remember to make sure ~/.geany/plugins exists e.g. by using g_mkdir_with_parents().
Actually utils_mkdir() should be used with the create_parent_dirs argument. This is compatible with GLib 2.6.
Regards, Nick
On Mon, 30 Jul 2007 11:07:45 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On 07/28/2007 11:37:29 AM, Enrico Tröger wrote:
On Fri, 27 Jul 2007 19:55:20 -0400, blackdog blackdog@ipowerhouse.com wrote:
Hi
Where's the best place for plugin specific data?
~/.geany/plugins/pluginname/
I think so. Remember to make sure ~/.geany/plugins exists e.g. by using g_mkdir_with_parents().
Actually utils_mkdir() should be used with the create_parent_dirs argument. This is compatible with GLib 2.6.
Yes, this would even better but then we should at least add it to the plugin API ;-).
Regards, Enrico