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

List:       kde-commits
Subject:    KDE_3_4_BRANCH: kdebase/libkonq
From:       Stephan Binner <binner () kde ! org>
Date:       2005-04-04 22:26:49
Message-ID: 20050404222649.21298641 () 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.161.2.1


--- kdebase/libkonq/konq_operations.cc  #1.161:1.161.2.1
@@ -575,6 +575,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