[Digikam-devel] extragear/graphics/digikam/digikam

Andi Clemens andi.clemens at gmx.net
Fri May 15 12:36:21 BST 2009


SVN commit 968225 by aclemens:

It is more visible to use icons in the context menu, especially with our
quite big contextmenu, entries can get lost quite easy.
I added the tag icon for the "assign tag" / "remove tag" actions.

What do you think?
I think it helps a lot to identify those entries now.

Andi

CCMAIL:digikam-devel at kde.org

 M  +2 -0      contextmenuhelper.cpp  


--- trunk/extragear/graphics/digikam/digikam/contextmenuhelper.cpp #968224:968225
@@ -322,6 +322,7 @@
 
     KMenu* assignTagsPopup = new TagsPopupMenu(ids, TagsPopupMenu::ASSIGN, d->parent);
     assignTagsPopup->menuAction()->setText(i18n("Assign Tag"));
+    assignTagsPopup->menuAction()->setIcon(SmallIcon("tag"));
     d->parent->addMenu(assignTagsPopup);
 
     connect(assignTagsPopup, SIGNAL(signalTagActivated(int)),
@@ -334,6 +335,7 @@
 
     KMenu* removeTagsPopup = new TagsPopupMenu(ids, TagsPopupMenu::REMOVE, d->parent);
     removeTagsPopup->menuAction()->setText(i18n("Remove Tag"));
+    removeTagsPopup->menuAction()->setIcon(SmallIcon("tag"));
     d->parent->addMenu(removeTagsPopup);
 
     // Performance: Only check for tags if there are <250 images selected



More information about the Digikam-devel mailing list