summaryrefslogtreecommitdiffstats
path: root/kicker/menuext/kate
diff options
context:
space:
mode:
Diffstat (limited to 'kicker/menuext/kate')
-rw-r--r--kicker/menuext/kate/katesessionmenu.cpp7
-rw-r--r--kicker/menuext/kate/katesessionmenu.h1
2 files changed, 7 insertions, 1 deletions
diff --git a/kicker/menuext/kate/katesessionmenu.cpp b/kicker/menuext/kate/katesessionmenu.cpp
index 711d0968d..c2b3712cc 100644
--- a/kicker/menuext/kate/katesessionmenu.cpp
+++ b/kicker/menuext/kate/katesessionmenu.cpp
@@ -117,7 +117,7 @@ void KateSessionMenu::initialize()
// means for updating, to let the user manually update if he/she added new sessions.
insertSeparator();
- insertItem( SmallIconSet("reload"), i18n("Reload Session List"), this, TQT_SLOT(reinitialize()) );
+ insertItem( SmallIconSet("reload"), i18n("Reload Session List"), this, TQT_SLOT(reloadSessionsList()) );
}
void KateSessionMenu::slotExec( int id )
@@ -170,5 +170,10 @@ void KateSessionMenu::slotExec( int id )
kapp->tdeinitExec("kate", args);
}
+void KateSessionMenu::reloadSessionsList()
+{
+ reinitialize();
+ exec();
+}
// kate: space-indent: on; indent-width 2; replace-tabs on;
diff --git a/kicker/menuext/kate/katesessionmenu.h b/kicker/menuext/kate/katesessionmenu.h
index 3d5519496..2558ad702 100644
--- a/kicker/menuext/kate/katesessionmenu.h
+++ b/kicker/menuext/kate/katesessionmenu.h
@@ -34,6 +34,7 @@ class KateSessionMenu : public KPanelMenu {
protected slots:
virtual void slotExec( int id );
+ void reloadSessionsList();
private:
TQStringList m_sessions;