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

List:       kde-commits
Subject:    extragear/graphics/gwenview
From:       Aurélien Gâteau <aurelien.gateau () free ! fr>
Date:       2005-08-18 13:12:01
Message-ID: 1124370721.007648.19090.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 450553 by gateau:

Use the folder name as an album name for KIPI plugins.


 M  +2 -1      NEWS  
 M  +4 -2      gvcore/kipiinterface.cpp  


--- trunk/extragear/graphics/gwenview/NEWS #450552:450553
@@ -22,7 +22,8 @@
    file view now shows information relative to the current folder, rather than
    the current image.
  - The destination URL is now set to the current URL in KIPI plugins.
-
+ - Use the folder name as an album name for KIPI plugins.
+ 
 2005.07.17 - v1.2.91
 - New features:
  - The file view now features three modes: details, thumbnail with info on the
--- trunk/extragear/graphics/gwenview/gvcore/kipiinterface.cpp #450552:450553
@@ -125,14 +125,16 @@
 	for ( ; it.current(); ++it ) {
 		list.append(it.current()->url());
 	}
-	return KIPI::ImageCollection(new ImageCollection(d->mFileView->dirURL(), \
i18n("Folder Content"), list)); +	KURL url=d->mFileView->dirURL();
+	return KIPI::ImageCollection(new ImageCollection(url, url.fileName(), list));
 }
 
 
 KIPI::ImageCollection KIPIInterface::currentSelection() {
 	LOG("");
 	KURL::List list=d->mFileView->selectedURLs();
-	return KIPI::ImageCollection(new ImageCollection(d->mFileView->dirURL(), \
i18n("Selected Images"), list)); +	KURL url=d->mFileView->dirURL();
+	return KIPI::ImageCollection(new ImageCollection(url, i18n("%1 (Selected \
Images)").arg(url.fileName()), list));  }
 
 


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

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