summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-02-19 15:28:10 +0200
committerMavridis Philippe <[email protected]>2021-02-19 15:28:10 +0200
commit4d739a12ca0e1b9d4d1d5d83bbd24886768a49d8 (patch)
treeca7da310d0b4a9ff6945483eaaa71a49d48272dc
parentf0d11fb3b77e0583822138289d7c219d8f95be81 (diff)
downloadklamav-4d739a12ca0e1b9d4d1d5d83bbd24886768a49d8.tar.gz
klamav-4d739a12ca0e1b9d4d1d5d83bbd24886768a49d8.zip
SysTray Context Menu: updated icons for auto-update entries.
Signed-off-by: Mavridis Philippe <[email protected]>
-rw-r--r--src/klamav.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/klamav.cpp b/src/klamav.cpp
index 6c191f7..547ab9d 100644
--- a/src/klamav.cpp
+++ b/src/klamav.cpp
@@ -56,20 +56,20 @@ Klamav::Klamav()
connect( tab, SIGNAL(tabClosed(TQString)), this, SLOT(tabClosed(TQString)) );
_tray = new KSystemTray(tdemain, "klamav tray");
- _tray->setPixmap(KSystemTray::loadIcon("klamav_on_acc_disabled"));
+ slotOnAccessTrayPixmap(false);
connect(_tray,SIGNAL(quitSelected()),SLOT(shuttingDown()));
-
+
TDEPopupMenu *conf_menu = _tray->contextMenu();
-
- EnableFreshklam = new TDEAction(i18n("&Enable Auto-Updates"), "klamav", 0,this, SLOT(contextEnableFK()),actionCollection(),"fk_enable");
- DisableFreshklam = new TDEAction(i18n("&Disable Auto-Updates"),"klamavbw", 0,this, SLOT(contextDisableFK()),actionCollection(),"fk_disable");
+
+ EnableFreshklam = new TDEAction(i18n("&Enable Auto-Updates"), "system-software-update", 0,this, SLOT(contextEnableFK()),actionCollection(),"fk_enable");
+ DisableFreshklam = new TDEAction(i18n("&Disable Auto-Updates"), 0, 0, this, SLOT(contextDisableFK()),actionCollection(),"fk_disable");
EnableFreshklam->plug(conf_menu);
DisableFreshklam->plug(conf_menu);
-
+
TQToolTip::add( _tray, i18n( "KlamAV - Virus Protection for TDE" ) );
_tray->show();
-
+
DisableFreshklam->setEnabled(FALSE);
EnableFreshklam->setEnabled(TRUE);