diff options
Diffstat (limited to 'src/klamav.cpp')
-rw-r--r-- | src/klamav.cpp | 14 |
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); |