2010/3/29 Aaron J. Seigo <[email protected]> > On March 28, 2010, you wrote: > > My name is Ivan, I'd like to improve global Mac-OS style menu bar as my > > GSoC project. > > Can you please point me to the development code of it? > > How does it corellate with XBar plasmoid? > > there is a fairly old start to such a plasmoid in: > > /trunk/playground/base/plasma/applets/menubar/ > > it has no relation to the xbar plasmoid, which only works with bespin. > > done "right", i think what really ought to happen is this: > > * add a "global menubar" option to the Desktop -> Workspace control panel > in > system settings > That seems more or less clear. That's systemsettings application (kdebase/workspace/systemsettings). But where can I find code that configures the exact panel "Desktop->Workspace"?
> > * create a Plasma::Containment of type Panel for the menubar; it would be > much > like the current Panel containment, but it would have the implementation of > the menubar directly inside it, and it would arrange other plasmoids around > it. this means that the menubar itself wouldn't be so much a separate > plasmoid > as it would a Plasma::Contaiment. this would go into > kdebase/workspace/plasma/desktop/containments/. > So, that's a subclass of Plasma::Containment, but most of code is copied from Panel and some special features added? > * add a specialization of PanelView in plasma-desktop > (kdebase/workspace/plasma/desktop/shell/) that is created when that > configuration option is selected. it would instantiate the menubar > contaiment > and have a number of unique options: it would not be repositionable from > the > top of the screen, it would not be resizeable (always the height of the > menubar) and it would not be directly removable (system settings would > control > it) > I didn't really get the idea of that passage. I'm a newbie in Plasma, so can you please tell me what's the responsibility of PanelView (didn't understand it from docs and code) -- to create Containments like Desktop and Panel? And what's "that configuration option"? 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? Best regards, Ivan Ruchkin
_______________________________________________ Plasma-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/plasma-devel
