PATCH: kdelibs/plasma/containment.cpp ( The sequence of applets in the panel is out of expected (bugsid:175026))

qiang zhang liubingzhq at gmail.com
Fri Nov 14 02:04:01 GMT 2008


---------- Forwarded message ----------
From: qiang zhang <liubingzhq at gmail.com>
Date: 2008/11/14
Subject: Re: PATCH:The sequence of applets in the panel is out of expected
(bugsid:175026)
To: kde-devel at kde.org


 Such changes after installation in line with the general KDE user habits.



2008/11/13 zhangqiang <zhangqiang at redflag-linux.com>

> When I installed kde4,I found that the default sequence of applets in the
> panel was different from usual.For example the pager is in the left of the
> panel,but usually the launcher should be in the left by default. When I open
> the file
> /usr/share/kde-settings/kde-profile/default/share/config/plasma-appletsrc,I
> found the default sequence of applets in this file is the same as usual. At
> the same time I found  the topleft coordinate of every applet is all (0,0)
> in the file
> /usr/share/kde-settings/kde-profile/default/share/config/plasma-appletsrc.Why
> is the showing result out of expected ? By looking at source code ,I find
> the reason is that the sorting algorithm in the file
> kdelibs/plasma/containment.cpp is not very good.Through modifying the sort
> algorithm,the results are expected with the implementation of the same.My
> patch is in the attachment.Thanks.
>
> The modified file containment.cpp is in file kdelibs/plasma/.
>
>
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081114/6ba4faf3/attachment.htm>


More information about the kde-core-devel mailing list