Version: (using KDE KDE 3.1.94) OS: Linux When right clicking on the kwaller manager icon in the system tray no access is provided to the wallet manager's configuration menu. There is only restor or minimize and quit.
Subject: kdeutils/kwallet CVS commit by staikos: fix minor bug with last commit, and add Configure menu entry to the tray menu CCMAIL: 71143-done@bugs.kde.org M +7 -4 kwalletmanager.cpp 1.38 --- kdeutils/kwallet/kwalletmanager.cpp #1.37:1.38 @@ -60,8 +60,9 @@ KWalletManager::KWalletManager(QWidget * if (KWallet::Wallet::isOpen(*it)) { _tray->setPixmap(loadSystemTrayIcon("wallet_open")); + QToolTip::remove(_tray); + QToolTip::add(_tray, i18n("KDE Wallet: A wallet is open.")); break; } } - _tray->show(); _iconView = new KWalletIconView(this, "kwalletmanager icon view"); @@ -97,7 +98,8 @@ KWalletManager::KWalletManager(QWidget * SLOT(createWallet()), actionCollection(), "wallet_create"); - new KAction(i18n("Configure &Wallet..."), "configure", 0, this, - SLOT(setupWallet()), actionCollection(), + KAction *act = new KAction(i18n("Configure &Wallet..."), "configure", + 0, this, SLOT(setupWallet()), actionCollection(), "wallet_settings"); + act->plug(_tray->contextMenu()); KStdAction::quit(this, SLOT(shuttingDown()), actionCollection()); KStdAction::keyBindings( this, SLOT( slotConfigureKeys() ), actionCollection() ); @@ -109,4 +111,5 @@ KWalletManager::KWalletManager(QWidget * this, SLOT(deleteWallet()) ); + _tray->show(); }