From b6da06e014ba881a4d5079b384494c754d8400f5 Mon Sep 17 00:00:00 2001 From: elvez Date: Wed, 5 Jul 2006 21:30:08 +0000 Subject: [PATCH] - Added a touch of class to the plugin management system. Now we do things (more or less ;-) ) like gaim does! git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@734 3ecf2c5c-341e-0410-92b4-d18e462d057c --- src/backend/plugin_manager.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/plugin_manager.cc b/src/backend/plugin_manager.cc index 06cbf51..5b91d2b 100644 --- a/src/backend/plugin_manager.cc +++ b/src/backend/plugin_manager.cc @@ -54,7 +54,8 @@ PluginManager::rescan_dirs() GlobalPreferences& prefs = GlobalPreferences::get_instance(); GlobalPreferences::dir_iterator it = prefs.modules_dir_begin(); - Glib::PatternSpec shared_obj("*.so"); + + Glib::PatternSpec shared_obj(Glib::ustring("*.") + G_MODULE_SUFFIX); while(it != prefs.modules_dir_end()) {