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

List:       kde-commits
Subject:    kdebase/libkonq
From:       Stephan Binner <binner () kde ! org>
Date:       2005-04-04 22:27:10
Message-ID: 20050404222710.42838641 () office ! kde ! org
[Download RAW message or body]

CVS commit by binner: 

Bug 100597: SVG images don't have 'set as wallpaper' entry in context menu when dragged to desktop


  M +3 -2      konq_operations.cc   1.163


--- kdebase/libkonq/konq_operations.cc  #1.162:1.163
@@ -539,6 +539,7 @@ void KonqOperations::doFileCopy()
             (lst.count() == 1) &&
             ((!KImageIO::type(lst.first().path()).isEmpty()) ||
-             (KImageIO::isSupported(KMimeType::findByURL(lst.first())->name(),
-                                    KImageIO::Reading))))
+             (KImageIO::isSupported(KMimeType::findByURL(lst.first())->name(), KImageIO::Reading)) ||
+              lst.first().fileName().endsWith(".svg") || 
+              lst.first().fileName().endsWith(".svgz")))
         {
             bSetWallpaper = true;


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

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