[Digikam-devel] [Bug 113805] Image contextual menu "Set as Tag Thumbnail" in "Dates" view and "Searches" view ?

Renchi Raju renchi.raju at kdemail.net
Tue Oct 4 09:44:02 BST 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=113805         
renchi.raju kdemail net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From renchi.raju kdemail net  2005-10-04 10:25 -------
SVN commit 467065 by pahlibar:

disable the "set as XX thumbnail" in the non-albums/tags
view

BUGS: 113805


 M  +7 -4      albumiconview.cpp  


--- trunk/extragear/graphics/digikam/digikam/albumiconview.cpp #467064:467065
 @ -444,10 +444,13  @
     popmenu.insertItem(SmallIcon("exifinfo"),
                        i18n("Properties"), 14);
 
-    if( d->currentAlbum && d->currentAlbum->type() == Album::PHYSICAL )
-        popmenu.insertItem(i18n("Set as Album Thumbnail"), 17);
-    else
-        popmenu.insertItem(i18n("Set as Tag Thumbnail"), 17);
+    if (d->currentAlbum)
+    {
+        if (d->currentAlbum->type() == Album::PHYSICAL )
+            popmenu.insertItem(i18n("Set as Album Thumbnail"), 17);
+        else if (d->currentAlbum->type() == Album::TAG )
+            popmenu.insertItem(i18n("Set as Tag Thumbnail"), 17);
+    }
 
     popmenu.insertSeparator();



More information about the Digikam-devel mailing list