[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&#39;s easy to say but it&#39;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&#39;s done here in iconloader.cpp.<br>//build list of current icons<br>&nbsp;&nbsp;&nbsp; foreach (Plasma::Applet* applet, m_desktop-&gt;applets()) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (applet-&gt;name() == i18n(&quot;Icon&quot;)) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; addIcon(applet);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; } <br></div></div>


More information about the Panel-devel mailing list