summaryrefslogtreecommitdiffstats
path: root/kicker/kicker/core/panelextension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kicker/kicker/core/panelextension.cpp')
-rw-r--r--kicker/kicker/core/panelextension.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/kicker/kicker/core/panelextension.cpp b/kicker/kicker/core/panelextension.cpp
index cf5067c17..70b7b407d 100644
--- a/kicker/kicker/core/panelextension.cpp
+++ b/kicker/kicker/core/panelextension.cpp
@@ -380,7 +380,12 @@ void PanelExtension::slotBuildOpMenu()
this, SLOT(showConfig()));
_opMnu->insertSeparator();
}
-
+
+ _opMnu->insertItem(SmallIconSet("fork"),
+ i18n("&Launch Process Manager..."),
+ this, SLOT(showProcessManager()));
+ _opMnu->insertSeparator();
+
if (kapp->authorize("action/help"))
{
KHelpMenu* help = new KHelpMenu( this, KGlobal::instance()->aboutData(), false);
@@ -394,6 +399,11 @@ void PanelExtension::showConfig()
Kicker::the()->showConfig(_configFile);
}
+void PanelExtension::showProcessManager()
+{
+ system("ksysguard &");
+}
+
MenubarExtension::MenubarExtension(const AppletInfo& info)
: PanelExtension(info.configFile()),
m_menubar(0)