@ -56,8 +56,9 @@ CustomTrayLabel::CustomTrayLabel(const TQStringList& argv, pid_t pid,
*/
*/
void CustomTrayLabel : : installMenu ( )
void CustomTrayLabel : : installMenu ( )
{
{
TQPixmap kdocker_png ( TDEGlobal : : iconLoader ( ) - > loadIcon ( " kdocker " , TDEIcon : : NoGroup , TDEIcon : : SizeSmall ) ) ;
//TQPixmap kdocker_png(TDEGlobal::iconLoader()->loadIcon("kdocker", TDEIcon::NoGroup, TDEIcon::SizeSmall));
setIcon ( kdocker_png ) ;
TQPixmap * kdocker_png = new TQPixmap ( " kdocker " ) ;
setIcon ( * kdocker_png ) ;
TrayLabelMgr * tlMgr = TrayLabelMgr : : instance ( ) ;
TrayLabelMgr * tlMgr = TrayLabelMgr : : instance ( ) ;
mOptionsMenu = new TQPopupMenu ( this ) ;
mOptionsMenu = new TQPopupMenu ( this ) ;
@ -105,7 +106,7 @@ void CustomTrayLabel::installMenu()
mSkipTaskbar - > addTo ( mOptionsMenu ) ;
mSkipTaskbar - > addTo ( mOptionsMenu ) ;
mMainMenu = new TQPopupMenu ( this ) ;
mMainMenu = new TQPopupMenu ( this ) ;
mMainMenu - > insertItem ( TQIconSet ( kdocker_png ) ,
mMainMenu - > insertItem ( TQIconSet ( * kdocker_png ) ,
i18n ( " About KDocker " ) , tlMgr , SLOT ( about ( ) ) ) ;
i18n ( " About KDocker " ) , tlMgr , SLOT ( about ( ) ) ) ;
mMainMenu - > insertSeparator ( ) ;
mMainMenu - > insertSeparator ( ) ;
mMainMenu - > insertItem ( i18n ( " Options " ) , mOptionsMenu ) ;
mMainMenu - > insertItem ( i18n ( " Options " ) , mOptionsMenu ) ;