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

List:       kde-bindings
Subject:    [Kde-bindings] branches/KDE/4.4/kdebindings/ruby/korundum
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2010-01-15 18:00:48
Message-ID: 1263578448.222294.16971.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1075241 by rdale:

* Nested classes such as KEncodingFileDialog::Result weren't being 
correctly converted to their ruby form with a KDE:: namespace. Thanks
to Stefano Crocco for reporting the bug

CCMAIL: kde-bindings@kde.org


 M  +5 -0      ChangeLog  
 M  +4 -1      src/lib/KDE/korundum4.rb  


--- branches/KDE/4.4/kdebindings/ruby/korundum/ChangeLog #1075240:1075241
@@ -1,3 +1,8 @@
+2010-01-15  Richard Dale  <richard.j.dale@gmail.com>
+    * Nested classes such as KEncodingFileDialog::Result weren't being 
+    correctly converted to their ruby form with a KDE:: namespace. Thanks
+    to Stefano Crocco for reporting the bug
+
 2009-09-22  Richard Dale  <richard.j.dale@gmail.com>
     * Fix broken KDE::ConfigGroup.readEntry method. Thanks to Paulo Capriotti
       for reporting the bug
--- branches/KDE/4.4/kdebindings/ruby/korundum/src/lib/KDE/korundum4.rb #1075240:1075241
@@ -571,7 +571,10 @@
 					now = classname.sub(/KCore/,'KDE::')
 				elsif classname =~ /^(KConfigSkeleton|KWin|KDateTime|KTimeZone|KSettings)::/
 					now = classname.sub(/^K?(?=[A-Z])/,'KDE::')
-				elsif classname =~ /^K/ && classname !~ /::/
+                elsif classname =~ /^(KIO|KParts|KNS|KNS3|KWallet|KAuth|KSettings)::/
+                    now = classname
+                elsif classname =~ /^K/
+#                elsif classname =~ /^K/ && classname !~ /::/
 					now = classname.sub(/(^K)/, 'KDE::')
 				end
 				now
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread] 

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