[Bug 155241] Desktop icons are added after every login
Christopher Blauvelt
cblauvelt at gmail.com
Fri Mar 7 00:33:32 CET 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=155241
------- Additional Comments From cblauvelt gmail com 2008-03-07 00:33 -------
>
> i know it's easy to say but it's just to check if the icons are already
> included in plasma-appletsrc before adding them again
>
That's done here in iconloader.cpp.
//build list of current icons
foreach (Plasma::Applet* applet, m_desktop->applets()) {
if (applet->name() == i18n("Icon")) {
addIcon(applet);
}
}
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">i know it's easy to say but it's just to check if the icons are already included in plasma-appletsrc before adding them again<br>
<div><div></div><div class="Wj3C7c"></div></div></blockquote><div><br>That's done here in iconloader.cpp.<br>//build list of current icons<br> foreach (Plasma::Applet* applet, m_desktop->applets()) {<br> if (applet->name() == i18n("Icon")) {<br>
addIcon(applet);<br> }<br> } <br></div></div>
More information about the Panel-devel
mailing list