[Bug 58044] Noatun should be more task and not plugin-oriented
Stefan Gehn
sgehn at gmx.net
Sun May 4 00:00:06 BST 2003
Moin,
I have started to improve Noatun here and there and make some ideas from this
bug become reality :)
The patch you can find at
http://metz.gehn.net/noatun-popupmenu.patch [26kB]
changes the following things:
- Makes the Actions popupmenu in Noatuns global popup-menu a KActionMenu
instead, old API calls are wrapped and new calls were added to napp so you
can now go and insert()/remove() entries from it instead of dealing with item
IDs.
- Disables that Action popup-menu if it has no entries. This won't work
properly with old plugins who add menu-items the 'wrong' way (i.e. use
napp->pluginMenu()->insertItem(...) like metatag did) but I hope there's no
plugin out there which does such ugly things (napp->pluginMenuAdd() and
napp->pluginMenuRemove() were designed for that, dunno why the pluginMenu
itself is accessible anyway).
- Added a Visualization sub-menu in Noatuns global popup-menu, again using
KActionMenu. Maybe I can change this back to a simple QPopupMenu but I don't
think the KAction stuff hurts anyway. At least you can toggle your favourite
VIS plugins on and off with two clicks :)
Btw, I still have some ideas to improve the current situation regarding
plugins, i.e. I have a to-be-finished playlist and a lot of more or less
working changes for our VIS-plugins :=)
Bye, Stefan aka mETz
--
sgehn_AT_gmx.net | ICQ#51123152 | Moege der Pinguin mit euch sein
More information about the kde-multimedia
mailing list