- 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:
parent
27ac53330e
commit
b6da06e014
|
@ -54,7 +54,8 @@ PluginManager::rescan_dirs()
|
||||||
GlobalPreferences& prefs = GlobalPreferences::get_instance();
|
GlobalPreferences& prefs = GlobalPreferences::get_instance();
|
||||||
GlobalPreferences::dir_iterator it = prefs.modules_dir_begin();
|
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())
|
while(it != prefs.modules_dir_end())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue