[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-multimedia
Subject: [noatun-patch] Display the Plugins menu in the systray interface
From: Ismael Orenstein <perdig () linuxbr ! com ! br>
Date: 2001-09-10 19:10:21
[Download RAW message or body]
Hey there!
This kinda insignificant diff adds the Plugins menu (the one with the ID3
Edit stuff) to noatun's systray interface.
I added it because it was easier to view the lyrics of the current song this
way. (yeah, I was too lazy to click on the systray, find the "Plugins" entry
in the user interface and select "View lyrics")
BTW, there is another way of doing that? It would be great if you could add
"dynamic" menus only by editing the XML UI file... currently it doesn't seem
possible
[]'s
--
Ismael Orenstein (UIN 1293061)
perdig@linuxbr.com.br
http://ksnes9x.sourceforge.net
http://ggz.sourceforge.net
http://linuxgames.com/xrally
["systray.diff" (text/x-diff)]
? systray.diff
Index: systray.cpp
===================================================================
RCS file: /home/kde/kdemultimedia/noatun/noatun/modules/systray/systray.cpp,v
retrieving revision 1.20
diff -u -3 -p -r1.20 systray.cpp
--- systray.cpp 2001/05/19 22:34:23 1.20
+++ systray.cpp 2001/09/10 18:30:02
@@ -72,6 +72,9 @@ NoatunSystray::NoatunSystray()
createGUI("systrayui.rc");
+ KPopupMenu *tray = (KPopupMenu *)guiFactory()->container("tray", this);
+ tray->insertItem(i18n("Plugins"), napp->pluginMenu(), -1, 5);
+
mTray = new KitSystemTray("tray", this);
mTray->show();
trayDefault = new QPixmap(SmallIcon("noatuntray"));
_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic