- 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
This commit is contained in:
elvez 2006-07-05 21:30:08 +00:00
parent 27ac53330e
commit b6da06e014
1 changed files with 2 additions and 1 deletions

View File

@ -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())
{