[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_2_BRANCH: /
From: Stephan Binner <binner () kde ! org>
Date: 2004-04-18 7:24:14
Message-ID: 20040418072414.F0155924F () office ! kde ! org
[Download RAW message or body]
CVS commit by binner:
Icons in bookmark menu context menus
M +3 -3 kdebase/konqueror/konq_mainwindow.cc 1.1274.2.21
M +7 -7 kdelibs/kio/bookmarks/kbookmarkmenu.cc 1.230.2.4
--- kdelibs/kio/bookmarks/kbookmarkmenu.cc #1.230.2.3:1.230.2.4
@@ -261,13 +261,13 @@ void RMB::fillContextMenu( QPopupMenu* c
// TODO rename these, but, message freeze... umm...
- if (bookmark.isGroup()) {
- id = contextMenu->insertItem( i18n( "Add Bookmark Here" ), recv, \
SLOT(slotRMBActionInsert(int)) ); +// if (bookmark.isGroup()) {
+ id = contextMenu->insertItem( SmallIcon("bookmark_add"), i18n( "Add Bookmark \
Here" ), recv, SLOT(slotRMBActionInsert(int)) ); contextMenu->setItemParameter( id, \
val );
- }
+/* }
else
{
- id = contextMenu->insertItem( i18n( "Add Bookmark Here" ), recv, \
SLOT(slotRMBActionInsert(int)) ); + id = contextMenu->insertItem( \
SmallIcon("bookmark_add"), i18n( "Add Bookmark Here" ), recv, \
SLOT(slotRMBActionInsert(int)) ); contextMenu->setItemParameter( id, val );
- }
+ }*/
}
@@ -282,5 +282,5 @@ void RMB::fillContextMenu2( QPopupMenu*
contextMenu->setItemParameter( id, val );
contextMenu->insertSeparator();
- id = contextMenu->insertItem( i18n( "Delete Folder" ), recv, \
SLOT(slotRMBActionRemove(int)) ); + id = contextMenu->insertItem( \
SmallIcon("editdelete"), i18n( "Delete Folder" ), recv, \
SLOT(slotRMBActionRemove(int)) ); contextMenu->setItemParameter( id, val );
contextMenu->insertSeparator();
@@ -293,5 +293,5 @@ void RMB::fillContextMenu2( QPopupMenu*
contextMenu->setItemParameter( id, val );
contextMenu->insertSeparator();
- id = contextMenu->insertItem( i18n( "Delete Bookmark" ), recv, \
SLOT(slotRMBActionRemove(int)) ); + id = contextMenu->insertItem( \
SmallIcon("editdelete"), i18n( "Delete Bookmark" ), recv, \
SLOT(slotRMBActionRemove(int)) ); contextMenu->setItemParameter( id, val );
contextMenu->insertSeparator();
--- kdebase/konqueror/konq_mainwindow.cc #1.1274.2.20:1.1274.2.21
@@ -3428,11 +3428,11 @@ void KonqMainWindow::slotFillContextMenu
for (; it != list.end(); ++it )
popupItems.append( new KFileItem( (*it), QString::null, KFileItem::Unknown) );
- pm->insertItem( i18n( "Open Folder in Tabs" ), this, SLOT( slotPopupNewTab() ) \
); + pm->insertItem( SmallIcon("tab_new"), i18n( "Open Folder in Tabs" ), this, \
SLOT( slotPopupNewTab() ) ); }
else
{
popupItems.append( new KFileItem( bk.url(), QString::null, KFileItem::Unknown) \
);
- pm->insertItem( i18n( "Open in New Tab" ), this, SLOT( slotPopupNewTab() ) );
- pm->insertItem( i18n( "Open in New Window" ), this, SLOT( slotPopupNewWindow() ) \
); + pm->insertItem( SmallIcon("window_new"), i18n( "Open in New Window" ), this, \
SLOT( slotPopupNewWindow() ) ); + pm->insertItem( SmallIcon("tab_new"), i18n( \
"Open in New Tab" ), this, SLOT( slotPopupNewTab() ) ); }
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic