On 19/01/12 00:46, Rodolfo kix Garcia wrote:

> Hello,
> 
> here are two patches for WPrefs. My target is renew the menus, because they 
> are not using WINGs and they have a lot of duplicated code.
> 
> The code in the WINGs library is not good to make menus, because they have 
> tools to create menu items, but not full menu. On the other hand, WPrefs has 
> a lot of function to create menus (panels with menuitems). IMO, we should 
> clear the current WPrefs functions, then move this functions to WINGs (with 
> WPrefs usint the libraries at WINGs) and then rewrite the menu. The problem 
> is that we should clean a bit the WPrefs code.
> 
> Here are two patches. The first to start with this work, and the second to 
> remove old files.
> 
[snip]


:-) We should continue with the other files ;-)

kix@kentin:~/wmaker/wmaker-crm/WPrefs.app$ grep _Panel * | grep struct
Appearance.c:typedef struct _Panel {
Configurations.c:typedef struct _Panel {
Expert.c:typedef struct _Panel {
Focus.c:typedef struct _Panel {
FontSimple.c:typedef struct _Panel {
Icons.c:typedef struct _Panel {
KeyboardSettings.c:typedef struct _Panel {
KeyboardShortcuts.h:typedef struct _Panel {   # .h with the struct
MenuPreferences.c:typedef struct _Panel {
MouseSettings.c:typedef struct _Panel {
Paths.c:typedef struct _Panel {
Preferences.c:typedef struct _Panel {
Themes.c:typedef struct _Panel {
WindowHandling.c:typedef struct _Panel {
Workspace.c:typedef struct _Panel {
WPrefs.h:typedef struct _Panel Panel;

kix


-- 
To unsubscribe, send mail to [email protected].

Reply via email to