[Monodevelop-patches-list] r1202 - in trunk/MonoDevelop: . gdldock/gdl
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Sat Mar 20 01:48:51 EST 2004
Author: ggiraldez
Date: 2004-03-20 01:48:50 -0500 (Sat, 20 Mar 2004)
New Revision: 1202
Added:
trunk/MonoDevelop/gdldock/gdl/DockObject.custom
Modified:
trunk/MonoDevelop/ChangeLog
trunk/MonoDevelop/gdldock/gdl/Gdl.metadata
trunk/MonoDevelop/gdldock/gdl/Makefile.am
Log:
2004-03-20 Gustavo Gir?\195?\161ldez <gustavo.giraldez at gmx.net>
* gdldock/gdl/Makefile.am:
* gdldock/gdl/Gdl.metadata:
* gdldock/gdl/DockObject.custom: Customize Gdl.DockObject.Present
to accept a null parameter.
Modified: trunk/MonoDevelop/ChangeLog
===================================================================
--- trunk/MonoDevelop/ChangeLog 2004-03-20 05:57:02 UTC (rev 1201)
+++ trunk/MonoDevelop/ChangeLog 2004-03-20 06:48:50 UTC (rev 1202)
@@ -1,5 +1,12 @@
2004-03-20 Gustavo Giráldez <gustavo.giraldez at gmx.net>
+ * gdldock/gdl/Makefile.am:
+ * gdldock/gdl/Gdl.metadata:
+ * gdldock/gdl/DockObject.custom: Customize Gdl.DockObject.Present
+ to accept a null parameter.
+
+2004-03-20 Gustavo Giráldez <gustavo.giraldez at gmx.net>
+
* gdldock/gdl/Makefile.am: Make the generated source files depend
on the custom files too.
* gdldock/gdl/DockLayout.custom: Fix list elements leak.
Added: trunk/MonoDevelop/gdldock/gdl/DockObject.custom
===================================================================
--- trunk/MonoDevelop/gdldock/gdl/DockObject.custom 2004-03-20 05:57:02 UTC (rev 1201)
+++ trunk/MonoDevelop/gdldock/gdl/DockObject.custom 2004-03-20 06:48:50 UTC (rev 1202)
@@ -0,0 +1,14 @@
+// DockObject.custom - customizations to Gdl.DockObject
+//
+// Authors: Gustavo Giráldez <gustavo.giraldez at gmx.net>
+
+[DllImport("gdldock")]
+static extern void gdl_dock_object_present(IntPtr raw, IntPtr child);
+
+public void Present (Gdl.DockObject child) {
+ if (child != null)
+ gdl_dock_object_present (Handle, child.Handle);
+ else
+ gdl_dock_object_present (Handle, IntPtr.Zero);
+}
+
Modified: trunk/MonoDevelop/gdldock/gdl/Gdl.metadata
===================================================================
--- trunk/MonoDevelop/gdldock/gdl/Gdl.metadata 2004-03-20 05:57:02 UTC (rev 1201)
+++ trunk/MonoDevelop/gdldock/gdl/Gdl.metadata 2004-03-20 06:48:50 UTC (rev 1202)
@@ -1,6 +1,7 @@
<metadata>
<attr path="/api/namespace/object[@cname='GdlDockObject']/signal[@name='Detach']" name="name">Detached</attr>
<attr path="/api/namespace/object[@cname='GdlDockObject']/signal[@name='Dock']" name="name">Docked</attr>
+ <attr path="/api/namespace/object[@cname='GdlDockObject']/method[@name='Present']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GdlDockLayout']/method[@name='GetLayouts']" name="hidden">1</attr>
<attr path="/api/namespace/enum[@cname='GdlDockItemFlags']" name="hidden">1</attr>
<attr path="/api/namespace/enum[@cname='GdlDockParamFlags']" name="hidden">1</attr>
Modified: trunk/MonoDevelop/gdldock/gdl/Makefile.am
===================================================================
--- trunk/MonoDevelop/gdldock/gdl/Makefile.am 2004-03-20 05:57:02 UTC (rev 1201)
+++ trunk/MonoDevelop/gdldock/gdl/Makefile.am 2004-03-20 06:48:50 UTC (rev 1202)
@@ -7,7 +7,12 @@
@gtksharp_prefix@/share/gapi/gtk-api.xml \
@gtksharp_prefix@/share/gapi/atk-api.xml
-CUSTOM_FILES = DockItemFlags.cs DockParamFlags.cs DockLayout.custom
+CUSTOM_FILES = \
+ DockItemFlags.cs \
+ DockParamFlags.cs \
+ DockLayout.custom \
+ DockObject.custom
+
custom_files_build = $(addprefix $(srcdir)/, $(CUSTOM_FILES))
all: $(ASSEMBLY)
More information about the Monodevelop-patches-list
mailing list