From c1b3d3e98d0b9fb6f55604384df6ffd896f46235 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Sun, 25 Aug 2002 05:49:38 +0000 Subject: [PATCH] 2002-08-25 Miguel de Icaza * gtk/TextBuffer.custom: Added SetText with a single argumnet. * gtk/Table.custom: Added empty constructor. GtkTables automatically grow. svn path=/trunk/gtk-sharp/; revision=7024 --- ChangeLog | 7 +++++++ gtk/Table.custom | 4 ++++ gtk/TextBuffer.custom | 4 ++++ makefile | 2 +- sample/DbClient/client.cs | 6 +++--- 5 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 gtk/Table.custom create mode 100644 gtk/TextBuffer.custom diff --git a/ChangeLog b/ChangeLog index c8384ec40..36b948db2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-08-25 Miguel de Icaza + + * gtk/TextBuffer.custom: Added SetText with a single argumnet. + + * gtk/Table.custom: Added empty constructor. GtkTables + automatically grow. + 2002-08-23 Rachel Hestilow * glue/Makefile.am: Fix # terminators. diff --git a/gtk/Table.custom b/gtk/Table.custom new file mode 100644 index 000000000..5ff1da52b --- /dev/null +++ b/gtk/Table.custom @@ -0,0 +1,4 @@ +public Table(uint rows, uint columns, bool homogeneous) +{ + Raw = gtk_table_new (0, 0, false); +} diff --git a/gtk/TextBuffer.custom b/gtk/TextBuffer.custom new file mode 100644 index 000000000..152dc02a2 --- /dev/null +++ b/gtk/TextBuffer.custom @@ -0,0 +1,4 @@ + +public void SetText (string text) { + gtk_text_buffer_set_text (Handle, text, text.Length); +} diff --git a/makefile b/makefile index 4d057e91f..2849cdb26 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,6 @@ NATIVE_DIRS = glue parser -DIRS=generator api glib pango atk gdk art gtk glade gnome sample +DIRS=generator api glib pango atk gdk gtk glade gnome sample ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT))) CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe MCS=mcs diff --git a/sample/DbClient/client.cs b/sample/DbClient/client.cs index 4d1b2afa4..59e0248a5 100644 --- a/sample/DbClient/client.cs +++ b/sample/DbClient/client.cs @@ -450,9 +450,9 @@ class IdConnection : IDisposable public IdConnection () { cnc = new SqlConnection (); - string connectionString = "hostaddr=127.0.0.1;" + - "user=monotest;" + - "password=monotest;" + + string connectionString = "" + + "" + + "" + "dbname=monotest"; cnc.ConnectionString = connectionString;