Commit e72152dd authored by Michael Meeks's avatar Michael Meeks Committed by Michael Meeks
Browse files

replace all the OAFIIDs with more sensibly named ones, that follow the

2002-04-18  Michael Meeks  <michael@ximian.com>

	* *.server.in, *.c: replace all the OAFIIDs with more
	sensibly named ones, that follow the namespacing
	guidelines in the libbonobo/docs/FAQ. Needs a new
	gnome-vfs to work well.

	* src/nautilus-window-toolbars.c
	(throbber_set_throbbing): impl.
	(throbber_created_callback): upd.
	(nautilus_window_allow_stop): upd.

	* libnautilus-private/nautilus-mime-actions.c
	(nautilus_do_component_query): remove hack around bonobo's
	sample text component, we no longer have one.
parent 2af5520c
2002-04-18 Michael Meeks <michael@ximian.com>
* *.server.in, *.c: replace all the OAFIIDs with more
sensibly named ones, that follow the namespacing
guidelines in the libbonobo/docs/FAQ. Needs a new
gnome-vfs to work well.
* src/nautilus-window-toolbars.c
(throbber_set_throbbing): impl.
(throbber_created_callback): upd.
(nautilus_window_allow_stop): upd.
* libnautilus-private/nautilus-mime-actions.c
(nautilus_do_component_query): remove hack around bonobo's
sample text component, we no longer have one.
2002-04-17 Anders Carlsson <andersca@gnu.org>
* src/file-manager/fm-properties-window.c:
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_adapter_factory_generic_factory:8e62e106-807d-4d37-b14a-00dc82ecf88f" type="exe" location="nautilus-adapter">
<oaf_server iid="OAFIID:Nautilus_Adapter_Factory_Factory" type="exe" location="nautilus-adapter">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -9,7 +9,7 @@
<oaf_attribute name="description" type="string" _value="Factory for Nautilus component adapter factories "/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_adapter_factory:fd24ecfc-0a6e-47ab-bc53-69d7487c6ad4" type="factory" location="OAFIID:nautilus_adapter_factory_generic_factory:8e62e106-807d-4d37-b14a-00dc82ecf88f">
<oaf_server iid="OAFIID:Nautilus_Adapter_Factory" type="factory" location="OAFIID:Nautilus_Adapter_Factory_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Nautilus/ComponentAdapterFactory:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_adapter_factory_generic_factory:8e62e106-807d-4d37-b14a-00dc82ecf88f" type="exe" location="nautilus-adapter">
<oaf_server iid="OAFIID:Nautilus_Adapter_Factory_Factory" type="exe" location="nautilus-adapter">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -9,7 +9,7 @@
<oaf_attribute name="description" type="string" _value="Factory for Nautilus component adapter factories "/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_adapter_factory:fd24ecfc-0a6e-47ab-bc53-69d7487c6ad4" type="factory" location="OAFIID:nautilus_adapter_factory_generic_factory:8e62e106-807d-4d37-b14a-00dc82ecf88f">
<oaf_server iid="OAFIID:Nautilus_Adapter_Factory" type="factory" location="OAFIID:Nautilus_Adapter_Factory_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Nautilus/ComponentAdapterFactory:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
......
......@@ -41,8 +41,8 @@
#include <stdlib.h>
#include <string.h>
#define META_FACTORY_IID "OAFIID:nautilus_adapter_factory_generic_factory:8e62e106-807d-4d37-b14a-00dc82ecf88f"
#define FACTORY_OBJECT_IID "OAFIID:nautilus_adapter_factory:fd24ecfc-0a6e-47ab-bc53-69d7487c6ad4"
#define META_FACTORY_IID "OAFIID:Nautilus_Adapter_Factory_Factory"
#define FACTORY_OBJECT_IID "OAFIID:Nautilus_Adapter_Factory"
static int object_count = 0;
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_hardware_view_factory:8c80e55a-5c03-4403-9e51-3a5711b8a5ce" type="exe" location="nautilus-hardware-view">
<oaf_server iid="OAFIID:Nautilus_Hardware_View_Factory" type="exe" location="nautilus-hardware-view">
<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 hardware view"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_hardware_view:4a3f3793-bab4-4640-9f56-e7871fe8e150" type="factory" location="OAFIID:nautilus_hardware_view_factory:8c80e55a-5c03-4403-9e51-3a5711b8a5ce">
<oaf_server iid="OAFIID:Nautilus_Hardware_View" type="factory" location="OAFIID:Nautilus_Hardware_View_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_hardware_view_factory:8c80e55a-5c03-4403-9e51-3a5711b8a5ce" type="exe" location="nautilus-hardware-view">
<oaf_server iid="OAFIID:Nautilus_Hardware_View_Factory" type="exe" location="nautilus-hardware-view">
<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 hardware view"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_hardware_view:4a3f3793-bab4-4640-9f56-e7871fe8e150" type="factory" location="OAFIID:nautilus_hardware_view_factory:8c80e55a-5c03-4403-9e51-3a5711b8a5ce">
<oaf_server iid="OAFIID:Nautilus_Hardware_View" type="factory" location="OAFIID:Nautilus_Hardware_View_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
......@@ -22,8 +22,8 @@
/* main.c - main function and object activation function for the hardware view component. */
#define FACTORY_IID "OAFIID:nautilus_hardware_view_factory:8c80e55a-5c03-4403-9e51-3a5711b8a5ce"
#define VIEW_IID "OAFIID:nautilus_hardware_view:4a3f3793-bab4-4640-9f56-e7871fe8e150"
#define FACTORY_IID "OAFIID:Nautilus_Hardware_View_Factory"
#define VIEW_IID "OAFIID:Nautilus_Hardware_View"
#include <config.h>
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_history_view_factory:912d6634-d18f-40b6-bb83-bdfe16f1d15e" type="exe" location="nautilus-history-view">
<oaf_server iid="OAFIID:Nautilus_History_View_Factory" type="exe" location="nautilus-history-view">
<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 history views"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_history_view:a7a85bdd-2ecf-4bc1-be7c-ed328a29aacb" type="factory" location="OAFIID:nautilus_history_view_factory:912d6634-d18f-40b6-bb83-bdfe16f1d15e">
<oaf_server iid="OAFIID:Nautilus_History_View" type="factory" location="OAFIID:Nautilus_History_View_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_history_view_factory:912d6634-d18f-40b6-bb83-bdfe16f1d15e" type="exe" location="nautilus-history-view">
<oaf_server iid="OAFIID:Nautilus_History_View_Factory" type="exe" location="nautilus-history-view">
<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 history views"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_history_view:a7a85bdd-2ecf-4bc1-be7c-ed328a29aacb" type="factory" location="OAFIID:nautilus_history_view_factory:912d6634-d18f-40b6-bb83-bdfe16f1d15e">
<oaf_server iid="OAFIID:Nautilus_History_View" type="factory" location="OAFIID:Nautilus_History_View_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
......@@ -41,8 +41,8 @@
#include <libnautilus/nautilus-view.h>
#include <libnautilus/nautilus-view-standard-main.h>
#define FACTORY_IID "OAFIID:nautilus_history_view_factory:912d6634-d18f-40b6-bb83-bdfe16f1d15e"
#define VIEW_IID "OAFIID:nautilus_history_view:a7a85bdd-2ecf-4bc1-be7c-ed328a29aacb"
#define FACTORY_IID "OAFIID:Nautilus_History_View_Factory"
#define VIEW_IID "OAFIID:Nautilus_History_View"
#define NAUTILUS_TYPE_HISTORY_VIEW (nautilus_history_view_get_type ())
#define NAUTILUS_HISTORY_VIEW(obj) (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_HISTORY_VIEW, NautilusHistoryView))
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_content_loser_factory:adf30e75-3b63-4360-8784-a8e239390a69" type="exe" location="nautilus-content-loser">
<oaf_server iid="OAFIID:Nautilus_Content_Loser_Factory" type="exe" location="nautilus-content-loser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -8,7 +8,7 @@
<oaf_attribute name="description" type="string" _value="Nautilus content loser component's factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_content_loser:95901458-c68b-43aa-aaca-870ced11062d" type="factory" location="OAFIID:nautilus_content_loser_factory:adf30e75-3b63-4360-8784-a8e239390a69">
<oaf_server iid="OAFIID:Nautilus_Content_Loser" type="factory" location="OAFIID:Nautilus_Content_Loser_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_content_loser_factory:adf30e75-3b63-4360-8784-a8e239390a69" type="exe" location="nautilus-content-loser">
<oaf_server iid="OAFIID:Nautilus_Content_Loser_Factory" type="exe" location="nautilus-content-loser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -8,7 +8,7 @@
<oaf_attribute name="description" type="string" _value="Nautilus content loser component's factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_content_loser:95901458-c68b-43aa-aaca-870ced11062d" type="factory" location="OAFIID:nautilus_content_loser_factory:adf30e75-3b63-4360-8784-a8e239390a69">
<oaf_server iid="OAFIID:Nautilus_Content_Loser" type="factory" location="OAFIID:Nautilus_Content_Loser_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
......@@ -53,7 +53,7 @@ loser_make_object (BonoboGenericFactory *factory,
nautilus_content_loser_maybe_fail ("pre-make-object");
if (strcmp (iid, "OAFIID:nautilus_content_loser:95901458-c68b-43aa-aaca-870ced11062d")) {
if (strcmp (iid, "OAFIID:Nautilus_Content_Loser")) {
return NULL;
}
......@@ -82,7 +82,7 @@ int main(int argc, char *argv[])
nautilus_content_loser_maybe_fail ("post-init");
registration_id = eel_bonobo_make_registration_id
("OAFIID:nautilus_content_loser_factory:adf30e75-3b63-4360-8784-a8e239390a69");
("OAFIID:Nautilus_Content_Loser_Factory");
factory = bonobo_generic_factory_new (registration_id,
loser_make_object,
NULL);
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_sidebar_loser_factory:5d9aadfa-a8a4-4ec0-8332-d6f806c211fa" type="exe" location="nautilus-sidebar-loser">
<oaf_server iid="OAFIID:Nautilus_Sidebar_Loser_Factory" type="exe" location="nautilus-sidebar-loser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -8,7 +8,7 @@
<oaf_attribute name="description" type="string" _value="Nautilus sidebar loser component's factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_sidebar_loser:07bfdd1d-7abc-4412-98ab-441b226a10d0" type="factory" location="OAFIID:nautilus_sidebar_loser_factory:5d9aadfa-a8a4-4ec0-8332-d6f806c211fa">
<oaf_server iid="OAFIID:Nautilus_Sidebar_Loser" type="factory" location="OAFIID:Nautilus_Sidebar_Loser_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_sidebar_loser_factory:5d9aadfa-a8a4-4ec0-8332-d6f806c211fa" type="exe" location="nautilus-sidebar-loser">
<oaf_server iid="OAFIID:Nautilus_Sidebar_Loser_Factory" type="exe" location="nautilus-sidebar-loser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -8,7 +8,7 @@
<oaf_attribute name="description" type="string" _value="Nautilus sidebar loser component's factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_sidebar_loser:07bfdd1d-7abc-4412-98ab-441b226a10d0" type="factory" location="OAFIID:nautilus_sidebar_loser_factory:5d9aadfa-a8a4-4ec0-8332-d6f806c211fa">
<oaf_server iid="OAFIID:Nautilus_Sidebar_Loser" type="factory" location="OAFIID:Nautilus_Sidebar_Loser_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
......@@ -32,6 +32,8 @@
#include <eel/eel-gnome-extensions.h>
#include <bonobo.h>
#define FACTORY_IID "OAFIID:Nautilus_Sidebar_Loser_Factory"
static int object_count = 0;
static void
......@@ -53,7 +55,7 @@ loser_make_object (BonoboGenericFactory *factory,
nautilus_sidebar_loser_maybe_fail ("pre-make-object");
if (strcmp (iid, "OAFIID:nautilus_sidebar_loser:07bfdd1d-7abc-4412-98ab-441b226a10d0")) {
if (strcmp (iid, "OAFIID:Nautilus_Sidebar_Loser")) {
return NULL;
}
......@@ -84,9 +86,8 @@ int main(int argc, char *argv[])
nautilus_sidebar_loser_maybe_fail ("post-init");
registration_id = eel_bonobo_make_registration_id (
"OAFIID:nautilus_sidebar_loser_factory:5d9aadfa-a8a4-4ec0-8332-d6f806c211fa");
factory = bonobo_generic_factory_new ("OAFIID:nautilus_sidebar_loser_factory:5d9aadfa-a8a4-4ec0-8332-d6f806c211fa",
registration_id = eel_bonobo_make_registration_id (FACTORY_IID);
factory = bonobo_generic_factory_new (FACTORY_IID,
loser_make_object,
NULL);
g_free (registration_id);
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_music_view_factory:1be0c129-87cd-4daa-9d3a-94397de9bce2" type="exe" location="nautilus-music-view">
<oaf_server iid="OAFIID:Nautilus_Music_View_Factory" type="exe" location="nautilus-music-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -8,7 +8,7 @@
<oaf_attribute name="description" type="string" _value="Factory for music view"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_music_view:9456b5d2-60a8-407f-a56e-d561e1821391" type="factory" location="OAFIID:nautilus_music_view_factory:1be0c129-87cd-4daa-9d3a-94397de9bce2">
<oaf_server iid="OAFIID:Nautilus_Music_View" type="factory" location="OAFIID:Nautilus_Music_View_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_music_view_factory:1be0c129-87cd-4daa-9d3a-94397de9bce2" type="exe" location="nautilus-music-view">
<oaf_server iid="OAFIID:Nautilus_Music_View_Factory" type="exe" location="nautilus-music-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -8,7 +8,7 @@
<oaf_attribute name="description" type="string" _value="Factory for music view"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_music_view:9456b5d2-60a8-407f-a56e-d561e1821391" type="factory" location="OAFIID:nautilus_music_view_factory:1be0c129-87cd-4daa-9d3a-94397de9bce2">
<oaf_server iid="OAFIID:Nautilus_Music_View" type="factory" location="OAFIID:Nautilus_Music_View_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
......@@ -32,8 +32,8 @@
#include <libnautilus-private/nautilus-global-preferences.h>
#include <eel/eel-debug.h>
#define FACTORY_IID "OAFIID:nautilus_music_view_factory:1be0c129-87cd-4daa-9d3a-94397de9bce2"
#define VIEW_IID "OAFIID:nautilus_music_view:9456b5d2-60a8-407f-a56e-d561e1821391"
#define VIEW_IID "OAFIID:Nautilus_Music_View"
#define FACTORY_IID "OAFIID:Nautilus_Music_View_Factory"
int
main (int argc, char *argv[])
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_news_view_factory:041601" type="exe" location="nautilus-news">
<oaf_server iid="OAFIID:Nautilus_News_View_Factory" type="exe" location="nautilus-news">
<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 news view"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_news_view:041601" type="factory" location="OAFIID:nautilus_news_view_factory:041601">
<oaf_server iid="OAFIID:Nautilus_News_View" type="factory" location="OAFIID:Nautilus_News_View_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
......@@ -2549,8 +2549,8 @@ main(int argc, char *argv[])
GNOMELOCALEDIR,
argc,
argv,
"OAFIID:nautilus_news_view_factory:041601",
"OAFIID:nautilus_news_view:041601",
"OAFIID:Nautilus_News_View_Factory",
"OAFIID:Nautilus_News_View",
make_news_view,
nautilus_global_preferences_init,
NULL);
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_notes_view_factory:4b39e388-3ca2-4d68-9f3d-c137ee62d5b0" type="exe" location="nautilus-notes">
<oaf_server iid="OAFIID:Nautilus_Notes_View_Factory" type="exe" location="nautilus-notes">
<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 annotation view"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_notes_view:7f04c3cb-df79-4b9a-a577-38b19ccd4185" type="factory" location="OAFIID:nautilus_notes_view_factory:4b39e388-3ca2-4d68-9f3d-c137ee62d5b0">
<oaf_server iid="OAFIID:Nautilus_Notes_View" type="factory" location="OAFIID:Nautilus_Notes_View_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_notes_view_factory:4b39e388-3ca2-4d68-9f3d-c137ee62d5b0" type="exe" location="nautilus-notes">
<oaf_server iid="OAFIID:Nautilus_Notes_View_Factory" type="exe" location="nautilus-notes">
<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 annotation view"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_notes_view:7f04c3cb-df79-4b9a-a577-38b19ccd4185" type="factory" location="OAFIID:nautilus_notes_view_factory:4b39e388-3ca2-4d68-9f3d-c137ee62d5b0">
<oaf_server iid="OAFIID:Nautilus_Notes_View" type="factory" location="OAFIID:Nautilus_Notes_View_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
......@@ -430,8 +430,8 @@ main(int argc, char *argv[])
GNOMELOCALEDIR,
argc,
argv,
"OAFIID:nautilus_notes_view_factory:4b39e388-3ca2-4d68-9f3d-c137ee62d5b0",
"OAFIID:nautilus_notes_view:7f04c3cb-df79-4b9a-a577-38b19ccd4185",
"OAFIID:Nautilus_Notes_View_Factory",
"OAFIID:Nautilus_Notes_View",
make_notes_view,
nautilus_global_preferences_init,
NULL);
......
<oaf_info>
<!-- WHAT YOU NEED TO CHANGE: Replace all the OAFIID strings (you can
use `uuidgen' to generate the random number looking part).
Also make sure to replace the names, and change the mime/scheme attributes
and interfaces to what your component really supports.
And finally, make sure to remove the test_only attribute.
<!-- WHAT YOU NEED TO CHANGE:
a) Replace all the OAFIID strings to do this you need to register
your namespace, and then generate some unique names inside
it. See libbonobo/doc/FAQ 'How should I create unique OAFIIDs for
components ?'.
b) Alter the repo_ids to the interfaces you support.
c) Point the 'location' at the executable that your project installs
d) And finally, make sure to remove the test_only attribute.
-->
<oaf_server iid="OAFIID:nautilus_sample_content_view_factory:3df6b028-be44-4a18-95c3-7720f50ca0c5" type="exe" location="nautilus-sample-content-view">
<oaf_server iid="OAFIID:Nautilus_Sample_Content_View_Factory" type="exe" location="nautilus-sample-content-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -15,7 +22,7 @@
<oaf_attribute name="description" type="string" _value="Sample content view component's factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_sample_content_view:45c746bc-7d64-4346-90d5-6410463b43ae" type="factory" location="OAFIID:nautilus_sample_content_view_factory:3df6b028-be44-4a18-95c3-7720f50ca0c5">
<oaf_server iid="OAFIID:Nautilus_Sample_Content_View" type="factory" location="OAFIID:Nautilus_Sample_Content_View_Factory">
<oaf_attribute name="test_only" type="boolean" value="true"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
......
<oaf_info>
<!-- WHAT YOU NEED TO CHANGE: Replace all the OAFIID strings (you can
use `uuidgen' to generate the random number looking part).
Also make sure to replace the names, and change the mime/scheme attributes
and interfaces to what your component really supports.
And finally, make sure to remove the test_only attribute.
<!-- WHAT YOU NEED TO CHANGE:
a) Replace all the OAFIID strings to do this you need to register
your namespace, and then generate some unique names inside
it. See libbonobo/doc/FAQ 'How should I create unique OAFIIDs for
components ?'.
b) Alter the repo_ids to the interfaces you support.
c) Point the 'location' at the executable that your project installs
d) And finally, make sure to remove the test_only attribute.
-->
<oaf_server iid="OAFIID:nautilus_sample_content_view_factory:3df6b028-be44-4a18-95c3-7720f50ca0c5" type="exe" location="nautilus-sample-content-view">
<oaf_server iid="OAFIID:Nautilus_Sample_Content_View_Factory" type="exe" location="nautilus-sample-content-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -15,7 +22,7 @@
<oaf_attribute name="description" type="string" _value="Sample content view component's factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_sample_content_view:45c746bc-7d64-4346-90d5-6410463b43ae" type="factory" location="OAFIID:nautilus_sample_content_view_factory:3df6b028-be44-4a18-95c3-7720f50ca0c5">
<oaf_server iid="OAFIID:Nautilus_Sample_Content_View" type="factory" location="OAFIID:Nautilus_Sample_Content_View_Factory">
<oaf_attribute name="test_only" type="boolean" value="true"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
......
......@@ -36,10 +36,10 @@
#include <libnautilus/nautilus-view-standard-main.h>
/* CHANGE: Replace these OAFIIDs with the new ones you put in the
* .oafinfo file.
* .server file.
*/
#define FACTORY_IID "OAFIID:nautilus_sample_content_view_factory:3df6b028-be44-4a18-95c3-7720f50ca0c5"
#define VIEW_IID "OAFIID:nautilus_sample_content_view:45c746bc-7d64-4346-90d5-6410463b43ae"
#define FACTORY_IID "OAFIID:Nautilus_Sample_Content_View_Factory"
#define VIEW_IID "OAFIID:Nautilus_Sample_Content_View"
/* CHANGE: Change to your executable name */
#define EXECUTABLE_NAME "nautilus-sample-content-view"
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_text_view_factory:124ae209-d356-418f-8757-54e071cb3a21" type="exe" location="nautilus-text-view">
<oaf_server iid="OAFIID:Nautilus_Text_View_Factory" type="exe" location="nautilus-text-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -8,7 +8,7 @@
<oaf_attribute name="description" type="string" _value="Factory for text view"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_text_view:fa466311-17c1-435c-8231-c9fc434b6437" type="factory" location="OAFIID:nautilus_text_view_factory:124ae209-d356-418f-8757-54e071cb3a21">
<oaf_server iid="OAFIID:Nautilus_Text_View" type="factory" location="OAFIID:Nautilus_Text_View_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_text_view_factory:124ae209-d356-418f-8757-54e071cb3a21" type="exe" location="nautilus-text-view">
<oaf_server iid="OAFIID:Nautilus_Text_View_Factory" type="exe" location="nautilus-text-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -8,7 +8,7 @@
<oaf_attribute name="description" type="string" _value="Factory for text view"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_text_view:fa466311-17c1-435c-8231-c9fc434b6437" type="factory" location="OAFIID:nautilus_text_view_factory:124ae209-d356-418f-8757-54e071cb3a21">
<oaf_server iid="OAFIID:Nautilus_Text_View" type="factory" location="OAFIID:Nautilus_Text_View_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
......@@ -32,8 +32,8 @@
#include <libnautilus/nautilus-view-standard-main.h>
#include <eel/eel-debug.h>
#define FACTORY_IID "OAFIID:nautilus_text_view_factory:124ae209-d356-418f-8757-54e071cb3a21"
#define VIEW_IID "OAFIID:nautilus_text_view:fa466311-17c1-435c-8231-c9fc434b6437"
#define FACTORY_IID "OAFIID:Nautilus_Text_View_Factory"
#define VIEW_IID "OAFIID:Nautilus_Text_View"
int
main (int argc, char *argv[])
......
......@@ -36,8 +36,8 @@
#include <libnautilus/nautilus-view.h>
#include <libnautilus/nautilus-view-standard-main.h>
#define FACTORY_IID "OAFIID:nautilus_text_view_factory:124ae209-d356-418f-8757-54e071cb3a21"
#define VIEW_IID "OAFIID:nautilus_text_view:fa466311-17c1-435c-8231-c9fc434b6437"
#define VIEW_IID "OAFIID:Nautilus_Text_View"
#define FACTORY_IID "OAFIID:Nautilus_Text_View_Factory"
typedef struct {
NautilusView base;
......@@ -248,6 +248,3 @@ main (int argc, char *argv[])
NULL,
nautilus_text_view_get_type);
}
<oaf_info>
<oaf_server iid="OAFIID:nautilus_throbber_factory" type="exe" location="nautilus-throbber">
<oaf_server iid="OAFIID:Nautilus_Throbber_Factory" type="exe" location="nautilus-throbber">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -8,7 +8,7 @@
<oaf_attribute name="description" type="string" _value="throbber object factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_throbber" type="factory" location="OAFIID:nautilus_throbber_factory">
<oaf_server iid="OAFIID:Nautilus_Throbber" type="factory" location="OAFIID:Nautilus_Throbber_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_throbber_factory" type="exe" location="nautilus-throbber">
<oaf_server iid="OAFIID:Nautilus_Throbber_Factory" type="exe" location="nautilus-throbber">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
......@@ -8,7 +8,7 @@
<oaf_attribute name="description" type="string" _value="throbber object factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_throbber" type="factory" location="OAFIID:nautilus_throbber_factory">
<oaf_server iid="OAFIID:Nautilus_Throbber" type="factory" location="OAFIID:Nautilus_Throbber_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
......
......@@ -29,8 +29,8 @@
#include <libnautilus-private/nautilus-global-preferences.h>
#include <libnautilus/nautilus-view-standard-main.h>
#define FACTORY_IID "OAFIID:nautilus_throbber_factory"
#define VIEW_IID "OAFIID:nautilus_throbber"
#define FACTORY_IID "OAFIID:Nautilus_Throbber_Factory"
#define VIEW_IID "OAFIID:Nautilus_Throbber"
static BonoboObject *
cb_create_throbber (const char *ignore0, void *ignore1)
......
<oaf_info>
<oaf_server iid="OAFIID:nautilus_tree_view:2d826a6e-1669-4a45-94b8-23d65d22802d" type="shlib" location="libnautilus-tree-view.so">
<oaf_server iid="OAFIID:Nautilus_Tree_View" type="shlib" location="libnautilus-tree-view.so">