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

List:       kde-commits
Subject:    playground/base/plasma/ions/willab
From:       Teemu Rytilahti <tpr () d5k ! net>
Date:       2008-07-31 22:17:38
Message-ID: 1217542658.851768.15299.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 840348 by rytilahti:

add proper placename and 'list' source, so that configdialog can detect it automatically..

 M  +6 -2      ion_willab.cpp  


--- trunk/playground/base/plasma/ions/willab/ion_willab.cpp #840347:840348
@@ -73,13 +73,17 @@
             return true;
         }
         else if(src[1] == "validate") {
-            if(src[2].toLower() == "willab") {
-                setData(source, "validate", "willab|valid|single|place|willab");
+            if(src[2].toLower() == "Linnanmaa, Oulu, Finland") {
+                setData(source, "validate", "willab|valid|single|place|Linnanmaa, Oulu, Finland");
                 return true;
             }
             else
                 setData(source, "validate", QString("willab|invalid|single|%1").arg(src[2]));
         }
+        else if(src[1] == "list") {
+            setData(source, "validate", "willab|valid|single|place|Linnanmaa, Oulu, Finland");    
+            return true;
+        }
     }
 
     return false;
[prev in list] [next in list] [prev in thread] [next in thread] 

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