2004-04-30 Mike Kestner <mkestner@ximian.com>

* sample/gconf/* : break System.Drawing dependency.

svn path=/trunk/gtk-sharp/; revision=26427
This commit is contained in:
Mike Kestner 2004-04-30 16:20:43 +00:00
parent 49fc696f4d
commit 67278125a2
4 changed files with 5 additions and 12 deletions

View File

@ -1,3 +1,7 @@
2004-04-30 Mike Kestner <mkestner@ximian.com>
* sample/gconf/* : break System.Drawing dependency.
2004-04-30 Owen Fraser-Green <owen@discobabe.net>
* gconf/tools/gconfsharp-schemagen.in : fixed variables

View File

@ -4,7 +4,7 @@ FILES = \
SCHEMA = $(srcdir)/sample.schema
RESOURCES = /resource:$(srcdir)/sample.glade
REFERENCES = /r:../../glib/glib-sharp.dll /r:../../pango/pango-sharp.dll /r:../../atk/atk-sharp.dll /r:../../art/art-sharp.dll /r:../../gdk/gdk-sharp.dll /r:$(GCONFDIR)/GConf/gconf-sharp.dll /r:../../gtk/gtk-sharp.dll /r:../../gnome/gnome-sharp.dll /r:../../glade/glade-sharp.dll /r:$(GCONFDIR)/GConf.PropertyEditors/gconf-sharp-peditors.dll /r:System.Drawing
REFERENCES = /r:../../glib/glib-sharp.dll /r:../../pango/pango-sharp.dll /r:../../atk/atk-sharp.dll /r:../../art/art-sharp.dll /r:../../gdk/gdk-sharp.dll /r:$(GCONFDIR)/GConf/gconf-sharp.dll /r:../../gtk/gtk-sharp.dll /r:../../gnome/gnome-sharp.dll /r:../../glade/glade-sharp.dll /r:$(GCONFDIR)/GConf.PropertyEditors/gconf-sharp-peditors.dll
top_builddir=../..
GCONFDIR=$(top_builddir)/gconf

View File

@ -55,11 +55,9 @@ namespace Sample
gxml.Autoconnect (new X ());
Settings.Changed += new NotifyEventHandler (Changed);
Settings.TheColorChanged += new NotifyEventHandler (ColorChanged);
EditorShell shell = new EditorShell (gxml);
shell.Add (SettingKeys.Enable, "enable");
shell.Add (SettingKeys.TheColor, "colorpicker");
shell.Add (SettingKeys.TheFilename, "fileentry");
shell.Add (SettingKeys.TheInteger, "spinbutton_int");
shell.Add (SettingKeys.TheFloat, "spinbutton_float");

View File

@ -9,15 +9,6 @@
<default>true</default>
<locale name="C"></locale>
</schema>
<schema>
<key>/schemas/apps/gconfsharp/sample_app/the_color</key>
<applyto>/apps/gconfsharp/sample_app/the_color</applyto>
<owner>sample_app</owner>
<type>string</type>
<cstype>color</cstype>
<locale name="C"></locale>
<default>#0000ff</default>
</schema>
<schema>
<key>/schemas/apps/gconfsharp/sample_app/the_filename</key>
<applyto>/apps/gconfsharp/sample_app/the_filename</applyto>