Quoting Quentin Mathé <[EMAIL PROTECTED]>:

> Le 3 mars 06 à 08:08, Sa&#65533;o Kiselkov a écrit :
>
> > Quoting Nicolas Roard <[EMAIL PROTECTED]>:
> >>
> >> It's very nice ! NSStatusBar should be modified to work as a
> >> "menulet"
> >> then...
> >
> > Good idea! Though I'll have to add logic to EtoileMenuServer to
> > handle cases
> > when menulet views resize, but that shouldn't be any difficult.
>
> Let me know what you want to do and how I can integrate
> ServicesBarKit with this menu server.

I'd prefer to make NSStatusBar support available through a menulet, as has been
suggested before. Grab a code snapshot from

http://altair.dcs.elf.stuba.sk/~diablos/menubar

and take a look in EtoileMenuServer/Menulet.h and design your own menulet
accordingly - all you'll need to do is implement a single method ;-)

> I have already written
> NSStatusBar and NSStatusItem code in ServicesBarKit framework (not
> yet functional).
> NSStatusBar in ServicesBarKit uses a custom toolbar view, that makes
> possible to support menu bar items (aka menulets) customization,
> reordering and resizing without extra code.
> <http://www.dromasoftware.com/etoile/mediawiki/index.php?
> title=ServicesBarKit>
> <http://svn.gna.org/viewcvs/etoile/trunk/Etoile/Frameworks/
> ServicesBarKit/>
>
> May you could send me your code or commit it in Étoilé repository
> since it seems to functionnal ? That doesn't prevent to submit it for
> inclusion in GNUstep repository at a later point.

I doubt GNUstep would ever accept for core-lib incorporation such a specific
thing as the entire menubar system :-) Well, we shall see what the future
brings. For now, this doesn't concern me at all.

If you want to, please, commit it to Etoile SVN, but I don't have SVN write
access, so please take care of that then too ;-) Thanks :-)

> We should discuss how these various pieces WildMenus bundle,
> EtoileMenuServer and ServicesBarKit (StatusBar framework) are going
> to interact with each other precisely, and where they would be
> located in the repository (because I suppose WildMenus in a not
> bundle anymore).

EtoileMenuServer is a separate app, so it doesn't really interact with anything
in EtoileMenus (the modified WildMenus thing) at all. EtoileMenus replaces
WildMenus - it doesn't make any sence having both loaded at the same time.

I suppose at some later point, we could bundle the NSStatusBar-implementing
menulet with EtoileMenuServer - the menulet will depend on ServicesBarKit and
encapsulate all necessary functionality within itself.

> > Oh and one more thing: unlike Apple, this menusystem *will* have
> > tear-off menus
> > - we won't be making the same mistake as Apple.
>
> Nice.

Damn I'm great! :-D

--
Saso


_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to