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

List:       kde-commits
Subject:    playground/base/nepomuk-kde/annotation/plugins/webpage
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2011-02-25 8:51:48
Message-ID: 20110225085148.DC85A3E1F1 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1222684 by trueg:

Use pimo:isRelated instead of pimo:occurrence for web pages since that is easier to handle.

 M  +2 -2      webpage.cpp  


--- trunk/playground/base/nepomuk-kde/annotation/plugins/webpage/webpage.cpp #1222683:1222684
@@ -85,8 +85,8 @@
         kDebug() << "Creating annotation for url" << mtj->url();
         SimplePimoAnnotation* anno = new SimplePimoAnnotation( this );
         anno->setLabel( mtj->url().url() );
-        anno->setComment( i18n( "Set web reference" ) );
-        anno->setProperty( Vocabulary::PIMO::occurrence() );
+        anno->setComment( i18n( "Related to web page '%1'", mtj->url().url()) );
+        anno->setProperty( Vocabulary::PIMO::isRelated() );
         anno->setValue( Variant( Resource( mtj->url(), Vocabulary::NFO::Website() ) ) );
         addNewAnnotation( anno );
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

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