Bug #8878 2006-09-24 21:20

afb

plugins doesn't load on wxMac, wrong zip name

It used to load happily from the share/codeblocks/dragscroll.zip file just like it does on Linux...
Now it creates the files as "dragscroll.zip", but then tries to load them as "libdragscroll.zip".

Suggestion:
-- src/sdk/pluginmanager.cpp	(revision 2994)
+++ src/sdk/pluginmanager.cpp	(arbetskopia)
@@ -144,7 +144,7 @@
         wxFileName fname(pluginFilename);
         fname.SetExt(_T("zip"));
         wxString actual = fname.GetFullName();
-        #ifdef __WXGTK__
+        #if defined(__WXGTK__) || defined(__WXMAC__)
         // remove 'lib' prefix from plugin name (if any)
         if (actual.StartsWith(_T("lib")))
             actual.Remove(0, 3);

This would change the filenames to be the same as on
Darwin/Linux, and without a silly "lib" prefix on Mac...
Category
Plugin::Any
Group
 
Status
Closed
Close date
2006-10-06 20:18
Assigned to
 
killerbot 2006-10-06 13:33

svn 3018