[Mono-docs-list] glade without gnome

Jasper van Putten jas_lists@gmx.net
Thu, 22 Jan 2004 22:53:53 +0100


This is a multi-part message in MIME format.
--------------020307030609010405000600
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

The example for glade# in the monkeyguide uses gnome-sharp.dll while 
that isn't needed. I made a patch to remove the parts about gnome-sharp, 
that way the example can be used by windows users too.

Jasper van Putten

--------------020307030609010405000600
Content-Type: text/plain;
 name="monkeyguide.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="monkeyguide.patch"

Index: html/en/gnome/bindings/glade/glade.html
===================================================================
RCS file: /mono/monkeyguide/html/en/gnome/bindings/glade/glade.html,v
retrieving revision 1.14
diff -u -r1.14 glade.html
--- html/en/gnome/bindings/glade/glade.html	5 Sep 2003 10:50:46 -0000	1.14
+++ html/en/gnome/bindings/glade/glade.html	22 Jan 2004 21:16:03 -0000
@@ -125,7 +125,6 @@
         using System;
   
         using Gtk;
-        using Gnome;
         using Glade;
         using GtkSharp;
 
@@ -178,12 +177,11 @@
 <td><img src="sample1.png" border="border" /></td>
 <td>
 <pre>
-mcs -unsafe -r:gtk-sharp.dll -r:glade-sharp.dll -r:gnome-sharp.dll glade.cs
+mcs -unsafe -r:gtk-sharp.dll -r:glade-sharp.dll glade.cs
 </pre></td></tr></table>
 <br />
-Of course, include the Gnome and Glade namespaces. 
+Of course, include the Glade namespace. 
 <pre class="code">
-using Gnome;
 using Glade;
 </pre>
 The first part initializes the Application.<br />

--------------020307030609010405000600--