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:
parent
49fc696f4d
commit
67278125a2
4 changed files with 5 additions and 12 deletions
|
@ -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>
|
2004-04-30 Owen Fraser-Green <owen@discobabe.net>
|
||||||
|
|
||||||
* gconf/tools/gconfsharp-schemagen.in : fixed variables
|
* gconf/tools/gconfsharp-schemagen.in : fixed variables
|
||||||
|
|
|
@ -4,7 +4,7 @@ FILES = \
|
||||||
|
|
||||||
SCHEMA = $(srcdir)/sample.schema
|
SCHEMA = $(srcdir)/sample.schema
|
||||||
RESOURCES = /resource:$(srcdir)/sample.glade
|
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=../..
|
top_builddir=../..
|
||||||
GCONFDIR=$(top_builddir)/gconf
|
GCONFDIR=$(top_builddir)/gconf
|
||||||
|
|
|
@ -55,11 +55,9 @@ namespace Sample
|
||||||
gxml.Autoconnect (new X ());
|
gxml.Autoconnect (new X ());
|
||||||
|
|
||||||
Settings.Changed += new NotifyEventHandler (Changed);
|
Settings.Changed += new NotifyEventHandler (Changed);
|
||||||
Settings.TheColorChanged += new NotifyEventHandler (ColorChanged);
|
|
||||||
|
|
||||||
EditorShell shell = new EditorShell (gxml);
|
EditorShell shell = new EditorShell (gxml);
|
||||||
shell.Add (SettingKeys.Enable, "enable");
|
shell.Add (SettingKeys.Enable, "enable");
|
||||||
shell.Add (SettingKeys.TheColor, "colorpicker");
|
|
||||||
shell.Add (SettingKeys.TheFilename, "fileentry");
|
shell.Add (SettingKeys.TheFilename, "fileentry");
|
||||||
shell.Add (SettingKeys.TheInteger, "spinbutton_int");
|
shell.Add (SettingKeys.TheInteger, "spinbutton_int");
|
||||||
shell.Add (SettingKeys.TheFloat, "spinbutton_float");
|
shell.Add (SettingKeys.TheFloat, "spinbutton_float");
|
||||||
|
|
|
@ -9,15 +9,6 @@
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
<locale name="C"></locale>
|
<locale name="C"></locale>
|
||||||
</schema>
|
</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>
|
<schema>
|
||||||
<key>/schemas/apps/gconfsharp/sample_app/the_filename</key>
|
<key>/schemas/apps/gconfsharp/sample_app/the_filename</key>
|
||||||
<applyto>/apps/gconfsharp/sample_app/the_filename</applyto>
|
<applyto>/apps/gconfsharp/sample_app/the_filename</applyto>
|
||||||
|
|
Loading…
Add table
Reference in a new issue