aboutsummaryrefslogtreecommitdiffstats
path: root/shell/GNOME_Evolution_TestComponent.oaf
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-03-08 06:23:40 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-03-08 06:23:40 +0800
commit0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8 (patch)
treea3ef62262ee8d70c93df905b2ad4ffe0671504ab /shell/GNOME_Evolution_TestComponent.oaf
parent4c85b0318ef51e52451657ef0ce6eabc25b08ea8 (diff)
downloadgsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.tar
gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.tar.gz
gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.tar.bz2
gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.tar.lz
gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.tar.xz
gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.tar.zst
gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.zip
New function to create a test configuration page for the test component.
* evolution-test-component.c (create_configuration_page): New function to create a test configuration page for the test component. (configuration_control_factory_fn): Factory function for the configuration controls. (register_configuration_control_factory): New function to register the factory. (main): Call it. * e-shell-view-menu.c: Add verb "Settings". (command_settings): Implementation for the "Settings" verb. * GNOME_Evolution_TestComponent.oaf: Add a configuration control. * e-shell-settings-dialog.c: New. * e-shell-settings-dialog.h: New. svn path=/trunk/; revision=15977
Diffstat (limited to 'shell/GNOME_Evolution_TestComponent.oaf')
-rw-r--r--shell/GNOME_Evolution_TestComponent.oaf26
1 files changed, 26 insertions, 0 deletions
diff --git a/shell/GNOME_Evolution_TestComponent.oaf b/shell/GNOME_Evolution_TestComponent.oaf
index d5ef5333be..ce42825943 100644
--- a/shell/GNOME_Evolution_TestComponent.oaf
+++ b/shell/GNOME_Evolution_TestComponent.oaf
@@ -10,6 +10,32 @@
<oaf_attribute name="description" type="string"
value="Evolution test component."/>
+
+</oaf_server>
+
+<oaf_server iid="OAFIID:GNOME_Evolution_TestComponent_ConfigurationControlFactory"
+ type="exe"
+ location="evolution-test-component">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:GNOME/ObjectFactory:1.0"/>
+ </oaf_attribute>
+
+ <oaf_attribute name="description" type="string"
+ value="Factory for the configuration controls for the test component."/>
+
+</oaf_server>
+
+<oaf_server iid="OAFIID:GNOME_Evolution_TestComponent_ConfigurationControl"
+ type="factory"
+ location="OAFIID:GNOME_Evolution_TestComponent_ConfigurationControlFactory">
+
+ <oaf_attribute name="evolution:config_item:title" type="string"
+ value="Test Component configuration"/>
+
+ <oaf_attribute name="evolution:config_item:description" type="string"
+ value="This allows you to configure the Test Component"/>
+
</oaf_server>
</oaf_info>