<br><br><div class="gmail_quote">2010/3/29 Aaron J. Seigo <span dir="ltr">&lt;<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>&gt;</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="im">On March 28, 2010, you wrote:<br>
&gt; My name is Ivan, I&#39;d like to improve global Mac-OS style menu bar as my<br>
&gt; GSoC project.<br>
&gt; Can you please point me to the development code of it?<br>
&gt; How does it corellate with XBar plasmoid?<br>
<br>
</div>there is a fairly old start to such a plasmoid in:<br>
<br>
        /trunk/playground/base/plasma/applets/menubar/<br>
<br>
it has no relation to the xbar plasmoid, which only works with bespin.<br>
<br>
done &quot;right&quot;, i think what really ought to happen is this:<br>
<br>
* add a &quot;global menubar&quot; option to the Desktop -&gt; Workspace control panel in<br>
system settings<br></blockquote><div>That seems more or less clear. That&#39;s systemsettings application (kdebase/workspace/systemsettings). But where can I find code that configures the exact panel &quot;Desktop-&gt;Workspace&quot;? <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
* create a Plasma::Containment of type Panel for the menubar; it would be much<br>
like the current Panel containment, but it would have the implementation of<br>
the menubar directly inside it, and it would arrange other plasmoids around<br>
it. this means that the menubar itself wouldn&#39;t be so much a separate plasmoid<br>
as it would a Plasma::Contaiment. this would go into<br>
kdebase/workspace/plasma/desktop/containments/.<br></blockquote><div><br>So, that&#39;s a subclass of Plasma::Containment, but most of code is copied from Panel and some special features added?<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
* add a specialization of PanelView in plasma-desktop<br>
(kdebase/workspace/plasma/desktop/shell/) that is created when that<br>
configuration option is selected. it would instantiate the menubar contaiment<br>
and have a number of unique options: it would not be repositionable from the<br>
top of the screen, it would not be resizeable (always the height of the<br>
menubar) and it would not be directly removable (system settings would control<br>
it)<br></blockquote><div>I didn&#39;t really get the idea of that passage. I&#39;m a newbie in Plasma, so can you please tell me what&#39;s the responsibility of PanelView (didn&#39;t understand it from docs and code) -- to create Containments like Desktop and Panel? And what&#39;s &quot;that configuration option&quot;?<br>
<br>About keeping it always on the top of screen: maybe the position (top or botton) of menubar should be configured in control panel as well?<br><br>Best regards,<br>
Ivan Ruchkin<br></div></div><br>