Summary: | kwallet in system tray does not provide configure option | ||
---|---|---|---|
Product: | [Applications] kwalletmanager | Reporter: | Richard Bos <richard.bos> |
Component: | general | Assignee: | George Staikos <staikos> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Richard Bos
2003-12-23 20:54:41 UTC
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(); } |