|
From: | su blanc |
Subject: | [Mldonkey-devel] [PATCH] old mlgui patch |
Date: | Thu, 18 Dec 2003 12:50:13 +0100 (CET) |
Hi,
You should modify config/Makefile.in instead of Makefile.
Then in addition to the deletion of the following lines in GUI_BASE_SRCS :
$(SRC_GUI)/gui_misc.ml \
$(SRC_GUI)/gui_com.ml
Add them also in the NEWGUI_SRCS. otherwise you break the newgui building.
You had this problem because they were already included in the OLDGUI_SRCS.
For the gpattern modifications, I'm afraid they are incomplete for both the OLDGUI and newgui.
If I guess right, just open the config panel from the OLDGUI and click OK. Have all the columns of all the lists the proper size ?
I'm currently implementing a function to save the columns sizes and get rid of this definitely. That is easy now that I created few months ago the method has_changed_width in gpattern.
Another alternative is to implement the stupid thing I have included everywhere :
call "wlist#columns_autosize ()" in all methods "set_columns" after the "self#update". But do not include it in the method "update" in gpattern because it is absolutely not compatible with the newgui (To high CPU usage with the pixmaps).
Regards,
Su_blanc
[Prev in Thread] | Current Thread | [Next in Thread] |