[Mono-devel-list] Patch against GtkMozEmbed sample (GtkMozApp)

yoros at wanadoo.es yoros at wanadoo.es
Sun Apr 6 01:52:02 EST 2003


Hi,

I can't compile the sample distributed with gtkmozembed-sharp. I had to
change it because of an mismatch with gtk-sharp library.

At the time, I don't know wich is right (gtk-sharp or GtkMozApp) and I
post this patch for the people who want to test GtkMozApp.

If this patch is good, I can commit it.

Regards,

    Pedro

-- 
Pedro Martinez Juliá
\  yoros at terra.es
)|    yoros at wanadoo.es
/        http://yoros.cjb.net
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information:  pub  1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E  534F 588B E285 74F1 D3AC
-------------- next part --------------
Index: GtkMozApp.cs
===================================================================
RCS file: /cvs/public/gtkmozembed-sharp/sample/GtkMozApp.cs,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 GtkMozApp.cs
--- GtkMozApp.cs	3 Apr 2003 18:37:14 -0000	1.1.1.1
+++ GtkMozApp.cs	6 Apr 2003 06:46:19 -0000
@@ -42,17 +42,17 @@ namespace GtkSamples {
 			toolbar.Orientation = Orientation.Horizontal;
 			hbox.PackStart(toolbar, false, false, 0);
 
-			toolbar.AppendItem("Go Back", "Go Back",
-					   "Go Back",  new SignalFunc (back_clicked_cb));
+			toolbar.AppendItem("Go Back", "Go Back", "Go Back",
+					new Label("1"), new SignalFunc (back_clicked_cb));
 
-			toolbar.AppendItem("Stop", "Stop",
-                                           "Stop", new SignalFunc (stop_clicked_cb));
+			toolbar.AppendItem("Stop", "Stop", "Stop",
+					new Label("2"), new SignalFunc (stop_clicked_cb));
 
-			toolbar.AppendItem("Forward", "Go Forward",
-                                           "Go Forward", new SignalFunc (forward_clicked_cb));
+			toolbar.AppendItem("Forward", "Go Forward", "Go Forward",
+					new Label("3"), new SignalFunc (forward_clicked_cb));
 
-			toolbar.AppendItem("Reload", "Reload",
-					   "Reload", new SignalFunc (reload_clicked_cb));
+			toolbar.AppendItem("Reload", "Reload", "Reload",
+					new Label("4"), new SignalFunc (reload_clicked_cb));
 
 			editbox = new Entry();
 			editbox.Activated += new EventHandler(entry_act);


More information about the Mono-devel-list mailing list