[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/akregator/src
From:       Teemu Rytilahti <teemu.rytilahti () kde-fi ! org>
Date:       2004-05-31 21:32:38
Message-ID: 20040531213238.3C5A9126D2 () office ! kde ! org
[Download RAW message or body]

CVS commit by rytilahti: 

Add icons to viewer's context menu


  M +3 -2      viewer.cpp   1.6


--- kdenonbeta/akregator/src/viewer.cpp  #1.5:1.6
@@ -10,4 +10,5 @@
 #include <kpopupmenu.h>
 #include <klocale.h>
+#include <kiconloader.h>
 
 #include <qclipboard.h>
@@ -55,6 +56,6 @@ void Viewer::slotPopupMenu(KXMLGUIClient
    m_url = url;
    KPopupMenu popup;
-   popup.insertItem(i18n("Open Link"), this, SLOT(slotOpenLinkInternal()));
-   popup.insertItem(i18n("Open Link in External Browser"), this, \
SLOT(slotOpenLinkExternal())); +   popup.insertItem(SmallIcon("tab_new"), i18n("Open \
Link"), this, SLOT(slotOpenLinkInternal())); +   \
popup.insertItem(SmallIcon("window_new"), i18n("Open Link in External Browser"), \
this, SLOT(slotOpenLinkExternal()));  popup.insertItem(i18n("Copy Link Location"), \
this, SLOT(slotCopyToClipboard()));  popup.exec(p);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic