Bug #8241 2006-07-29 15:09

hjlipp

Can't add file to project if name doesn't contain a dot

Version: 1.0rc2

OS: Linux

The file dialog for adding files to the project uses the mask "*.*" for "All files". This should be "*" because I'd like to add also files without a dot in the file name.

You maybe should change ALL_FILES_FILTER in sdk/settings.h to

_("All files (*)|*")

if __WXMSW__ is not defined. But this is only a guess, as I don't know wxWidgets and the C::B sources.

Category
Application::Interface
Group
 
Status
Closed
Close date
2006-07-29 18:25
Assigned to
 
dermeister 2006-07-29 16:10

This is already implemented in the current revisions.

Please make sure that you have a current version installed before reporting bugs.

hjlipp 2006-07-29 17:12

Oops, sorry! This would be the trunk? Can't build that at the moment, but I'll try again.

In file included from editorbase.cpp:23:

pluginmanager.h:22: error: 'FreePluginProc' is used as a type, but is not

defined as a type.

pluginmanager.h:56: error: syntax error before `*' token

...

dermeister 2006-07-29 17:37

Which compiler did you use? I was able to compile revision 2793 with gcc 3.4.6 on Linux without this error. And there were no changes to this file since then.

hjlipp 2006-07-29 17:52

gcc 3.3.5

C::B Revision is: 2796

I added

#include "cbplugin.h"

to src/sdk/pluginmanager.h and it built fine. And yes, the file dialog is fine now. Sorry for reporting an old bug.