From: Peter Penz Date: Wed, 27 Oct 2010 20:30:49 +0000 (+0000) Subject: Set icons for the rename- and properties-action of the Folders Panels context-menu. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/fb36fdf3aabb54ba2865b7260c1d4830a1fc1d96 Set icons for the rename- and properties-action of the Folders Panels context-menu. svn path=/trunk/KDE/kdebase/apps/; revision=1190486 --- diff --git a/src/panels/folders/treeviewcontextmenu.cpp b/src/panels/folders/treeviewcontextmenu.cpp index aa111c6ba..de93e096c 100644 --- a/src/panels/folders/treeviewcontextmenu.cpp +++ b/src/panels/folders/treeviewcontextmenu.cpp @@ -77,6 +77,7 @@ void TreeViewContextMenu::open() // insert 'Rename' QAction* renameAction = new QAction(i18nc("@action:inmenu", "Rename..."), this); renameAction->setEnabled(capabilities.supportsMoving()); + renameAction->setIcon(KIcon("edit-rename")); connect(renameAction, SIGNAL(triggered()), this, SLOT(rename())); popup->addAction(renameAction); @@ -108,6 +109,7 @@ void TreeViewContextMenu::open() // insert 'Properties' entry QAction* propertiesAction = new QAction(i18nc("@action:inmenu", "Properties"), this); + propertiesAction->setIcon(KIcon("document-properties")); connect(propertiesAction, SIGNAL(triggered()), this, SLOT(showProperties())); popup->addAction(propertiesAction);