<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">qiang zhang</b> <span dir="ltr"><<a href="mailto:liubingzhq@gmail.com">liubingzhq@gmail.com</a>></span><br>
Date: 2008/11/14<br>Subject: Re: PATCH:The sequence of applets in the panel is out of expected (bugsid:175026)<br>To: <a href="mailto:kde-devel@kde.org">kde-devel@kde.org</a><br><br><br> Such changes after installation in line with the general KDE user habits.<br>
<br><br><br><div class="gmail_quote">2008/11/13 zhangqiang <span dir="ltr"><<a href="mailto:zhangqiang@redflag-linux.com" target="_blank">zhangqiang@redflag-linux.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
<font size="4">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 result
s are expected with the implementation of the same.My patch is in the attachment.Thanks.<br>
<br>The modified file containment.cpp is in file kdelibs/plasma/.<br><br></font><br>
<br><br></div>
>> Visit <a href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to unsubscribe <<<br>
<br></blockquote></div><br>
</div><br>