[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 71833] Make systray entry show 'Server Control' window
From: Andrew Stanley-Jones <asj () cban ! com>
Date: 2004-01-09 0:49:22
Message-ID: 20040109004922.14946.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=71833
asj@cban.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
------- Additional Comments From asj@cban.com 2004-01-09 01:49 -------
Subject: kdenetwork/ksirc
CVS commit by asj:
This changes the popup to include a menu item to allow users to easily configure
the notification list. This will make the menu appear to do something more
useful. I think even the most clueless user will have a better chance of
getting it right.
CCMAIL: 71833-done@bugs.kde.org
M +17 -3 dockservercontroller.cpp 1.24
M +1 -0 dockservercontroller.h 1.11
--- kdenetwork/ksirc/dockservercontroller.cpp #1.23:1.24
@@ -29,4 +29,6 @@
#include <kdeversion.h>
+#include "KSPrefs/ksprefs.h"
+
#include "servercontroller.h"
#include "toplevel.h"
@@ -205,6 +207,6 @@ void dockServerController::createMainPop
}
if(mainPop->count() == 0){
- mainPop->insertItem(i18n("Help on Notify Popup"), this, SLOT(helpNotice()));
-
+ mainPop->insertItem(i18n("Help on Notify Popup..."), this, SLOT(helpNotice()));
+ mainPop->insertItem(i18n("Configure Notify..."), this, SLOT(configNotify()));
}
}
@@ -417,4 +419,16 @@ void dockServerController::helpNotice()
}
+void dockServerController::configNotify()
+{
+ KSPrefs *kp = new KSPrefs();
+ connect(kp, SIGNAL(update(int)),
+ m_sc, SLOT(configChange()));
+ kp->resize(550, 450);
+ kp->showPage(2); /* Show auto connect page */
+ kp->show();
+
+}
+
+
void dockServerController::raiseWindow(QString server, QString name)
{
--- kdenetwork/ksirc/dockservercontroller.h #1.10:1.11
@@ -78,4 +78,5 @@ protected slots:
void mainActivated(int id);
void helpNotice();
+ void configNotify();
void mainPopShow();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic