* 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
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
<oaf_info>
|
|
|
|
<oaf_server iid="OAFIID:GNOME_Evolution_TestComponent_ShellComponent"
|
|
type="exe"
|
|
location="evolution-test-component">
|
|
|
|
<oaf_attribute name="repo_ids" type="stringv">
|
|
<item value="IDL:GNOME/Evolution/ShellComponent:1.0"/>
|
|
</oaf_attribute>
|
|
|
|
<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>
|