SF.net SVN: geany: [2781] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Tue Jul 15 17:16:28 UTC 2008
Revision: 2781
http://geany.svn.sourceforge.net/geany/?rev=2781&view=rev
Author: ntrel
Date: 2008-07-15 10:16:28 -0700 (Tue, 15 Jul 2008)
Log Message:
-----------
Prevent warning when trying to load an active plugin at startup that
doesn't exist on disk any more.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/plugins.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-07-15 14:50:06 UTC (rev 2780)
+++ trunk/ChangeLog 2008-07-15 17:16:28 UTC (rev 2781)
@@ -30,6 +30,9 @@
* plugins/filebrowser.c:
Show '..' item when the current folder is empty (fixes #2015121).
Replace is_top_level_directory() code by checking g_path_skip_root().
+ * src/plugins.c:
+ Prevent warning when trying to load an active plugin at startup that
+ doesn't exist on disk any more.
2008-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/plugins.c
===================================================================
--- trunk/src/plugins.c 2008-07-15 14:50:06 UTC (rev 2780)
+++ trunk/src/plugins.c 2008-07-15 17:16:28 UTC (rev 2781)
@@ -676,7 +676,7 @@
{
const gchar *fname = active_plugins_pref[i];
- if (NZV(fname))
+ if (NZV(fname) && g_file_test(fname, G_FILE_TEST_EXISTS))
{
if (plugin_new(fname, TRUE, FALSE) == NULL)
failed_plugins_list = g_list_append(failed_plugins_list, g_strdup(fname));
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