Author: mkestner
Date: 2007-11-08 10:57:59 -0500 (Thu, 08 Nov 2007)
New Revision: 89201

Added:
   
branches/gtksourceview-sharp-0.x/gtksourceview/SourceStyleSchemeAdapter.custom
Modified:
   branches/gtksourceview-sharp-0.x/ChangeLog
   branches/gtksourceview-sharp-0.x/gtksourceview/Makefile.am
Log:

2007-11-08  Mike Kestner  <[EMAIL PROTECTED]>

        * gtksourceview/SourceStyleSchemeAdapter.custom: new custom
        property needed because of the custom interface prop.  This
        should be reworked in 2.0 to use element_type attrs in the 
        api to automatically do all this without customizations.
        [Fixes #336541]


Modified: branches/gtksourceview-sharp-0.x/ChangeLog
===================================================================
--- branches/gtksourceview-sharp-0.x/ChangeLog  2007-11-08 15:56:16 UTC (rev 
89200)
+++ branches/gtksourceview-sharp-0.x/ChangeLog  2007-11-08 15:57:59 UTC (rev 
89201)
@@ -1,3 +1,11 @@
+2007-11-08  Mike Kestner  <[EMAIL PROTECTED]>
+
+       * gtksourceview/SourceStyleSchemeAdapter.custom: new custom
+       property needed because of the custom interface prop.  This
+       should be reworked in 2.0 to use element_type attrs in the 
+       api to automatically do all this without customizations.
+       [Fixes #336541]
+
 2007-04-20  Wade Berrier  <[EMAIL PROTECTED]>
 
        * configure.in: version bump -> 0.11 (been too long)

Modified: branches/gtksourceview-sharp-0.x/gtksourceview/Makefile.am
===================================================================
--- branches/gtksourceview-sharp-0.x/gtksourceview/Makefile.am  2007-11-08 
15:56:16 UTC (rev 89200)
+++ branches/gtksourceview-sharp-0.x/gtksourceview/Makefile.am  2007-11-08 
15:57:59 UTC (rev 89201)
@@ -35,6 +35,7 @@
 SourceLanguage.custom \
 SourceLanguagesManager.custom \
 SourceStyleScheme.custom \
+SourceStyleSchemeAdapter.custom \
 SourceTagTable.custom
 
 build_customs = $(addprefix $(srcdir)/, $(customs))

Added: 
branches/gtksourceview-sharp-0.x/gtksourceview/SourceStyleSchemeAdapter.custom
===================================================================
--- 
branches/gtksourceview-sharp-0.x/gtksourceview/SourceStyleSchemeAdapter.custom  
    2007-11-08 15:56:16 UTC (rev 89200)
+++ 
branches/gtksourceview-sharp-0.x/gtksourceview/SourceStyleSchemeAdapter.custom  
    2007-11-08 15:57:59 UTC (rev 89201)
@@ -0,0 +1,9 @@
+
+               [DllImport ("libgtksourceview-1.0")]
+               static extern IntPtr gtk_source_style_scheme_get_style_names 
(IntPtr handle);
+
+               public string[] StyleNames {
+                        get {
+                               return (string[]) GLib.Marshaller.ListToArray 
(new GLib.SList (gtk_source_style_scheme_get_style_names (Handle), 
typeof(string), false, false), typeof (string));
+                       }
+                }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to