mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-16 11:34:47 +02:00
2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/DbClient/GnomeDbClient.cs: * sample/DbClient/client.cs: make them build. svn path=/trunk/gtk-sharp/; revision=9189
This commit is contained in:
parent
ff7659b43e
commit
99facd09b8
@ -1,3 +1,8 @@
|
|||||||
|
2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||||
|
|
||||||
|
* sample/DbClient/GnomeDbClient.cs:
|
||||||
|
* sample/DbClient/client.cs: make them build.
|
||||||
|
|
||||||
2002-11-25 Alejandro Sánchez Acosta <raciel@es.gnu.org>
|
2002-11-25 Alejandro Sánchez Acosta <raciel@es.gnu.org>
|
||||||
|
|
||||||
* Added eventbox, rangewidget, scribble and packing sample widget.
|
* Added eventbox, rangewidget, scribble and packing sample widget.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using Gda;
|
using Gda;
|
||||||
using GnomeDb;
|
using GnomeDb;
|
||||||
|
using GdaSharp;
|
||||||
using Gtk;
|
using Gtk;
|
||||||
using GtkSharp;
|
using GtkSharp;
|
||||||
|
|
||||||
@ -56,7 +57,7 @@ class GnomeDbClient {
|
|||||||
if (dialog.Run () == true) {
|
if (dialog.Run () == true) {
|
||||||
if (client == null) {
|
if (client == null) {
|
||||||
client = new Gda.Client ();
|
client = new Gda.Client ();
|
||||||
client.Error += new GtkSharp.ErrorHandler (Client_Error);
|
client.Error += new GdaSharp.ErrorHandler (Client_Error);
|
||||||
}
|
}
|
||||||
|
|
||||||
cnc = client.OpenConnection (dialog.Dsn, dialog.Username, dialog.Password);
|
cnc = client.OpenConnection (dialog.Dsn, dialog.Username, dialog.Password);
|
||||||
|
@ -89,7 +89,7 @@ class Client {
|
|||||||
toolbar.AppendSpace ();
|
toolbar.AppendSpace ();
|
||||||
|
|
||||||
toolbar.InsertStock (Stock.Quit, "Quit", String.Empty,
|
toolbar.InsertStock (Stock.Quit, "Quit", String.Empty,
|
||||||
new SignalFunc (Quit), -1);
|
new Gtk.SignalFunc (Quit), IntPtr.Zero, -1);
|
||||||
|
|
||||||
toolbar.ToolbarStyle = ToolbarStyle.BothHoriz;
|
toolbar.ToolbarStyle = ToolbarStyle.BothHoriz;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user