[Kde-bindings] branches/KDE/4.3/kdebindings/csharp/plasma

Richard Dale Richard_Dale at tipitina.demon.co.uk
Sun Jul 26 14:28:59 UTC 2009


SVN commit 1002605 by rdale:

* Add a C# version of the Extender Plugin Applet tutorial on Techbase
* Fix the PlasmaScripting.Applet.Extender() method

CCMAIL: kde-bindings at kde.org


 M  +4 -0      ChangeLog  
 M  +1 -0      examples/applets/CMakeLists.txt  
 A             examples/applets/extendertutorial (directory)  
 A             examples/applets/extendertutorial/CMakeLists.txt  
 A             examples/applets/extendertutorial/extender_tutorial.cs  
 A             examples/applets/extendertutorial/metadata.desktop  
 M  +1 -1      src/PlasmaScripting_Applet.cs  


--- branches/KDE/4.3/kdebindings/csharp/plasma/ChangeLog #1002604:1002605
@@ -1,3 +1,7 @@
+2009-07-26  Richard Dale  <richard.j.dale at gmail.com>
+* Add a C# version of the Extender Plugin Applet tutorial on Techbase
+* Fix the PlasmaScripting.Applet.Extender() method
+
 2009-07-19  Richard Dale  <richard.j.dale at gmail.com>
 * Regenerate the C# sources for the KDE 4.3 release
 * Add a PlasmaScripting.PopupApplet for writing PopupApplets in C#
--- branches/KDE/4.3/kdebindings/csharp/plasma/examples/applets/CMakeLists.txt #1002604:1002605
@@ -1,3 +1,4 @@
+add_subdirectory( extendertutorial )
 add_subdirectory( tiger )
 add_subdirectory( plasmaclock )
 add_subdirectory( analog-clock )
--- branches/KDE/4.3/kdebindings/csharp/plasma/src/PlasmaScripting_Applet.cs #1002604:1002605
@@ -449,7 +449,7 @@
          ///         <short>   </short>
         [Q_SLOT("Plasma::Extender* extender()")]
         protected Plasma.Extender Extender() {
-            return (Plasma.Extender) appletType.GetMethod("Extender").Invoke(applet, null);
+            return (Plasma.Extender) appletType.GetMethod("Extender", BindingFlags.NonPublic | BindingFlags.Instance).Invoke(applet, null);
         }
         public Applet(AppletScript parent) : base(parent) {
             Connect(applet, SIGNAL("releaseVisualFocus()"), this, SIGNAL("releaseVisualFocus()"));



More information about the Kde-bindings mailing list