diff options
-rw-r--r-- | kicker/kicker/core/panelextension.cpp | 12 | ||||
-rw-r--r-- | kicker/kicker/core/panelextension.h | 1 |
2 files changed, 12 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) diff --git a/kicker/kicker/core/panelextension.h b/kicker/kicker/core/panelextension.h index d1d7deb28..9f50fb9ae 100644 --- a/kicker/kicker/core/panelextension.h +++ b/kicker/kicker/core/panelextension.h @@ -94,6 +94,7 @@ protected slots: void immutabilityChanged(bool); void slotBuildOpMenu(); void showConfig(); + void showProcessManager(); virtual void populateContainerArea(); private: |