Page 1 of 1
Categorized items in New project dialog and other patches
Posted: Wed May 13, 2009 3:25 pm
by marfi
Hi Eran,
here are the patches I told you about. They contain:
1) Implementation of categorized items in New project dialog
2) Patch for saving of a project as a user template (its internal type is now set to "User templates")
3) Patch for suppression of loading of non-existent files/workspaces from recent files/workspaces list
Moreover, I created set of new project templates and modified the old ones to work with the modified New project dialog. All stuff have been tested on Ubuntu 9.04 and Windows XP SP3 with wxWidgets 2.8.9 (unicode build). Please, take a look on it. I hope it is good enough for commiting to the SVN...
Best regards
Michal
Re: Categorized items in New project dialog and other patches
Posted: Wed May 13, 2009 6:35 pm
by eranif
Hi Michal!
The patch is impressive and it makes codelite looks more professional
One thing I would like from you:
I noticed that you modified the file 'newprojectbasedlg.cpp', however I prefer that those file will be edited via the correspondent fbp file (formbuilder/NewProjectDlg.fbp)
So if you can edit it and send those files I will be able to commit it to the SVN.
Thanks and again, it looks very promising !
Eran
Re: Categorized items in New project dialog and other patches
Posted: Thu May 14, 2009 10:56 am
by marfi
Hi Eran,
here are all files related to New project dialog. The *.FBP file was originally created in wxFB 3.1.61 (my personal version supporting wxPython code generation
), but I have converted it to file version required by wxFB 3.1.59 which is commonly available. Let me know if you'll have any problems with reading it.
Best regards
Michal
Re: Categorized items in New project dialog and other patches
Posted: Thu May 14, 2009 4:27 pm
by eranif
Thanks for that, I committed your patch along with some other fixes/modifications:
- right click on project -> save as template --> this dialog now allows the user to set the project's category (instead of hard-coding it to 'user templates')
- I added another template of 'simple executable for gcc' with main.c file
- New project dialog: the dialog now remembers its size/position
- New project dialog: selecting any project template, now also updated the compiler entry on the 'project page' to the right
- New project dialog: minor GUI issue -> now the 'project description' expands rather than the 'file name'
Other than that, it is all committed and looks good
Eran
Re: Categorized items in New project dialog and other patches
Posted: Fri May 15, 2009 4:04 pm
by marfi
Hi Eran,
thank you for the acceptance of my patch. I have only one suggestion: The default category item in "Save As Template" dialog could be "User templates" rather than "Console", because some people could overlook this choice.
Regards
Michal
Re: Categorized items in New project dialog and other patches
Posted: Fri May 15, 2009 10:47 pm
by eranif
Done