xml-i18n-toolized Nautilus (plus a bit of other cleanup) as part

of resolving bug 2693 (I will consider my work done once I have
	also handled Bonobo).

	* autogen.sh, configure.in: xml-i18n-toolize
	* .cvsignore: ignore xml-i18n scripts
	* Makefile.am: distribute xml-i18n-scripts

	* components/adapter/Nautilus_ComponentAdapterFactory_std.oaf.in:
	Renamed from components/adapter/nautilus-adapter.oafinfo; mark
	translatable strings transalatable.
	* components/adapter/Makefile.am: Deal w/ oaf file rename, do
	merge.
	* components/adapter/.cvsignore: Ignore .oaf file.

	* components/hardware/.cvsignore, components/hardware/Makefile.am,
	components/hardware/Nautilus_View_hardware.oaf.in,
	components/hardware/nautilus-hardware-view.oafinfo: Ditto.
	* components/history/.cvsignore, components/history/Makefile.am,
	components/history/Nautilus_View_history.oaf.in,
	components/history/nautilus-history-view.oafinfo: Ditto.

	* components/image-viewer/.cvsignore,
	components/image-viewer/Makefile.am,
	components/image-viewer/Nautilus_View_image.oaf.in,
	components/image-viewer/nautilus-image-view.oafinfo: Ditto.

	* components/loser/content/.cvsignore,
	components/loser/content/Makefile.am,
	components/loser/content/Nautilus_View_content-loser.oaf.in,
	components/loser/content/nautilus-content-loser.oafinfo: Ditto.

	* components/loser/sidebar/.cvsignore,
	components/loser/sidebar/Makefile.am,
	components/loser/sidebar/Nautilus_View_sidebar-loser.oaf.in,
	components/loser/sidebar/nautilus-sidebar-loser.oafinfo: Ditto.
	* components/mozilla/.cvsignore, components/mozilla/Makefile.am,
	components/mozilla/Nautilus_View_mozilla.oaf.in,
	components/mozilla/nautilus-mozilla-content-view.oafinfo: Ditto.
	* components/music/.cvsignore, components/music/Makefile.am,
	components/music/Nautilus_View_music.oaf.in,
	components/music/nautilus-music-view.oafinfo: Ditto.
	* components/notes/.cvsignore, components/notes/Makefile.am,
	components/notes/Nautilus_View_notes.oaf.in,
	components/notes/nautilus-notes.oafinfo: Ditto.
	* components/rpmview/.cvsignore, components/rpmview/Makefile.am,
	components/rpmview/Nautilus_View_rpm.oaf.in,
	components/rpmview/nautilus-rpm-view.oafinfo: Ditto.
	* components/sample/.cvsignore, components/sample/Makefile.am,
	components/sample/Nautilus_View_sample.oaf.in,
	components/sample/nautilus-sample-content-view.oafinfo: Ditto.
	* components/services/install/nautilus-view/.cvsignore,
	components/services/install/nautilus-view/Makefile.am,
	components/services/install/nautilus-view/Nautilus_View_install.oaf.in,
	components/services/install/nautilus-view/nautilus-service-install-view.oafinfo:
	Ditto.
	* components/services/install/server/.cvsignore,
	components/services/install/server/Makefile.am,
	components/services/install/server/Trilobite_Service_install.oaf.in,
	components/services/install/server/trilobite-eazel-install-service.oafinfo:
	Ditto.
	* components/services/login/nautilus-view/.cvsignore,
	components/services/login/nautilus-view/Makefile.am,
	components/services/login/nautilus-view/Nautilus_View_change-password.oaf.in,
	components/services/login/nautilus-view/nautilus-change-password-view.oafinfo:
	Ditto.
	* components/services/summary/nautilus-view/.cvsignore,
	components/services/summary/nautilus-view/Makefile.am,
	components/services/summary/nautilus-view/Nautilus_View_services-summary.oaf.in,
	components/services/summary/nautilus-view/nautilus-summary-view.oafinfo: Ditto.
	* components/services/trilobite/sample/.cvsignore,
	components/services/trilobite/sample/nautilus-view/Makefile.am,
	components/services/trilobite/sample/nautilus-view/Nautilus_View_service-sample.oaf.in,
	components/services/trilobite/sample/nautilus-view/nautilus-sample-service-view.oafinfo:
	Ditto.
	* components/services/trilobite/sample/service/.cvsignore,
	components/services/trilobite/sample/service/Makefile.am,
	components/services/trilobite/sample/service/Trilobite_Service_sample.oaf.in,
	components/services/trilobite/sample/service/trilobite-eazel-sample-service.oafinfo:
	Ditto.
	* components/text/.cvsignore, components/text/Makefile.am,
	components/text/Nautilus_View_text.oaf.in,
	components/text/nautilus-text-view.oafinfo: Ditto.
	* src/.cvsignore, src/Makefile.am, src/Nautilus_shell.oaf.in,
	src/nautilus.oafinfo: Ditto.
	* components/tree/.cvsignore, components/tree/Makefile.am,
	components/tree/Nautilus_View_tree.oaf.in,
	components/tree/nautilus-tree-view.oafinfo.shlib: Ditto, and
	removed ability to build tree view as an exe component (no one was
	really using it anyway).
	* components/tree/nautilus-tree-view.oafinfo.exe: Removed.
	* components/help/.cvsignore, components/help/Makefile.am,
	components/help/Nautilus_View_help.oaf.in:
	components/help/help-contents.oafinfo: Ditto, and merged other
	oafinfo files into Nautilus_View_help.oaf.in, commented out.
	* components/help/help-factory.oafinfo,
	components/help/help-index.oafinfo,
	components/help/help-search.oafinfo: Removed.

	* po/POTFILES.in: Added .oaf.in files.
	* po/README.tools, po/ui-extract.pl, po/ui-testcases.glade,
	po/ui-testcases.xml, po/update.pl, po/update.sh: Removed these
	now-obsolete files.

	* components/services/Makefile.am: Removed time service from build.
	* components/html/*, components/websearch/*: cvs deleted these
	obsolete long since non-built components.
	* ChangeLog-200001018: Renamed to ChangeLog-20001018 (whoops)
This commit is contained in:
Maciej Stachowiak 2001-01-05 13:10:51 +00:00
parent 8fc6a9efe4
commit 7f8d07e83c
147 changed files with 1253 additions and 4784 deletions

View file

@ -21,3 +21,6 @@ obj
po
stamp-h
stamp-h.in
xml-i18n-extract
xml-i18n-merge
xml-i18n-update

111
ChangeLog
View file

@ -1,3 +1,114 @@
2001-01-05 Maciej Stachowiak <mjs@eazel.com>
xml-i18n-toolized Nautilus (plus a bit of other cleanup) as part
of resolving bug 2693 (I will consider my work done once I have
also handled Bonobo).
* autogen.sh, configure.in: xml-i18n-toolize
* .cvsignore: ignore xml-i18n scripts
* Makefile.am: distribute xml-i18n-scripts
* components/adapter/Nautilus_ComponentAdapterFactory_std.oaf.in:
Renamed from components/adapter/nautilus-adapter.oafinfo; mark
translatable strings transalatable.
* components/adapter/Makefile.am: Deal w/ oaf file rename, do
merge.
* components/adapter/.cvsignore: Ignore .oaf file.
* components/hardware/.cvsignore, components/hardware/Makefile.am,
components/hardware/Nautilus_View_hardware.oaf.in,
components/hardware/nautilus-hardware-view.oafinfo: Ditto.
* components/history/.cvsignore, components/history/Makefile.am,
components/history/Nautilus_View_history.oaf.in,
components/history/nautilus-history-view.oafinfo: Ditto.
* components/image-viewer/.cvsignore,
components/image-viewer/Makefile.am,
components/image-viewer/Nautilus_View_image.oaf.in,
components/image-viewer/nautilus-image-view.oafinfo: Ditto.
* components/loser/content/.cvsignore,
components/loser/content/Makefile.am,
components/loser/content/Nautilus_View_content-loser.oaf.in,
components/loser/content/nautilus-content-loser.oafinfo: Ditto.
* components/loser/sidebar/.cvsignore,
components/loser/sidebar/Makefile.am,
components/loser/sidebar/Nautilus_View_sidebar-loser.oaf.in,
components/loser/sidebar/nautilus-sidebar-loser.oafinfo: Ditto.
* components/mozilla/.cvsignore, components/mozilla/Makefile.am,
components/mozilla/Nautilus_View_mozilla.oaf.in,
components/mozilla/nautilus-mozilla-content-view.oafinfo: Ditto.
* components/music/.cvsignore, components/music/Makefile.am,
components/music/Nautilus_View_music.oaf.in,
components/music/nautilus-music-view.oafinfo: Ditto.
* components/notes/.cvsignore, components/notes/Makefile.am,
components/notes/Nautilus_View_notes.oaf.in,
components/notes/nautilus-notes.oafinfo: Ditto.
* components/rpmview/.cvsignore, components/rpmview/Makefile.am,
components/rpmview/Nautilus_View_rpm.oaf.in,
components/rpmview/nautilus-rpm-view.oafinfo: Ditto.
* components/sample/.cvsignore, components/sample/Makefile.am,
components/sample/Nautilus_View_sample.oaf.in,
components/sample/nautilus-sample-content-view.oafinfo: Ditto.
* components/services/install/nautilus-view/.cvsignore,
components/services/install/nautilus-view/Makefile.am,
components/services/install/nautilus-view/Nautilus_View_install.oaf.in,
components/services/install/nautilus-view/nautilus-service-install-view.oafinfo:
Ditto.
* components/services/install/server/.cvsignore,
components/services/install/server/Makefile.am,
components/services/install/server/Trilobite_Service_install.oaf.in,
components/services/install/server/trilobite-eazel-install-service.oafinfo:
Ditto.
* components/services/login/nautilus-view/.cvsignore,
components/services/login/nautilus-view/Makefile.am,
components/services/login/nautilus-view/Nautilus_View_change-password.oaf.in,
components/services/login/nautilus-view/nautilus-change-password-view.oafinfo:
Ditto.
* components/services/summary/nautilus-view/.cvsignore,
components/services/summary/nautilus-view/Makefile.am,
components/services/summary/nautilus-view/Nautilus_View_services-summary.oaf.in,
components/services/summary/nautilus-view/nautilus-summary-view.oafinfo: Ditto.
* components/services/trilobite/sample/.cvsignore,
components/services/trilobite/sample/nautilus-view/Makefile.am,
components/services/trilobite/sample/nautilus-view/Nautilus_View_service-sample.oaf.in,
components/services/trilobite/sample/nautilus-view/nautilus-sample-service-view.oafinfo:
Ditto.
* components/services/trilobite/sample/service/.cvsignore,
components/services/trilobite/sample/service/Makefile.am,
components/services/trilobite/sample/service/Trilobite_Service_sample.oaf.in,
components/services/trilobite/sample/service/trilobite-eazel-sample-service.oafinfo:
Ditto.
* components/text/.cvsignore, components/text/Makefile.am,
components/text/Nautilus_View_text.oaf.in,
components/text/nautilus-text-view.oafinfo: Ditto.
* src/.cvsignore, src/Makefile.am, src/Nautilus_shell.oaf.in,
src/nautilus.oafinfo: Ditto.
* components/tree/.cvsignore, components/tree/Makefile.am,
components/tree/Nautilus_View_tree.oaf.in,
components/tree/nautilus-tree-view.oafinfo.shlib: Ditto, and
removed ability to build tree view as an exe component (no one was
really using it anyway).
* components/tree/nautilus-tree-view.oafinfo.exe: Removed.
* components/help/.cvsignore, components/help/Makefile.am,
components/help/Nautilus_View_help.oaf.in:
components/help/help-contents.oafinfo: Ditto, and merged other
oafinfo files into Nautilus_View_help.oaf.in, commented out.
* components/help/help-factory.oafinfo,
components/help/help-index.oafinfo,
components/help/help-search.oafinfo: Removed.
* po/POTFILES.in: Added .oaf.in files.
* po/README.tools, po/ui-extract.pl, po/ui-testcases.glade,
po/ui-testcases.xml, po/update.pl, po/update.sh: Removed these
now-obsolete files.
* components/services/Makefile.am: Removed time service from build.
* components/html/*, components/websearch/*: cvs deleted these
obsolete long since non-built components.
* ChangeLog-200001018: Renamed to ChangeLog-20001018 (whoops)
2001-01-04 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:

View file

@ -23,19 +23,22 @@ SUBDIRS = \
po \
$(NULL)
EXTRA_DIST= \
COPYING.LIB \
RPMs-README \
HACKING \
MAINTAINERS \
nautilus.spec.in \
nautilus-clean.sh \
nautilus.desktop \
nautilus-launch-icon.png \
ChangeLog-200001018 \
ChangeLog-20000414 \
ChangeLog-20000625 \
ChangeLog-20000831 \
EXTRA_DIST= \
COPYING.LIB \
RPMs-README \
HACKING \
MAINTAINERS \
nautilus.spec.in \
nautilus-clean.sh \
nautilus.desktop \
nautilus-launch-icon.png \
ChangeLog-200001018 \
ChangeLog-20000414 \
ChangeLog-20000625 \
ChangeLog-20000831 \
xml-i18n-extract \
xml-i18n-merge \
xml-i18n-update \
$(NULL)
appicondir = $(datadir)/pixmaps

View file

@ -37,6 +37,11 @@ DIE=0
DIE=1
}
(xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have xml-i18n-tools installed to compile $PROJECT."
}
if test "$DIE" -eq 1; then
exit 1
fi
@ -61,6 +66,9 @@ echo "Running gettextize... Ignore non-fatal messages."
# while making dist.
echo "no" | gettextize --copy --force
echo "Running xml-i18n-toolize... Ignore non-fatal messages."
xml-i18n-toolize --copy --force --automake
echo "Running libtoolize"
libtoolize --copy --force
@ -75,13 +83,6 @@ aclocal $ACLOCAL_FLAGS
automake -a $am_opt
if [ -r po/Makefile.i18npatch ]; then
if grep GENPOT po/Makefile.in.in >/dev/null;
then echo "no need for patching file \`Makefile.in.in'";
else patch po/Makefile.in.in < po/Makefile.i18npatch;
fi;
fi
autoconf
cd $ORIGDIR

View file

@ -3,3 +3,4 @@
Makefile
Makefile.in
nautilus-adapter
Nautilus_ComponentAdapterFactory_std.oaf

View file

@ -14,11 +14,14 @@ INCLUDES = \
$(NULL)
oafdir = $(datadir)/oaf
oaf_DATA = \
nautilus-adapter.oafinfo \
oaf_in_files = \
Nautilus_ComponentAdapterFactory_std.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
bin_PROGRAMS = \
nautilus-adapter \
$(NULL)
@ -68,5 +71,5 @@ nautilus_adapter_LDADD = \
$(NULL)
EXTRA_DIST = $(oaf_DATA)
EXTRA_DIST = $(oaf_in_files) $(oaf_DATA)

View file

@ -2,20 +2,20 @@
<oaf_server iid="OAFIID:nautilus_adapter_factory_generic_factory:8e62e106-807d-4d37-b14a-00dc82ecf88f" type="exe" location="nautilus-adapter">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Factory for Nautilus component adapter factories"/>
<oaf_attribute name="description" type="string" value="Factory for Nautilus component adapter factories "/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Factory for Nautilus component adapter factories"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Nautilus/ComponentAdapterFactory:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus component adapter factory"/>
<oaf_attribute name="description" type="string" value="Factory for objects that wrap ordinary Bonobo Controls or Embeddables to look like Nautilus Views"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Nautilus/ComponentAdapterFactory:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus component adapter factory"/>
<oaf_attribute name="description" type="string" _value="Factory for objects that wrap ordinary Bonobo Controls or Embeddables to look like Nautilus Views"/>
</oaf_server>
</oaf_info>

View file

@ -2,20 +2,20 @@
<oaf_server iid="OAFIID:nautilus_adapter_factory_generic_factory:8e62e106-807d-4d37-b14a-00dc82ecf88f" type="exe" location="nautilus-adapter">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Factory for Nautilus component adapter factories"/>
<oaf_attribute name="description" type="string" value="Factory for Nautilus component adapter factories "/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Factory for Nautilus component adapter factories"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Nautilus/ComponentAdapterFactory:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus component adapter factory"/>
<oaf_attribute name="description" type="string" value="Factory for objects that wrap ordinary Bonobo Controls or Embeddables to look like Nautilus Views"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Nautilus/ComponentAdapterFactory:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus component adapter factory"/>
<oaf_attribute name="description" type="string" _value="Factory for objects that wrap ordinary Bonobo Controls or Embeddables to look like Nautilus Views"/>
</oaf_server>
</oaf_info>

View file

@ -2,20 +2,20 @@
<oaf_server iid="OAFIID:nautilus_adapter_factory_generic_factory:8e62e106-807d-4d37-b14a-00dc82ecf88f" type="exe" location="nautilus-adapter">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Factory for Nautilus component adapter factories"/>
<oaf_attribute name="description" type="string" value="Factory for Nautilus component adapter factories "/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Factory for Nautilus component adapter factories"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Nautilus/ComponentAdapterFactory:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus component adapter factory"/>
<oaf_attribute name="description" type="string" value="Factory for objects that wrap ordinary Bonobo Controls or Embeddables to look like Nautilus Views"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Nautilus/ComponentAdapterFactory:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus component adapter factory"/>
<oaf_attribute name="description" type="string" _value="Factory for objects that wrap ordinary Bonobo Controls or Embeddables to look like Nautilus Views"/>
</oaf_server>
</oaf_info>

View file

@ -1,21 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_adapter_factory_generic_factory:8e62e106-807d-4d37-b14a-00dc82ecf88f" type="exe" location="nautilus-adapter">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Factory for Nautilus component adapter factories"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Nautilus/ComponentAdapterFactory:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus component adapter factory"/>
<oaf_attribute name="description" type="string" value="Factory for objects that wrap ordinary Bonobo Controls or Embeddables to look like Nautilus Views"/>
</oaf_server>
</oaf_info>

View file

@ -3,3 +3,4 @@
Makefile
Makefile.in
nautilus-hardware-view
Nautilus_View_hardware.oaf

View file

@ -1,21 +1,28 @@
NULL=
SUBDIRS=icons
INCLUDES = \
-DPREFIX=\"$(prefix)\" \
-DG_LOG_DOMAIN=\"Nautilus-Hardware\" \
-I$(top_srcdir) \
-I$(top_builddir) \
$(GCONF_CFLAGS) \
$(VFS_CFLAGS) \
$(BONOBO_CFLAGS) \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
$(GNOMEUI_CFLAGS)
INCLUDES = \
-DPREFIX=\"$(prefix)\" \
-DG_LOG_DOMAIN=\"Nautilus-Hardware\" \
-I$(top_srcdir) \
-I$(top_builddir) \
$(GCONF_CFLAGS) \
$(VFS_CFLAGS) \
$(BONOBO_CFLAGS) \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
$(GNOMEUI_CFLAGS) \
$(NULL)
oafdir = $(datadir)/oaf
oaf_DATA = \
nautilus-hardware-view.oafinfo
oaf_in_files = \
Nautilus_View_hardware.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
bin_PROGRAMS = \
nautilus-hardware-view
@ -34,4 +41,5 @@ nautilus_hardware_view_LDADD = \
$(VFS_LIBS) \
$(GNORBA_LIBS)
EXTRA_DIST = $(oaf_DATA)
EXTRA_DIST = $(oaf_DATA) $(oaf_in_files)

View file

@ -1,24 +1,24 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_hardware_view_factory:8c80e55a-5c03-4403-9e51-3a5711b8a5ce" 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_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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Hardware view"/>
<oaf_attribute name="description" type="string" value="hardware view"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="hardware"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Hardware"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Hardware view"/>
<oaf_attribute name="description" type="string" _value="hardware view"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="hardware"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Hardware"/>
</oaf_server>
</oaf_info>

View file

@ -1,24 +1,24 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_hardware_view_factory:8c80e55a-5c03-4403-9e51-3a5711b8a5ce" 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_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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Hardware view"/>
<oaf_attribute name="description" type="string" value="hardware view"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="hardware"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Hardware"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Hardware view"/>
<oaf_attribute name="description" type="string" _value="hardware view"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="hardware"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Hardware"/>
</oaf_server>
</oaf_info>

View file

@ -1,24 +1,24 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_hardware_view_factory:8c80e55a-5c03-4403-9e51-3a5711b8a5ce" 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_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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Hardware view"/>
<oaf_attribute name="description" type="string" value="hardware view"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="hardware"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Hardware"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Hardware view"/>
<oaf_attribute name="description" type="string" _value="hardware view"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="hardware"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Hardware"/>
</oaf_server>
</oaf_info>

View file

@ -1,24 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_hardware_view_factory:8c80e55a-5c03-4403-9e51-3a5711b8a5ce" 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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Hardware view"/>
<oaf_attribute name="description" type="string" value="hardware view"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="hardware"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Hardware"/>
</oaf_server>
</oaf_info>

View file

@ -5,3 +5,4 @@
Makefile
Makefile.in
hyperbola
Nautilus_View_help.oaf

View file

@ -35,19 +35,6 @@ hyperbola_SOURCES= \
hyperbola-nav-index.c \
hyperbola-nav-search.c
oafdir=$(datadir)/oaf
# These are broken:
#
# help-search.oafinfo
# help-index.oafinfo
#
oaf_DATA=\
help-factory.oafinfo \
help-contents.oafinfo \
$(NULL)
mapdatadir=$(datadir)/hyperbola/maps
mapdata_DATA=pages.map
@ -61,5 +48,14 @@ libvfs_help_la_LIBADD = $(GLIB_LIBS)
modulesconfdir=$(sysconfdir)/vfs/modules
modulesconf_DATA = help-methods.conf
EXTRA_DIST=pages.map $(oaf_DATA) help-methods.conf
oafdir = $(datadir)/oaf
oaf_in_files = \
Nautilus_View_help.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
EXTRA_DIST=pages.map $(oaf_in_files) $(oaf_DATA) help-methods.conf

View file

@ -1,27 +1,65 @@
<oaf_info>
<oaf_server iid="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb" type="exe" location="hyperbola">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Internal use only"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="Internal use only"/>
</oaf_server>
<oaf_server iid="OAFIID:hyperbola_navigation_tree:57542ce0-71ff-442d-a764-462c92514234" type="factory" location="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Help Navigation Tree"/>
<oaf_attribute name="name" type="string" value="Help sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Help"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="help"/>
<item value="ghelp"/>
<item value="man"/>
<item value="info"/>
</oaf_attribute>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="Help Navigation Tree"/>
<oaf_attribute name="name" type="string" _value="Help sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="Help"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="help"/>
<item value="ghelp"/>
<item value="man"/>
<item value="info"/>
</oaf_attribute>
</oaf_server>
<!-- These parts are broken
<oaf_server iid="OAFIID:hyperbola_navigation_search:89b2f3b8-4f09-49c8-9a7b-ccb14d034813" type="factory" location="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="Help Search"/>
<oaf_attribute name="name" type="string" _value="Help Search sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="Help Search"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="ghelp"/>
<item value="help"/>
<item value="man"/>
<item value="info"/>
</oaf_attribute>
</oaf_server>
<oaf_server iid="OAFIID:hyperbola_navigation_index:0bafadc7-09f1-4f10-8c8e-dad53124fc49" type="factory" location="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="Help Index"/>
<oaf_attribute name="name" type="string" _value="Help Index sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="Help Index"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="help"/>
<item value="man"/>
<item value="info"/>
</oaf_attribute>
</oaf_server>
-->
</oaf_info>

View file

@ -1,27 +1,65 @@
<oaf_info>
<oaf_server iid="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb" type="exe" location="hyperbola">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Internal use only"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="Internal use only"/>
</oaf_server>
<oaf_server iid="OAFIID:hyperbola_navigation_tree:57542ce0-71ff-442d-a764-462c92514234" type="factory" location="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Help Navigation Tree"/>
<oaf_attribute name="name" type="string" value="Help sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Help"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="help"/>
<item value="ghelp"/>
<item value="man"/>
<item value="info"/>
</oaf_attribute>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="Help Navigation Tree"/>
<oaf_attribute name="name" type="string" _value="Help sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="Help"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="help"/>
<item value="ghelp"/>
<item value="man"/>
<item value="info"/>
</oaf_attribute>
</oaf_server>
<!-- These parts are broken
<oaf_server iid="OAFIID:hyperbola_navigation_search:89b2f3b8-4f09-49c8-9a7b-ccb14d034813" type="factory" location="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="Help Search"/>
<oaf_attribute name="name" type="string" _value="Help Search sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="Help Search"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="ghelp"/>
<item value="help"/>
<item value="man"/>
<item value="info"/>
</oaf_attribute>
</oaf_server>
<oaf_server iid="OAFIID:hyperbola_navigation_index:0bafadc7-09f1-4f10-8c8e-dad53124fc49" type="factory" location="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="Help Index"/>
<oaf_attribute name="name" type="string" _value="Help Index sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="Help Index"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="help"/>
<item value="man"/>
<item value="info"/>
</oaf_attribute>
</oaf_server>
-->
</oaf_info>

View file

@ -1,27 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb" type="exe" location="hyperbola">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Internal use only"/>
</oaf_server>
<oaf_server iid="OAFIID:hyperbola_navigation_tree:57542ce0-71ff-442d-a764-462c92514234" type="factory" location="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Help Navigation Tree"/>
<oaf_attribute name="name" type="string" value="Help sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Help"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="help"/>
<item value="ghelp"/>
<item value="man"/>
<item value="info"/>
</oaf_attribute>
</oaf_server>
</oaf_info>

View file

@ -1,10 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb" type="exe" location="hyperbola">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Internal use only"/>
</oaf_server>
</oaf_info>

View file

@ -1,20 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:hyperbola_navigation_index:0bafadc7-09f1-4f10-8c8e-dad53124fc49" type="factory" location="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Help Index"/>
<oaf_attribute name="name" type="string" value="Help Index sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Help Index"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="help"/>
<item value="man"/>
<item value="info"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Help Index"/>
</oaf_server>
</oaf_info>

View file

@ -1,20 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:hyperbola_navigation_search:89b2f3b8-4f09-49c8-9a7b-ccb14d034813" type="factory" location="OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Help Search"/>
<oaf_attribute name="name" type="string" value="Help Search sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Help Search"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="ghelp"/>
<item value="help"/>
<item value="man"/>
<item value="info"/>
</oaf_attribute>
</oaf_server>
</oaf_info>

View file

@ -3,3 +3,4 @@
Makefile
Makefile.in
nautilus-history-view
Nautilus_View_history.oaf

View file

@ -1,3 +1,5 @@
NULL =
bin_PROGRAMS=nautilus-history-view
INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GNOMEUI_CFLAGS) $(GCONF_CFLAGS) \
@ -12,6 +14,15 @@ LDADD=\
nautilus_history_view_SOURCES=nautilus-history-view.c
oafdir=$(datadir)/oaf
oaf_DATA=nautilus-history-view.oafinfo
EXTRA_DIST=$(oaf_DATA)
oafdir = $(datadir)/oaf
oaf_in_files = \
Nautilus_View_history.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
EXTRA_DIST=$(oaf_DATA) $(oaf_in_files)

View file

@ -1,24 +1,24 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_history_view_factory:912d6634-d18f-40b6-bb83-bdfe16f1d15e" 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_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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="History sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" value="History sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="History"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="History sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" _value="History sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="History"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
</oaf_server>

View file

@ -1,24 +1,24 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_history_view_factory:912d6634-d18f-40b6-bb83-bdfe16f1d15e" 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_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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="History sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" value="History sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="History"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="History sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" _value="History sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="History"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
</oaf_server>

View file

@ -1,24 +1,24 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_history_view_factory:912d6634-d18f-40b6-bb83-bdfe16f1d15e" 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_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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="History sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" value="History sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="History"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="History sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" _value="History sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="History"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
</oaf_server>

View file

@ -1,25 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_history_view_factory:912d6634-d18f-40b6-bb83-bdfe16f1d15e" 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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="History sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" value="History sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="History"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
</oaf_server>
</oaf_info>

View file

@ -1,5 +0,0 @@
.deps
.libs
Makefile
Makefile.in
ntl-web-browser

View file

@ -1,45 +0,0 @@
# FIXME bugzilla.eazel.com 714: I (Elliot) want the HTML component to be a
# shared library component, not an exe one.
INCLUDES = \
-DPREFIX=\"$(prefix)\" \
-DG_LOG_DOMAIN=\"Nautilus-HTML\" \
-I$(top_srcdir) \
-I$(top_builddir) \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
$(GCONF_CFLAGS) \
$(GNOMEUI_CFLAGS) \
$(GTKHTML_CFLAGS) \
$(BONOBO_CFLAGS) \
$(VFS_CFLAGS) \
$(LIBWWW_CFLAGS) \
-D_VERSION=\"$(VERSION)\"
oafdir = $(datadir)/oaf
oaf_DATA = \
ntl-web-browser.oafinfo
bin_PROGRAMS = \
ntl-web-browser
ntl_web_browser_SOURCES = \
ntl-web-browser.c \
glibwww-init.c \
glibwww-trans.c \
glibwww-callbacks.c \
glibwww.h \
gnome-dialogs.c
ntl_web_browser_LDADD = \
$(top_builddir)/libnautilus/libnautilus.la \
$(top_builddir)/libnautilus-extensions/libnautilus-extensions.la \
$(GTKHTML_LIBS) \
$(BONOBO_LIBS) \
$(GNOMEUI_LIBS) \
$(GCONF_LIBS) \
$(VFS_LIBS) \
$(OAF_LIBS) \
$(LIBWWW_LIBS)
EXTRA_DIST = $(oaf_DATA)

View file

@ -1,214 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#include "glibwww.h"
#include <HTEvent.h>
#include <HTTimer.h>
#undef PACKAGE
#undef VERSION
#include <config.h>
#define WWW_HIGH_PRIORITY (G_PRIORITY_HIGH_IDLE + 50)
#define WWW_LOW_PRIORITY G_PRIORITY_LOW
#define WWW_SCALE_PRIORITY(p) ((WWW_HIGH_PRIORITY - WWW_LOW_PRIORITY) * p \
/ HT_PRIORITY_MAX + WWW_LOW_PRIORITY)
#define READ_CONDITION (G_IO_IN | G_IO_HUP | G_IO_ERR)
#define WRITE_CONDITION (G_IO_OUT | G_IO_ERR)
#define EXCEPTION_CONDITION (G_IO_PRI)
typedef struct _SockEventInfo SockEventInfo;
struct _SockEventInfo {
SOCKET s;
HTEventType type;
HTEvent *event;
guint io_tag;
guint timer_tag;
};
typedef struct _SockInfo SockInfo;
struct _SockInfo {
SOCKET s;
GIOChannel *io;
SockEventInfo ev[HTEvent_TYPES];
};
static GHashTable *sockhash = NULL;
static SockInfo *
get_sock_info(SOCKET s, gboolean create)
{
SockInfo *info;
if (!sockhash)
sockhash = g_hash_table_new(NULL, NULL);
info = g_hash_table_lookup(sockhash, GINT_TO_POINTER(s));
if (!info && create) {
info = g_new0(SockInfo, 1);
info->s = s;
info->io = g_io_channel_unix_new(s);
info->ev[0].s = info->ev[1].s = info->ev[2].s = s;
info->ev[0].type = HTEvent_READ;
info->ev[1].type = HTEvent_WRITE;
info->ev[2].type = HTEvent_OOB;
g_hash_table_insert(sockhash, GINT_TO_POINTER(s), info);
}
return info;
}
static gboolean glibwww_timeout_func (gpointer data);
static gboolean glibwww_io_func(GIOChannel *source, GIOCondition condition,
gpointer data);
static int
glibwww_event_register (SOCKET s, HTEventType type, HTEvent *event)
{
SockInfo *info;
gint priority = G_PRIORITY_DEFAULT;
GIOCondition condition;
if (s == INVSOC || HTEvent_INDEX(type) >= HTEvent_TYPES)
return 0;
info = get_sock_info(s, TRUE);
info->ev[HTEvent_INDEX(type)].event = event;
switch (HTEvent_INDEX(type)) {
case HTEvent_INDEX(HTEvent_READ):
condition = READ_CONDITION; break;
case HTEvent_INDEX(HTEvent_WRITE):
condition = WRITE_CONDITION; break;
case HTEvent_INDEX(HTEvent_OOB):
condition = EXCEPTION_CONDITION; break;
default:
condition = 0; /* this should never occur */
}
if (event->priority != HT_PRIORITY_OFF)
priority = WWW_SCALE_PRIORITY(event->priority);
info->ev[HTEvent_INDEX(type)].io_tag =
g_io_add_watch_full(info->io, priority, condition, glibwww_io_func,
&info->ev[HTEvent_INDEX(type)], NULL);
if (event->millis >= 0)
info->ev[HTEvent_INDEX(type)].timer_tag =
g_timeout_add_full(priority, event->millis, glibwww_timeout_func,
&info->ev[HTEvent_INDEX(type)], NULL);
return HT_OK;
}
static int
glibwww_event_unregister (SOCKET s, HTEventType type)
{
SockInfo *info = get_sock_info(s, FALSE);
if (info) {
if (info->ev[HTEvent_INDEX(type)].io_tag)
g_source_remove(info->ev[HTEvent_INDEX(type)].io_tag);
if (info->ev[HTEvent_INDEX(type)].timer_tag)
g_source_remove(info->ev[HTEvent_INDEX(type)].timer_tag);
info->ev[HTEvent_INDEX(type)].event = NULL;
info->ev[HTEvent_INDEX(type)].io_tag = 0;
info->ev[HTEvent_INDEX(type)].timer_tag = 0;
/* clean up sock hash if needed */
/*if (info->ev[0].io_tag == 0 &&
info->ev[1].io_tag == 0 &&
info->ev[2].io_tag == 0) {
g_message("Freeing sock:%d", s);
g_hash_table_remove(sockhash, GINT_TO_POINTER(s));
g_io_channel_unref(info->io);
g_free(info);
}*/
return HT_OK;
}
return HT_ERROR;
}
static gboolean
glibwww_timeout_func (gpointer data)
{
SockEventInfo *info = (SockEventInfo *)data;
HTEvent *event = info->event;
if (event)
(* event->cbf) (info->s, event->param, HTEvent_TIMEOUT);
return info->timer_tag != 0; /* XXXX a hack */
}
static gboolean
glibwww_io_func(GIOChannel *source, GIOCondition condition, gpointer data)
{
SockEventInfo *info = (SockEventInfo *)data;
HTEvent *event = info->event;
if (info->timer_tag)
g_source_remove(info->timer_tag);
if (event && event->millis >= 0) {
gint priority = G_PRIORITY_DEFAULT;
if (event->priority != HT_PRIORITY_OFF)
priority = WWW_SCALE_PRIORITY(event->priority);
info->timer_tag =
g_timeout_add_full(priority, info->event->millis, glibwww_timeout_func,
info, NULL);
}
if (event)
(* event->cbf) (info->s, event->param, info->type);
return info->io_tag != 0; /* XXXX a hack */
}
static GHashTable *timers = NULL;
static gboolean
glibwww_dispatch_timer(gpointer data)
{
HTTimer *timer = (HTTimer *)data;
HTTimer_dispatch(timer);
return FALSE;
}
static BOOL
glibwww_timer_register(HTTimer *timer)
{
guint tag;
if (!timers)
timers = g_hash_table_new(NULL, NULL);
tag = g_timeout_add(HTTimer_expiresRelative(timer),
glibwww_dispatch_timer, timer);
g_hash_table_insert(timers, timer, GUINT_TO_POINTER(tag));
return YES;
}
static BOOL
glibwww_timer_unregister(HTTimer *timer) {
guint tag;
if (!timers)
return NO;
tag = GPOINTER_TO_UINT(g_hash_table_lookup(timers, timer));
if (tag) {
g_source_remove(tag);
g_hash_table_remove(timers, timer);
return YES;
}
return NO;
}
void
glibwww_register_callbacks(void)
{
HTEvent_setRegisterCallback(glibwww_event_register);
HTEvent_setUnregisterCallback(glibwww_event_unregister);
HTTimer_registerSetTimerCallback(glibwww_timer_register);
HTTimer_registerDeleteTimerCallback(glibwww_timer_unregister);
}

View file

@ -1,383 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#include <WWWCore.h>
#include <WWWStream.h>
#include <WWWTrans.h>
#include <WWWHTTP.h>
#include <WWWMIME.h>
#include <WWWFTP.h>
#include <WWWFile.h>
#include <WWWGophe.h>
#include <WWWZip.h>
/* clean up the cpp namespace -- libwww is particularly dirty */
#undef PACKAGE
#undef VERSION
#undef _
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <glib.h>
#include "glibwww.h"
/* For some reason, the folks at Sun are missing this declaration.
* Rather than figure out why, I just decided to add it here.
*/
extern HTCoder HTZLib_inflate;
#ifndef FTP_PORT
#define FTP_PORT 21
#endif
#ifndef HTTP_PORT
#define HTTP_PORT 80
#endif
/*#include "WWWMIME.h"*/
static void HTMIMEInit (void);
static void glibwww_parse_proxy_env (void);
static int HTProxyFilter (HTRequest *request, void *param, int status);
static int HTRedirectFilter (HTRequest *request, HTResponse *response,
void *param, int status);
static int HTCredentialsFilter (HTRequest *request, void *param, int status);
static int HTAuthFilter (HTRequest *request, HTResponse *response,
void *param, int status);
static int HTAuthInfoFilter (HTRequest *request, HTResponse *response,
void *param, int status);
static gboolean exitfunc = FALSE;
void
glibwww_init(const gchar *appName, const gchar *appVersion)
{
if (!HTLib_isInitialized())
HTLibInit(appName, appVersion);
/*HTAlertInit();
HTAlert_setInteractive(NO);*/
HTTransport_add("tcp", HT_TP_SINGLE,HTReader_new,HTWriter_new);
HTTransport_add("buffered_tcp",HT_TP_SINGLE,HTReader_new,HTBufferWriter_new);
HTTransport_add("local", HT_TP_SINGLE,HTReader_new,HTWriter_new);
HTProtocol_add("ftp", "tcp", FTP_PORT, NO, HTLoadFTP, NULL);
HTProtocol_add("http", "buffered_tcp", HTTP_PORT, NO, HTLoadHTTP, NULL);
HTProtocol_add("file", "local", 0, NO, HTLoadFile, NULL);
HTNet_setMaxSocket(6);
HTNet_addBefore(HTCredentialsFilter, "http://*", NULL, HT_FILTER_LATE);
HTNet_addBefore(HTProxyFilter, NULL, NULL, HT_FILTER_LATE);
HTNet_addAfter(HTAuthFilter, "http://*", NULL, HT_NO_ACCESS,
HT_FILTER_MIDDLE);
HTNet_addAfter(HTAuthFilter, "http://*", NULL, HT_REAUTH,
HT_FILTER_MIDDLE);
HTNet_addAfter(HTRedirectFilter, "http://*", NULL, HT_PERM_REDIRECT,
HT_FILTER_MIDDLE);
HTNet_addAfter(HTRedirectFilter, "http://*", NULL, HT_FOUND,
HT_FILTER_MIDDLE);
HTNet_addAfter(HTRedirectFilter, "http://*", NULL, HT_SEE_OTHER,
HT_FILTER_MIDDLE);
HTNet_addAfter(HTRedirectFilter, "http://*", NULL, HT_TEMP_REDIRECT,
HT_FILTER_MIDDLE);
HTNet_addAfter(HTAuthInfoFilter, "http://*", NULL, HT_ALL,
HT_FILTER_MIDDLE);
HTAA_newModule ("basic", HTBasic_generate, HTBasic_parse, NULL,
HTBasic_delete);
glibwww_parse_proxy_env();
/* set proxy from our config files ... */
/* glibwww_add_proxy("http", ...); */
/* glibwww_add_proxy("ftp", ...); */
HTMIME_setSaveStream (HTSaveLocally);
HTFormat_addConversion("message/rfc822", "*/*", HTMIMEConvert,
1.0, 0.0, 0.0);
HTFormat_addConversion("message/x-rfc822-foot", "*/*", HTMIMEFooter,
1.0, 0.0, 0.0);
HTFormat_addConversion("message/x-rfc822-head", "*/*", HTMIMEHeader,
1.0, 0.0, 0.0);
HTFormat_addConversion("message/x-rfc822-cont", "*/*", HTMIMEContinue,
1.0, 0.0, 0.0);
HTFormat_addConversion("message/x-rfc822-upgrade", "*/*", HTMIMEUpgrade,
1.0, 0.0, 0.0);
HTFormat_addConversion("message/x-rfc822-partial", "*/*", HTMIMEPartial,
1.0, 0.0, 0.0);
HTFormat_addConversion("text/x-http", "*/*", HTTPStatus_new,
1.0, 0.0, 0.0);
HTFormat_addCoding("*", HTIdentityCoding, HTIdentityCoding, 0.3);
HTFormat_addTransferCoding("deflate", NULL, HTZLib_inflate, 1.0);
HTFormat_addTransferCoding("chunked", HTChunkedEncoder,HTChunkedDecoder,1.0);
HTMIMEInit();
HTFileInit();
HTHost_setEventTimeout(30000);
HTFTP_setTransferMode(FTP_BINARY_TRANSFER_MODE);
glibwww_register_callbacks();
if (!exitfunc)
g_atexit(glibwww_cleanup);
exitfunc = TRUE;
/*WWWTRACE = SHOW_MEM_TRACE;*/
}
void glibwww_cleanup(void) {
if (HTLib_isInitialized()) {
HTFormat_deleteAll();
HTLibTerminate();
}
}
struct ProxyEntry {
gchar *protocol;
gchar *proxy;
};
static GList *proxies = NULL;
static GList *noproxy = NULL;
void
glibwww_add_proxy(const gchar *protocol, const gchar *proxy)
{
GList *tmp;
struct ProxyEntry *ent;
for (tmp = proxies; tmp; tmp = tmp->next) {
ent = tmp->data;
if (!g_strcasecmp(protocol, ent->protocol)) {
g_free(ent->proxy);
ent->proxy = g_strdup(proxy);
return;
}
}
ent = g_new(struct ProxyEntry, 1);
ent->protocol = g_strdup(protocol);
ent->proxy = g_strdup(proxy);
proxies = g_list_prepend(proxies, ent);
}
void
glibwww_add_noproxy(const gchar *host)
{
noproxy = g_list_prepend(noproxy, g_strdup(host));
}
static const gchar *
glibwww_get_proxy(const gchar *url)
{
gchar *protocol;
GList *tmp;
if (!url || !proxies)
return NULL;
if (noproxy) {
char *host = HTParse(url, "", PARSE_HOST);
char *ptr = strchr(host, ':');
if (ptr != NULL) *ptr = ':';
for (tmp = noproxy; tmp; tmp = tmp->next) {
char *nophost = tmp->data;
char *np = nophost + strlen(nophost);
char *hp = host + strlen(host);
while (np>=nophost && hp>=host && (*np--==*hp--))
;
if (np==nophost-1 && (hp==host-1 || *hp=='.'))
return NULL;
}
}
protocol = HTParse(url, "", PARSE_ACCESS);
for (tmp = proxies; tmp; tmp = tmp->next) {
struct ProxyEntry *ent = tmp->data;
if (!g_strcasecmp(ent->protocol, protocol)) {
HT_FREE(protocol);
return ent->proxy;
}
}
HT_FREE(protocol);
return NULL;
}
static void
glibwww_parse_proxy_env(void)
{
static const char *protocollist[] = {
"http",
"ftp",
"news",
"wais",
"gopher",
NULL
};
const char **prot = protocollist;
char *nop;
for (prot = protocollist; *prot != NULL; prot++) {
gchar *var = g_strconcat(*prot, "_proxy", NULL);
gchar *proxy = g_getenv(var);
if (proxy && proxy[0])
glibwww_add_proxy(*prot, proxy);
else {
gchar *up = var;
while ((*up = TOUPPER(*up))) up++;
if ((proxy = g_getenv(var)) != NULL && proxy[0])
glibwww_add_proxy(*prot, proxy);
}
g_free(var);
}
nop = g_getenv("no_proxy");
if (nop && nop[0]) {
char *str = g_strdup(nop);
char *ptr = str;
char *name;
while ((name = HTNextField(&ptr)) != NULL)
glibwww_add_noproxy(name);
g_free(str);
}
}
/* mime initialisation */
static void
HTMIMEInit(void)
{
struct {
char *string;
HTParserCallback *pHandler;
} fixedHandlers[] = {
{"accept", &HTMIME_accept},
{"accept-charset", &HTMIME_acceptCharset},
{"accept-encoding", &HTMIME_acceptEncoding},
{"accept-language", &HTMIME_acceptLanguage},
{"accept-ranges", &HTMIME_acceptRanges},
{"authorization", NULL},
{"cache-control", &HTMIME_cacheControl},
{"connection", &HTMIME_connection},
{"content-encoding", &HTMIME_contentEncoding},
{"content-length", &HTMIME_contentLength},
{"content-range", &HTMIME_contentRange},
{"content-transfer-encoding", &HTMIME_contentTransferEncoding},
{"content-type", &HTMIME_contentType},
{"digest-MessageDigest", &HTMIME_messageDigest},
{"keep-alive", &HTMIME_keepAlive},
{"link", &HTMIME_link},
{"location", &HTMIME_location},
{"max-forwards", &HTMIME_maxForwards},
{"mime-version", NULL},
{"pragma", &HTMIME_pragma},
{"protocol", &HTMIME_protocol},
{"protocol-info", &HTMIME_protocolInfo},
{"protocol-request", &HTMIME_protocolRequest},
{"proxy-authenticate", &HTMIME_authenticate},
{"proxy-authorization", &HTMIME_proxyAuthorization},
{"public", &HTMIME_public},
{"range", &HTMIME_range},
{"referer", &HTMIME_referer},
{"retry-after", &HTMIME_retryAfter},
{"server", &HTMIME_server},
{"trailer", &HTMIME_trailer},
{"transfer-encoding", &HTMIME_transferEncoding},
{"upgrade", &HTMIME_upgrade},
{"user-agent", &HTMIME_userAgent},
{"vary", &HTMIME_vary},
{"via", &HTMIME_via},
{"warning", &HTMIME_warning},
{"www-authenticate", &HTMIME_authenticate},
{"authentication-info", &HTMIME_authenticationInfo},
{"proxy-authentication-info", &HTMIME_proxyAuthenticationInfo}
};
int i;
for (i = 0; i < sizeof(fixedHandlers)/sizeof(fixedHandlers[0]); i++)
HTHeader_addParser(fixedHandlers[i].string, NO, fixedHandlers[i].pHandler);
}
/* the following filters are from HTFilter.c: */
static int
HTProxyFilter(HTRequest *request, void *param, int status)
{
HTParentAnchor *anchor = HTRequest_anchor(request);
char *addr = HTAnchor_physical(anchor);
const char *physical = NULL;
if ((physical = glibwww_get_proxy(addr))) {
HTRequest_setFullURI(request, YES);
HTRequest_setProxy(request, physical);
} else {
HTRequest_setFullURI(request, NO);
HTRequest_deleteProxy(request);
}
return HT_OK;
}
static int
HTRedirectFilter(HTRequest *request, HTResponse *response,
void *param, int status)
{
HTMethod method = HTRequest_method(request);
HTAnchor *new_anchor = HTResponse_redirection(response);
if (!new_anchor)
return HT_OK;
if (!HTMethod_isSafe(method))
return HT_OK;
HTRequest_deleteCredentialsAll(request);
if (HTRequest_doRetry(request)) {
HTRequest_setAnchor(request, new_anchor);
HTLoad(request, NO);
} else {
HTRequest_addError(request, ERR_FATAL, NO, HTERR_MAX_REDIRECT,
NULL, 0, "HTRedirectFilter");
return HT_OK;
}
return HT_ERROR;
}
static int
HTCredentialsFilter(HTRequest *request, void *param, int status)
{
if (HTAA_beforeFilter(request, param, status) == HT_OK)
return HT_OK;
else {
HTRequest_addError(request, ERR_FATAL, NO, HTERR_UNAUTHORIZED,
NULL, 0, "HTCredentialsFilter");
return HT_ERROR;
}
}
static int
HTAuthFilter(HTRequest *request, HTResponse *response,
void *param, int status)
{
if (HTAA_afterFilter(request, response, param, status) == HT_OK) {
HTLoad(request, NO);
return HT_ERROR;
}
return HT_OK;
}
static int
HTAuthInfoFilter(HTRequest *request, HTResponse *response,
void *param, int status)
{
if (!HTResponse_challenge(response))
return HT_OK;
else if (HTAA_updateFilter(request, response, param, status) == HT_OK)
return HT_OK;
else
return HT_ERROR;
}

View file

@ -1,200 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#include <WWWCore.h>
#include <WWWStream.h>
#include <WWWTrans.h>
#undef PACKAGE
#undef VERSION
#undef _
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "glibwww.h"
#include <stdio.h>
static gboolean
delete_request(HTRequest *request)
{
/*HTRequest_delete(request);*/
return FALSE;
}
struct LoadToFileData {
gchar *url;
gchar *file;
GWWWLoadToFileFunc callback;
gpointer user_data;
};
static int
after_load_to_file(HTRequest *request, HTResponse *response,
void *param, int status)
{
struct LoadToFileData *data = (struct LoadToFileData *)param;
/* Ignore these after events. We will get another call to the
* after filter when the data actually loads. */
switch (status) {
case HT_NO_ACCESS:
case HT_REAUTH:
case HT_PERM_REDIRECT:
case HT_FOUND:
case HT_SEE_OTHER:
case HT_TEMP_REDIRECT:
return HT_OK;
default:
break;
}
if (data) {
if (data->callback)
(* data->callback)(data->url, data->file, status,
data->user_data);
g_free(data->url);
g_free(data->file);
g_free(data);
}
/* schedule for the request to be deleted */
g_idle_add((GSourceFunc)delete_request, request);
return HT_OK;
}
GWWWRequest *
glibwww_load_to_file(const gchar *url, const gchar *file,
GWWWLoadToFileFunc callback, gpointer user_data)
{
FILE *fp;
HTRequest *request;
HTStream *writer;
struct LoadToFileData *data;
g_return_val_if_fail(url != NULL, NULL);
g_return_val_if_fail(file != NULL, NULL);
if ((fp = fopen(file, "wb")) == NULL)
return NULL;
request = HTRequest_new();
writer = HTFWriter_new(request, fp, NO);
HTRequest_setOutputFormat(request, WWW_SOURCE);
HTRequest_setOutputStream(request, writer);
HTRequest_setDebugStream(request, writer);
HTRequest_setAnchor(request, HTAnchor_findAddress(url));
data = g_new(struct LoadToFileData, 1);
data->url = g_strdup(url);
data->file = g_strdup(file);
data->callback = callback;
data->user_data = user_data;
HTRequest_addAfter(request, after_load_to_file, NULL, data,
HT_ALL, HT_FILTER_LAST, FALSE);
if (HTLoad(request, NO) == NO) {
fclose(fp);
HTRequest_delete(request);
return NULL;
}
return request;
}
struct LoadToMemData {
gchar *url;
HTChunk *chunk;
GWWWLoadToMemFunc callback;
gpointer user_data;
};
static int
after_load_to_mem(HTRequest *request, HTResponse *response,
void *param, int status)
{
struct LoadToMemData *data = (struct LoadToMemData *)param;
/* Ignore these after events. We will get another call to the
* after filter when the data actually loads. */
switch (status) {
case HT_NO_ACCESS:
case HT_REAUTH:
case HT_PERM_REDIRECT:
case HT_FOUND:
case HT_SEE_OTHER:
case HT_TEMP_REDIRECT:
return HT_OK;
default:
break;
}
if (data->callback)
(* data->callback)(data->url, HTChunk_data(data->chunk),
HTChunk_size(data->chunk), status, data->user_data);
g_free(data->url);
HTChunk_delete(data->chunk);
g_free(data);
/* schedule for the request to be deleted */
g_idle_add((GSourceFunc)delete_request, request);
return HT_OK;
}
GWWWRequest *
glibwww_load_to_mem(const gchar *url, GWWWLoadToMemFunc callback,
gpointer user_data)
{
HTRequest *request;
HTStream *writer;
HTChunk *chunk = NULL;
struct LoadToMemData *data;
g_return_val_if_fail(url != NULL, NULL);
request = HTRequest_new();
writer = HTStreamToChunk(request, &chunk, 0);
HTRequest_setOutputFormat(request, WWW_SOURCE);
HTRequest_setOutputStream(request, writer);
HTRequest_setDebugStream(request, writer);
HTRequest_setAnchor(request, HTAnchor_findAddress(url));
data = g_new(struct LoadToMemData, 1);
data->url = g_strdup(url);
data->chunk = chunk;
data->callback = callback;
data->user_data = user_data;
HTRequest_addAfter(request, after_load_to_mem, NULL, data,
HT_ALL, HT_FILTER_LAST, FALSE);
if (HTLoad(request, NO) == NO) {
HTChunk_delete(chunk);
HTRequest_delete(request);
return NULL;
}
return request;
}
gboolean
glibwww_abort_request(GWWWRequest *request)
{
g_return_val_if_fail(request != NULL, FALSE);
return HTRequest_kill(request) == YES;
}
void
glibwww_request_progress(GWWWRequest *request, glong *nread, glong *total)
{
glong tot = HTAnchor_length(HTRequest_anchor(request));
glong nr = -1;
if (tot > 0)
nr = HTRequest_bodyRead(request);
else
nr = HTRequest_bytesRead(request);
if (nread)
*nread = nr;
if (total)
*total = tot;
}

View file

@ -1,60 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#include <glib.h>
#ifndef _GLIBWWW_H_
#define _GLIBWWW_H_
/* Defined here so we don't have to include any libwww headers */
typedef struct _HTRequest GWWWRequest;
/* If status < 0, an error occured */
typedef void (*GWWWLoadToFileFunc) (const gchar *url, const gchar *file,
int status, gpointer user_data);
typedef void (*GWWWLoadToMemFunc) (const gchar *url, const gchar *buffer,
int size, int status, gpointer user_data);
/* Initialise enough of libwww for doing http/ftp downloads with
* authentication, redirection and proxy support.
*/
void glibwww_init (const gchar *appName, const gchar *appVersion);
void glibwww_cleanup (void); /* not necessary -- registered with g_atexit() */
typedef enum {
DLG_PROGRESS = 1<<0,
DLG_CONFIRM = 1<<1,
DLG_PROMPT = 1<<2,
DLG_AUTH = 1<<3
} GLibWWWDialogType;
/* register the GUI dialogs for glibwww. This will take care of all the
* authentication and progress bar stuff for the application. */
void glibwww_register_gnome_dialogs (GLibWWWDialogType type);
/* Setup proxies as needed -- use the http://proxyhost:port/ notation */
void glibwww_add_proxy (const gchar *protocol, const gchar *proxy);
void glibwww_add_noproxy (const gchar *host);
/* Load a url to a file or to memory. The callback will be invoked
* exactly once. */
GWWWRequest *glibwww_load_to_file (const gchar *url, const gchar *file,
GWWWLoadToFileFunc callback,
gpointer user_data);
GWWWRequest *glibwww_load_to_mem (const gchar *url,
GWWWLoadToMemFunc callback,
gpointer user_data);
/* Abort a currently running download */
gboolean glibwww_abort_request(GWWWRequest *request);
/* Get the progress of the currently running request. nread or total may
* return a negative result if it can't determine how far along things are. */
void glibwww_request_progress (GWWWRequest *request,
glong *nread, glong *total);
/* This is called by glibwww_init, but may be useful if you only want to
* use the callbacks provided by glibwww for embedding libwww into the
* glib main loop */
void glibwww_register_callbacks (void);
#endif

View file

@ -1,421 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#include <WWWCore.h>
#include <WWWStream.h>
#include <WWWTrans.h>
#include <WWWHTTP.h>
#include <HTDialog.h>
#undef PACKAGE
#undef VERSION
#undef _
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "glibwww.h"
#include <gnome.h>
static const char * HTDialogs[HT_MSG_ELEMENTS] = {
HT_MSG_ENGLISH_INITIALIZER
};
#if 0
static HTErrorMessage HTErrors[HTERR_ELEMENTS] = {
HTERR_ENGLISH_INITIALIZER
};
#endif
typedef struct _ProgressInfo ProgressInfo;
struct _ProgressInfo {
HTRequest *req;
GtkBox *box;
GtkLabel *url;
GtkProgress *progress;
};
static GtkWidget *prog_win = NULL;
static GtkWidget *prog_box = NULL;
static GList *prog_info = NULL;
static gint
hide_win(GtkWidget *win)
{
gtk_widget_hide(win);
return TRUE;
}
/* a simple routine to remove the progress meter from the screen when the
* request finishes */
static int
hide_progress(HTRequest *request, HTResponse *response,
void *param, int status)
{
GList *tmp;
for (tmp = prog_info; tmp; tmp = tmp->next) {
ProgressInfo *info = tmp->data;
if (info->req == request) {
/* this will destroy the widgets */
gtk_container_remove(GTK_CONTAINER(prog_box), GTK_WIDGET(info->box));
prog_info = g_list_remove(prog_info, info);
g_free(info);
if (prog_info == NULL)
gtk_widget_hide(prog_win);
return HT_OK;
}
}
return HT_OK;
}
static ProgressInfo *
get_progress(HTRequest *req)
{
GList *tmp;
ProgressInfo *info;
GtkWidget *box, *label, *progress;
char *uri;
for (tmp = prog_info; tmp; tmp = tmp->next) {
info = tmp->data;
if (info->req == req)
return info;
}
if (prog_win == NULL) {
prog_win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_window_set_title(GTK_WINDOW(prog_win), _("Transfer Progress"));
gtk_window_set_wmclass(GTK_WINDOW(prog_win), "html_progress", "Nautilus");
gtk_window_set_policy(GTK_WINDOW(prog_win), FALSE, FALSE, TRUE);
gtk_signal_connect(GTK_OBJECT(prog_win), "delete_event",
GTK_SIGNAL_FUNC(hide_win), NULL);
prog_box = gtk_vbox_new(FALSE, GNOME_PAD);
gtk_container_set_border_width(GTK_CONTAINER(prog_box), GNOME_PAD_SMALL);
gtk_container_add(GTK_CONTAINER(prog_win), prog_box);
gtk_widget_show(prog_box);
}
info = g_new(ProgressInfo, 1);
prog_info = g_list_append(prog_info, info);
info->req = req;
HTRequest_addAfter(req, hide_progress, NULL, NULL,
HT_ALL, HT_FILTER_LAST, FALSE);
box = gtk_vbox_new(FALSE, GNOME_PAD_SMALL);
info->box = GTK_BOX(box);
uri = HTAnchor_address((HTAnchor *)HTRequest_anchor(req));
label = gtk_label_new(uri);
info->url = GTK_LABEL(label);
HT_FREE(uri);
gtk_box_pack_start(info->box, label, TRUE, TRUE, 0);
gtk_widget_show(label);
progress = gtk_progress_bar_new();
info->progress = GTK_PROGRESS(progress);
gtk_progress_set_show_text(info->progress, TRUE);
gtk_box_pack_start(info->box, progress, TRUE, TRUE, 0);
gtk_widget_show(progress);
gtk_box_pack_start(GTK_BOX(prog_box), box, TRUE, TRUE, 0);
gtk_widget_show(box);
gtk_widget_show(prog_win);
return info;
}
static BOOL
glibwww_progress(HTRequest *request, HTAlertOpcode op,
int msgnum, const char *dfault, void *input,
HTAlertPar *reply)
{
ProgressInfo *info;
gchar *text;
long cl;
if (!request)
return NO;
info = get_progress(request);
switch (op) {
case HT_PROG_DNS:
text = g_strdup_printf(_("Looking up %s"), input?(char*)input:"");
gtk_progress_set_format_string(info->progress, text);
g_free(text);
gtk_progress_set_activity_mode(info->progress, TRUE);
break;
case HT_PROG_CONNECT:
text = g_strdup_printf(_("Contacting %s"), input?(char*)input:"");
gtk_progress_set_format_string(info->progress, text);
g_free(text);
gtk_progress_set_activity_mode(info->progress, TRUE);
break;
case HT_PROG_ACCEPT:
gtk_progress_set_format_string(info->progress,
_("Waiting for a connection..."));
gtk_progress_set_activity_mode(info->progress, TRUE);
break;
case HT_PROG_LOGIN:
gtk_progress_set_format_string(info->progress, _("Logging in..."));
gtk_progress_set_activity_mode(info->progress, TRUE);
break;
case HT_PROG_READ:
cl = HTAnchor_length(HTRequest_anchor(request));
if (cl > 0) {
long b_read = HTRequest_bodyRead(request);
gfloat pcnt = (double)b_read/cl;
text = g_strdup_printf(_("Read %d%%%% of %ld"), (int)pcnt, cl);
gtk_progress_set_format_string(info->progress, text);
g_free(text);
gtk_progress_set_activity_mode(info->progress, FALSE);
gtk_progress_set_percentage(info->progress, pcnt);
} else {
long b_read = HTRequest_bytesRead(request);
int *raw_read = input ? (int *)input : NULL;
if (b_read > 0)
text = g_strdup_printf(_("Read %ld bytes"), b_read);
else if (raw_read && *raw_read > 0)
text = g_strdup_printf(_("Read %d bytes"), *raw_read);
else
text = g_strdup(_("Reading..."));
gtk_progress_set_format_string(info->progress, text);
g_free(text);
gtk_progress_set_activity_mode(info->progress, TRUE);
}
break;
case HT_PROG_WRITE:
if (HTMethod_hasEntity(HTRequest_method(request))) {
HTParentAnchor *anchor = HTRequest_anchor(HTRequest_source(request));
cl = HTAnchor_length(anchor);
if (cl > 0) {
long b_write = HTRequest_bodyWritten(request);
gfloat pcnt = (double)b_write/cl;
text = g_strdup_printf(_("Writing %d%%%% of %ld"), (int)pcnt, cl);
gtk_progress_set_format_string(info->progress, text);
g_free(text);
gtk_progress_set_activity_mode(info->progress, FALSE);
gtk_progress_set_percentage(info->progress, pcnt);
} else {
long b_write = HTRequest_bytesWritten(request);
int *raw_write = input ? (int *)input : NULL;
if (b_write > 0)
text = g_strdup_printf(_("Writing %ld bytes"), b_write);
else if (raw_write && *raw_write > 0)
text = g_strdup_printf(_("Writing %d bytes"), *raw_write);
else
text = g_strdup(_("Writing..."));
gtk_progress_set_format_string(info->progress, text);
g_free(text);
gtk_progress_set_activity_mode(info->progress, TRUE);
}
}
break;
case HT_PROG_DONE:
gtk_progress_set_format_string(info->progress, _("Done!"));
gtk_progress_set_activity_mode(info->progress, TRUE);
break;
case HT_PROG_INTERRUPT:
gtk_progress_set_format_string(info->progress, _("Interrupted!"));
gtk_progress_set_activity_mode(info->progress, TRUE);
break;
case HT_PROG_OTHER:
gtk_progress_set_format_string(info->progress, _("Please wait..."));
gtk_progress_set_activity_mode(info->progress, TRUE);
break;
case HT_PROG_TIMEOUT:
gtk_progress_set_format_string(info->progress, _("Request timeout!"));
gtk_progress_set_activity_mode(info->progress, TRUE);
break;
default:
gtk_progress_set_format_string(info->progress, _("Unknown"));
gtk_progress_set_activity_mode(info->progress, TRUE);
break;
}
return YES;
}
static BOOL
glibwww_confirm(HTRequest *request, HTAlertOpcode op,
int msgnum, const char *dfault, void *input,
HTAlertPar *reply)
{
GtkWidget *dlg = gnome_message_box_new(HTDialogs[msgnum],
GNOME_MESSAGE_BOX_QUESTION,
GNOME_STOCK_BUTTON_YES,
GNOME_STOCK_BUTTON_NO,
NULL);
gint button;
gnome_dialog_set_default(GNOME_DIALOG(dlg), 0);
gnome_dialog_close_hides(GNOME_DIALOG(dlg), FALSE);
gnome_dialog_set_close(GNOME_DIALOG(dlg), TRUE);
button = gnome_dialog_run_and_close(GNOME_DIALOG(dlg));
return button == 0;
}
static BOOL
glibwww_prompt(HTRequest *request, HTAlertOpcode op,
int msgnum, const char *dfault, void *input,
HTAlertPar *reply)
{
GtkWidget *dlg;
GtkWidget *label;
GtkWidget *entry;
gint button;
if (msgnum == HT_MSG_FILENAME) {
if (dfault)
HTAlert_setReplyMessage(reply, dfault);
return YES;
}
dlg = gnome_dialog_new(_("Enter Text"), GNOME_STOCK_BUTTON_OK, NULL);
gtk_window_set_wmclass(GTK_WINDOW(dlg), "html_prompt", "Nautilus");
if (input) {
gchar *tmp = g_strconcat(HTDialogs[msgnum], " (",
(char *)input, ")", NULL);
label = gtk_label_new(tmp);
g_free(tmp);
} else
label = gtk_label_new(HTDialogs[msgnum]);
entry = gtk_entry_new();
if (dfault)
gtk_entry_set_text(GTK_ENTRY(entry), dfault);
gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dlg)->vbox), label, TRUE, TRUE, 0);
gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dlg)->vbox), entry, TRUE, TRUE, 0);
gtk_widget_show(label);
gtk_widget_show(entry);
gnome_dialog_set_default(GNOME_DIALOG(dlg), 0);
gnome_dialog_close_hides(GNOME_DIALOG(dlg), TRUE);
gnome_dialog_set_close(GNOME_DIALOG(dlg), TRUE);
gnome_dialog_editable_enters(GNOME_DIALOG(dlg), GTK_EDITABLE(entry));
button = gnome_dialog_run_and_close(GNOME_DIALOG(dlg));
if (button == 0) {
HTAlert_setReplyMessage(reply, gtk_entry_get_text(GTK_ENTRY(entry)));
gtk_widget_unref(dlg);
return YES;
}
gtk_widget_unref(dlg);
return NO;
}
static BOOL
glibwww_prompt_password(HTRequest *request, HTAlertOpcode op,
int msgnum, const char *dfault,
void *input, HTAlertPar *reply)
{
GtkWidget *dlg;
GtkWidget *label;
GtkWidget *entry;
gint button;
dlg = gnome_dialog_new(_("Enter Password"), GNOME_STOCK_BUTTON_OK, NULL);
gtk_window_set_wmclass(GTK_WINDOW(dlg), "html_prompt", "Nautilus");
if (input) {
gchar *tmp = g_strconcat(HTDialogs[msgnum], " (",
(char *)input, ")", NULL);
label = gtk_label_new(tmp);
g_free(tmp);
} else
label = gtk_label_new(HTDialogs[msgnum]);
entry = gtk_entry_new();
gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE);
gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dlg)->vbox), label, TRUE, TRUE, 0);
gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dlg)->vbox), entry, TRUE, TRUE, 0);
gtk_widget_show(label);
gtk_widget_show(entry);
gnome_dialog_set_default(GNOME_DIALOG(dlg), 0);
gnome_dialog_close_hides(GNOME_DIALOG(dlg), TRUE);
gnome_dialog_set_close(GNOME_DIALOG(dlg), TRUE);
gnome_dialog_editable_enters(GNOME_DIALOG(dlg), GTK_EDITABLE(entry));
button = gnome_dialog_run_and_close(GNOME_DIALOG(dlg));
if (button == 0) {
HTAlert_setReplySecret(reply, gtk_entry_get_text(GTK_ENTRY(entry)));
gtk_widget_unref(dlg);
return YES;
}
gtk_widget_unref(dlg);
return NO;
}
static BOOL
glibwww_prompt_username_and_password(HTRequest *request, HTAlertOpcode op,
int msgnum, const char *dfault,
void *input, HTAlertPar *reply)
{
GtkWidget *dlg;
GtkWidget *label;
GtkWidget *entry1;
GtkWidget *entry2;
gint button;
dlg = gnome_dialog_new(_("Enter Password"), GNOME_STOCK_BUTTON_OK,
GNOME_STOCK_BUTTON_CANCEL, NULL);
gtk_window_set_wmclass(GTK_WINDOW(dlg), "html_prompt", "Nautilus");
if (input) {
gchar *tmp = g_strconcat(HTDialogs[msgnum], " (",
(char *)input, ")", NULL);
label = gtk_label_new(tmp);
g_free(tmp);
} else
label = gtk_label_new(HTDialogs[msgnum]);
entry1 = gtk_entry_new();
if (dfault)
gtk_entry_set_text(GTK_ENTRY(entry1), dfault);
entry2 = gtk_entry_new();
gtk_entry_set_visibility(GTK_ENTRY(entry2), FALSE);
gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dlg)->vbox), label, TRUE, TRUE, 0);
gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dlg)->vbox), entry1, TRUE, TRUE, 0);
gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dlg)->vbox), entry2, TRUE, TRUE, 0);
gtk_widget_show(label);
gtk_widget_show(entry1);
gtk_widget_show(entry2);
gnome_dialog_set_default(GNOME_DIALOG(dlg), 0);
gnome_dialog_close_hides(GNOME_DIALOG(dlg), TRUE);
gnome_dialog_set_close(GNOME_DIALOG(dlg), TRUE);
/* enter on first entry moves focus to second one */
gtk_signal_connect_object(GTK_OBJECT(entry1), "activate",
GTK_SIGNAL_FUNC(gtk_widget_grab_focus),
GTK_OBJECT(entry2));
gnome_dialog_editable_enters(GNOME_DIALOG(dlg), GTK_EDITABLE(entry2));
button = gnome_dialog_run_and_close(GNOME_DIALOG(dlg));
if (button == 0) {
HTAlert_setReplyMessage(reply, gtk_entry_get_text(GTK_ENTRY(entry1)));
HTAlert_setReplySecret(reply, gtk_entry_get_text(GTK_ENTRY(entry2)));
gtk_widget_unref(dlg);
return YES;
}
gtk_widget_unref(dlg);
return NO;
}
void
glibwww_register_gnome_dialogs(GLibWWWDialogType type)
{
if(type & DLG_PROGRESS)
HTAlert_add(glibwww_progress, HT_A_PROGRESS);
/* HTAlert_add(glibwww_message, HT_A_MESSAGE);
*/
if(type & DLG_CONFIRM)
HTAlert_add(glibwww_confirm, HT_A_CONFIRM);
if(type & DLG_PROMPT)
HTAlert_add(glibwww_prompt, HT_A_PROMPT);
if(type & DLG_AUTH) {
HTAlert_add(glibwww_prompt_password, HT_A_SECRET);
HTAlert_add(glibwww_prompt_username_and_password, HT_A_USER_PW);
}
HTAlert_setInteractive(YES);
}

View file

@ -1,11 +0,0 @@
[embeddable-factory:explorer-html-component]
type=exe
repo_id=IDL:GNOME/EmbeddableFactory:1.0 IDL:GNOME/GenericFactory:1.0
description=Explorer HTML component's embeddable factory
location_info=explorer-html-component
[embeddable:explorer-html-component]
type=factory
repo_id=IDL:BonoboObject/explorer-html-component:1.0 IDL:GNOME/Embeddable:1.0
description=Explorer HTML component
location_info=embeddable-factory:explorer-html-component

View file

@ -1,646 +0,0 @@
#include <WWWCore.h>
#include <WWWStream.h>
#include <WWWTrans.h>
#include <WWWHTTP.h>
#include <WWWMIME.h>
#include <WWWFTP.h>
#include <WWWFile.h>
#include <WWWGophe.h>
#include <WWWZip.h>
/* clean up the cpp namespace -- libwww is particularly dirty */
#undef PACKAGE
#undef VERSION
#undef _
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "glibwww.h"
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
#include <gnome.h>
#include <libnautilus/libnautilus.h>
#include <gtkhtml/gtkhtml.h>
#include <liboaf/liboaf.h>
#include <libgnomevfs/gnome-vfs.h>
#include <libnautilus-extensions/nautilus-debug.h>
/*Include the GConf main header. */
#include <gconf/gconf.h>
typedef struct {
NautilusView *nautilus_view;
GtkWidget *htmlw;
char *base_url, *base_target_url;
int prevsel;
HTMethod method;
char *post_data;
} BrowserInfo;
typedef struct {
GtkHTMLStream *sh;
BrowserInfo *bi;
char *url;
HTStream *stream;
} VFSHandle;
static void do_vfs_load(VFSHandle *handle);
static char *
canonicalize_url (const char *in_url, const char *base_url)
{
char *ctmp, *ctmp2, *retval, *removebegin, *removeend, *curpos;
gboolean trailing_slash = FALSE;
g_return_val_if_fail(in_url, NULL);
if(base_url && base_url[strlen(base_url)-1] == '/')
trailing_slash = TRUE;
ctmp = strstr(in_url, "://");
if(ctmp)
{
retval = g_strdup(in_url);
goto out;
}
else if(*in_url == '/')
{
int inc = 0;
if(trailing_slash)
inc++;
ctmp = base_url?strstr(base_url, "://"):NULL;
if(!ctmp)
{
retval = g_strconcat("file://", in_url, NULL);
goto out;
}
ctmp2 = strchr(ctmp + 3, '/');
retval = g_strconcat(base_url, in_url+inc, NULL);
goto out;
}
/* XXX TODO - We should really do processing of .. and . in URLs */
ctmp = base_url?strstr(base_url, "://"):NULL;
if(!ctmp)
{
char *cwd;
if(in_url)
{
ctmp = strchr(in_url, ':');
if(ctmp) /* OK, it's some funky URL scheme without any /'s */
return g_strdup(in_url);
}
cwd = g_get_current_dir();
ctmp = g_strconcat("file://", cwd, "/", in_url, NULL);
g_free(cwd);
retval = ctmp;
goto out;
}
retval = g_strconcat(base_url, "/", in_url, NULL);
out:
/* Now fix up the /. and /.. pieces */
ctmp = strstr(retval, "://");
if(!ctmp)
return retval;
ctmp += 3;
ctmp = strchr(ctmp, '/');
if(!ctmp) {
ctmp = retval;
retval = g_strconcat(retval, trailing_slash?"":"/", NULL);
g_free(ctmp);
return retval;
}
removebegin = removeend = NULL;
do {
if(removebegin && removeend)
{
memmove(removebegin, removeend, strlen(removeend) + 1);
removebegin = removeend = NULL;
}
curpos = ctmp;
redo:
ctmp2 = strstr(curpos, "/.");
if(!ctmp2)
break;
if(*(ctmp2 + 2) == '.') /* We have to skip over stuff like /...blahblah or /.foo */
{
if(*(ctmp2 + 3) != '/'
&& *(ctmp2 + 3) != '\0')
{
curpos = ctmp2 + 3;
goto redo;
}
}
else if(*(ctmp2 + 2) != '/' && *(ctmp2 + 2) != '\0')
{
curpos = ctmp2 + 2;
goto redo;
}
switch(*(ctmp2+2))
{
case '/':
case '\0':
removebegin = ctmp2;
removeend = ctmp2 + 2;
break;
case '.':
removeend = ctmp2 + 3;
ctmp2--;
while((ctmp2 >= ctmp) && *ctmp2 != '/')
ctmp2--;
if(*ctmp2 == '/')
removebegin = ctmp2;
break;
}
} while(removebegin);
return retval;
}
static void
browser_url_load_done(GtkWidget *htmlw, BrowserInfo *bi)
{
nautilus_view_report_load_complete(bi->nautilus_view);
}
struct _HTStream {
const HTStreamClass * isa;
BrowserInfo *bi;
GtkHTMLStream *handle;
};
static int netin_stream_write (HTStream * me, const char * s, int l)
{
gtk_html_write(GTK_HTML(me->bi->htmlw), me->handle, s, l);
return HT_OK;
}
static int netin_stream_put_character (HTStream * me, char c)
{
return netin_stream_write(me, &c, 1);
}
static int netin_stream_put_string (HTStream * me, const char * s)
{
return netin_stream_write(me, s, strlen(s));
}
static int netin_stream_flush (HTStream * me)
{
return HT_OK;
}
static int netin_stream_free (HTStream * me)
{
if(me->handle)
gtk_html_end(GTK_HTML(me->bi->htmlw), me->handle, GTK_HTML_STREAM_OK);
g_free(me);
return HT_OK;
}
static int netin_stream_abort (HTStream * me, HTList * e)
{
if(me->handle)
gtk_html_end(GTK_HTML(me->bi->htmlw), me->handle, GTK_HTML_STREAM_ERROR);
g_free(me);
return HT_OK;
}
static const HTStreamClass netin_stream_class =
{
"netin_stream",
netin_stream_flush,
netin_stream_free,
netin_stream_abort,
netin_stream_put_character,
netin_stream_put_string,
netin_stream_write
};
static HTStream *
netin_stream_new (BrowserInfo *bi, GtkHTMLStream *handle)
{
HTStream *retval;
retval = g_new0(HTStream, 1);
retval->isa = &netin_stream_class;
retval->bi = bi;
retval->handle = handle;
return retval;
}
static gboolean
do_request_delete(gpointer req)
{
HTRequest_delete(req);
return FALSE;
}
static int
request_terminator (HTRequest * request, HTResponse * response, void * param, int status)
{
gpointer d;
VFSHandle *vfsh;
d = HTRequest_context(request);
g_return_val_if_fail(d, HT_OK);
vfsh = d;
if (status < 0)
{
g_print("Load couldn't be completed successfully (%p)\n", request);
vfsh->stream->handle = NULL;
vfsh->stream = NULL;
do_vfs_load(vfsh);
}
else
{
g_free(vfsh->url);
g_free(vfsh);
}
HTRequest_setContext(request, NULL);
g_idle_add(do_request_delete, request);
return HT_OK;
}
static int
browser_do_post(HTRequest *request, HTStream *stream)
{
VFSHandle *vfsh = HTRequest_context(request);
int status;
g_assert(vfsh);
status = (*stream->isa->put_block)(stream, vfsh->bi->post_data, strlen(vfsh->bi->post_data));
g_message("browser_do_post got status %d", status);
switch(status)
{
case HT_LOADED:
case HT_OK:
g_free(vfsh->bi->post_data); vfsh->bi->post_data = NULL;
(*stream->isa->flush)(stream);
default:
return status;
break;
}
}
static char vfs_read_buf[40960];
static void
browser_vfs_read_callback (GnomeVFSAsyncHandle *h, GnomeVFSResult res, gpointer buffer,
GnomeVFSFileSize bytes_requested,
GnomeVFSFileSize bytes_read,
gpointer data)
{
VFSHandle *vfsh = data;
g_message("browser_vfs_read_callback: %ld/%ld bytes", (long) bytes_read, (long) bytes_requested);
if(bytes_read != 0)
{
gtk_html_write(GTK_HTML(vfsh->bi->htmlw), vfsh->sh, buffer, bytes_read);
}
if(bytes_read == 0 || res != GNOME_VFS_OK)
{
gtk_html_end(GTK_HTML(vfsh->bi->htmlw), vfsh->sh, GTK_HTML_STREAM_OK);
gnome_vfs_async_close(h, (GnomeVFSAsyncCloseCallback)gtk_true, NULL);
g_free(vfsh);
return;
}
gnome_vfs_async_read(h, vfs_read_buf, sizeof(vfs_read_buf), browser_vfs_read_callback, data);
}
static void
browser_vfs_callback(GnomeVFSAsyncHandle *h, GnomeVFSResult res, gpointer data)
{
VFSHandle *vfsh = data;
g_message("browser_vfs_callback, res was %s", gnome_vfs_result_to_string(res));
if(res != GNOME_VFS_OK)
{
nautilus_view_report_load_failed(vfsh->bi->nautilus_view);
gtk_html_end(GTK_HTML(vfsh->bi->htmlw), vfsh->sh, GTK_HTML_STREAM_ERROR);
g_free(vfsh);
}
else
{
gnome_vfs_async_read(h, vfs_read_buf, sizeof(vfs_read_buf), browser_vfs_read_callback, vfsh);
}
}
static void
do_vfs_load(VFSHandle *vfsh)
{
GnomeVFSAsyncHandle *ah;
g_warning("Falling back to gnome-vfs for %s", vfsh->url);
gnome_vfs_async_open(&ah, vfsh->url, GNOME_VFS_OPEN_READ, browser_vfs_callback, vfsh);
}
static void
browser_url_requested(GtkWidget *htmlw, const char *url, GtkHTMLStream *handle, BrowserInfo *bi)
{
char *real_url;
HTRequest *request;
HTStream *writer;
HTAnchor *anchor;
VFSHandle *vfsh;
real_url = canonicalize_url(url, bi->base_url);
vfsh = g_new0(VFSHandle, 1);
vfsh->sh = handle;
vfsh->bi = bi;
vfsh->url = real_url;
anchor = HTAnchor_findAddress(real_url);
if(!anchor)
{
do_vfs_load(vfsh);
return;
}
request = HTRequest_new();
HTRequest_setContext(request, vfsh);
writer = netin_stream_new(bi, handle);
vfsh->stream = writer;
HTRequest_setOutputFormat(request, WWW_SOURCE);
HTRequest_setOutputStream(request, writer);
if(bi->method == METHOD_POST)
HTRequest_setPostCallback(request, browser_do_post);
HTRequest_setAnchor(request, anchor);
HTRequest_setMethod(request, bi->method);
bi->method = METHOD_GET;
if(HTLoad(request, NO) == NO)
{
g_warning("Load failed");
do_vfs_load(vfsh);
writer->handle = NULL;
HTRequest_delete(request);
}
}
static void
browser_set_base(GtkWidget *htmlw, const char *base_url, BrowserInfo *bi)
{
if(bi->base_url)
g_free(bi->base_url);
bi->base_url = g_strdup(base_url);
}
static void
browser_set_base_target(GtkWidget *htmlw, const char *base_target_url, BrowserInfo *bi)
{
if(bi->base_target_url)
g_free(bi->base_target_url);
bi->base_target_url = g_strdup(base_target_url);
}
static void
browser_goto_url_real(GtkWidget *htmlw, const char *url, BrowserInfo *bi)
{
GtkHTMLStream *stream;
HTNet_killAll();
g_free(bi->base_url);
g_free(bi->base_target_url);
if(url[strlen(url) - 1] == '/')
{
bi->base_url = g_strdup(url);
bi->base_target_url = g_strdup(url);
}
else
{
bi->base_url = g_dirname(url);
bi->base_target_url = g_dirname(url);
}
stream = gtk_html_begin(GTK_HTML(bi->htmlw));
browser_url_requested(bi->htmlw, url, stream, bi);
nautilus_view_report_load_underway(bi->nautilus_view);
}
static void
browser_goto_url(GtkWidget *htmlw, const char *url, BrowserInfo *bi)
{
char *real_url;
real_url = canonicalize_url(url, bi->base_target_url);
g_return_if_fail(real_url);
nautilus_view_report_location_change(bi->nautilus_view, real_url);
browser_goto_url_real(htmlw, real_url, bi);
g_free(real_url);
}
static void
browser_select_url(GtkWidget *htmlw, const char *url, BrowserInfo *bi)
{
GList *list;
GList simple_list;
char *real_url;
list = NULL;
real_url = NULL;
if(url && !bi->prevsel)
{
real_url = canonicalize_url(url, bi->base_target_url);
simple_list.data = real_url;
simple_list.next = NULL;
simple_list.prev = NULL;
list = &simple_list;
}
nautilus_view_report_selection_change(bi->nautilus_view, list);
if (real_url != NULL)
nautilus_view_report_status(bi->nautilus_view, real_url);
g_free(real_url);
bi->prevsel = url?1:0;
}
static void
browser_title_changed(GtkWidget *htmlw, const char *new_title, BrowserInfo *bi)
{
nautilus_view_set_title(bi->nautilus_view, new_title);
}
static void
browser_submit(GtkWidget *htmlw, const char *method, const char *url, const char *encoding, BrowserInfo *bi)
{
g_free(bi->post_data); bi->post_data = NULL;
if(!g_strcasecmp(method, "POST"))
{
char **pieces = g_strsplit(encoding, "&", -1);
if(pieces)
{
char *ctmp;
ctmp = g_strjoinv("\r\n", pieces);
bi->post_data = g_strconcat(ctmp, "\r\n", NULL);
g_free(ctmp);
g_strfreev(pieces);
bi->method = METHOD_POST;
}
browser_goto_url(htmlw, url, bi);
}
else
{
char tmp_url[4096];
g_snprintf(tmp_url, sizeof(tmp_url), "%s?%s", url, encoding);
browser_goto_url(htmlw, tmp_url, bi);
}
}
static void
browser_load_location(NautilusView *nautilus_view,
const char *location,
BrowserInfo *bi)
{
browser_goto_url_real(NULL, location, bi);
}
static int object_count = 0;
static void
browser_do_destroy(GtkObject *obj)
{
object_count--;
if(object_count <= 0)
gtk_main_quit();
}
static BonoboObject *
make_obj(BonoboGenericFactory *Factory, const char *goad_id, void *closure)
{
BrowserInfo *bi;
GtkWidget *wtmp;
if(strcmp(goad_id, "OAFIID:ntl_web_browser:0ce1a736-c939-4ac7-b12c-19d72bf1510b"))
return NULL;
bi = g_new0(BrowserInfo, 1);
bi->htmlw = gtk_html_new();
gtk_signal_connect(GTK_OBJECT(bi->htmlw), "link_clicked", browser_goto_url, bi);
gtk_signal_connect(GTK_OBJECT(bi->htmlw), "set_base", browser_set_base, bi);
gtk_signal_connect(GTK_OBJECT(bi->htmlw), "load_done", browser_url_load_done, bi);
gtk_signal_connect(GTK_OBJECT(bi->htmlw), "set_base", browser_set_base, bi);
gtk_signal_connect(GTK_OBJECT(bi->htmlw), "set_base_target", browser_set_base_target, bi);
gtk_signal_connect(GTK_OBJECT(bi->htmlw), "url_requested", browser_url_requested, bi);
gtk_signal_connect(GTK_OBJECT(bi->htmlw), "on_url", browser_select_url, bi);
gtk_signal_connect(GTK_OBJECT(bi->htmlw), "submit", browser_submit, bi);
gtk_signal_connect(GTK_OBJECT(bi->htmlw), "title_changed", browser_title_changed, bi);
wtmp = gtk_scrolled_window_new(NULL, NULL);
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(wtmp), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_container_add(GTK_CONTAINER(wtmp), bi->htmlw);
gtk_widget_show(bi->htmlw);
gtk_widget_show(wtmp);
bi->nautilus_view = nautilus_view_new (wtmp);
gtk_signal_connect(GTK_OBJECT(bi->nautilus_view), "load_location",
browser_load_location, bi);
object_count++;
gtk_signal_connect(GTK_OBJECT(bi->nautilus_view), "destroy",
browser_do_destroy, NULL);
return BONOBO_OBJECT (bi->nautilus_view);
}
int main(int argc, char *argv[])
{
BonoboGenericFactory *factory;
CORBA_ORB orb;
GConfError *error = NULL;
char *registration_id;
if (g_getenv ("NAUTILUS_DEBUG") != NULL)
nautilus_make_warnings_and_criticals_stop_in_debugger
(G_LOG_DOMAIN, g_log_domain_glib, "Gdk", "Gtk", "GnomeVFS", "GnomeUI", "Bonobo",
"Nautilus-HTML", "gtkhtml", NULL);
/* Initialize gettext support */
#ifdef ENABLE_NLS /* sadly we need this ifdef because otherwise the following get empty statement warnings */
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
textdomain (PACKAGE);
#endif
gnome_init_with_popt_table ("ntl-web-browser", _VERSION,
argc, argv,
oaf_popt_options, 0, NULL);
orb = oaf_init (argc, argv);
/* Init the GConf library.*/
gconf_init (argc, argv, &error);
if (error != NULL) {
g_warning (_("GConf init failed:\n %s"), error->str);
gconf_error_destroy (error);
error = NULL;
}
gnome_vfs_init();
gdk_rgb_init();
glibwww_init("ntl-web-browser", _VERSION);
HTNet_addAfter(request_terminator, NULL, NULL, HT_ALL, HT_FILTER_LAST);
bonobo_init(orb, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL);
registration_id = oaf_make_registration_id ("OAFIID:ntl_web_browser_factory:e553fd3e-101d-445d-ae53-a3a59e77fcc9", getenv ("DISPLAY"));
factory = bonobo_generic_factory_new_multi (registration_id,
make_obj,
NULL);
g_free (registration_id);
do {
bonobo_main ();
} while (object_count > 0);
gnome_vfs_shutdown ();
return 0;
}

View file

@ -1,27 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:ntl_web_browser_factory:e553fd3e-101d-445d-ae53-a3a59e77fcc9" type="exe" location="ntl-web-browser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Nautilus GtkHTML component factory"/>
<oaf_attribute name="description" type="string" value="HTML component's factory"/>
</oaf_server>
<oaf_server iid="OAFIID:ntl_web_browser:0ce1a736-c939-4ac7-b12c-19d72bf1510b" type="factory" location="OAFIID:ntl_web_browser_factory:e553fd3e-101d-445d-ae53-a3a59e77fcc9">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus GtkHTML component"/>
<oaf_attribute name="description" type="string" value="Web browser component"/>
<oaf_attribute name="bonobo:editable" type="boolean" value="false"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="text/html"/>
<item value="x-directory/webdav"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Web Page (GtkHTML)"/>
</oaf_server>
</oaf_info>

View file

@ -3,3 +3,4 @@
Makefile
Makefile.in
nautilus-image-view
Nautilus_View_image.oaf

View file

@ -1,3 +1,5 @@
NULL =
PRINT_LIBS = -lbonobo-print
OBJECT_DIRECTORY_LIBS = $(GNOME_LIBS) $(OAF_LIBS)
@ -26,7 +28,15 @@ nautilus_image_view_LDADD = \
$(GCONF_LIBS) \
$(GNOMEUI_LIBS)
oafdir = $(datadir)/oaf
oaf_DATA = nautilus-image-view.oafinfo
EXTRA_DIST = $(oaf_DATA)
oafdir = $(datadir)/oaf
oaf_in_files = \
Nautilus_View_image.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
EXTRA_DIST=$(oaf_DATA) $(oaf_in_files)

View file

@ -1,41 +1,41 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_image_view_factory:61ea9ab1-e4b4-4da8-8f54-61cf6f33c4f6" type="exe" location="nautilus-image-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Image viewer factory"/>
<oaf_attribute name="description" type="string" value="Generic image control factory"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus Image viewer factory"/>
<oaf_attribute name="description" type="string" _value="Generic image control factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus-image-viewer:30686633-23d5-422b-83c6-4f1b06f8abcd" type="factory" location="OAFIID:nautilus_image_view_factory:61ea9ab1-e4b4-4da8-8f54-61cf6f33c4f6">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/PersistStream:1.0"/>
<item value="IDL:Bonobo/Persist:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Image Viewer"/>
<oaf_attribute name="description" type="string" value="Generic Image Viewer"/>
<oaf_attribute name="bonobo:editable" type="boolean" value="false"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="image/gif"/>
<item value="image/jpeg"/>
<item value="image/png"/>
<item value="image/tiff"/>
<item value="image/x-bmp"/>
<item value="image/x-cmu-raster"/>
<item value="image/x-ico"/>
<item value="image/x-png"/>
<item value="image/x-portable-anymap"/>
<item value="image/x-portable-bitmap"/>
<item value="image/x-portable-graymap"/>
<item value="image/x-portable-pixmap"/>
<item value="image/x-xpixmap"/>
<item value="image/xpm"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Image"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/PersistStream:1.0"/>
<item value="IDL:Bonobo/Persist:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus Image Viewer"/>
<oaf_attribute name="description" type="string" _value="Generic Image Viewer"/>
<oaf_attribute name="bonobo:editable" type="boolean" value="false"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="image/gif"/>
<item value="image/jpeg"/>
<item value="image/png"/>
<item value="image/tiff"/>
<item value="image/x-bmp"/>
<item value="image/x-cmu-raster"/>
<item value="image/x-ico"/>
<item value="image/x-png"/>
<item value="image/x-portable-anymap"/>
<item value="image/x-portable-bitmap"/>
<item value="image/x-portable-graymap"/>
<item value="image/x-portable-pixmap"/>
<item value="image/x-xpixmap"/>
<item value="image/xpm"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Image"/>
</oaf_server>
</oaf_info>

View file

@ -1,41 +1,41 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_image_view_factory:61ea9ab1-e4b4-4da8-8f54-61cf6f33c4f6" type="exe" location="nautilus-image-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Image viewer factory"/>
<oaf_attribute name="description" type="string" value="Generic image control factory"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus Image viewer factory"/>
<oaf_attribute name="description" type="string" _value="Generic image control factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus-image-viewer:30686633-23d5-422b-83c6-4f1b06f8abcd" type="factory" location="OAFIID:nautilus_image_view_factory:61ea9ab1-e4b4-4da8-8f54-61cf6f33c4f6">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/PersistStream:1.0"/>
<item value="IDL:Bonobo/Persist:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Image Viewer"/>
<oaf_attribute name="description" type="string" value="Generic Image Viewer"/>
<oaf_attribute name="bonobo:editable" type="boolean" value="false"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="image/gif"/>
<item value="image/jpeg"/>
<item value="image/png"/>
<item value="image/tiff"/>
<item value="image/x-bmp"/>
<item value="image/x-cmu-raster"/>
<item value="image/x-ico"/>
<item value="image/x-png"/>
<item value="image/x-portable-anymap"/>
<item value="image/x-portable-bitmap"/>
<item value="image/x-portable-graymap"/>
<item value="image/x-portable-pixmap"/>
<item value="image/x-xpixmap"/>
<item value="image/xpm"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Image"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/PersistStream:1.0"/>
<item value="IDL:Bonobo/Persist:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus Image Viewer"/>
<oaf_attribute name="description" type="string" _value="Generic Image Viewer"/>
<oaf_attribute name="bonobo:editable" type="boolean" value="false"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="image/gif"/>
<item value="image/jpeg"/>
<item value="image/png"/>
<item value="image/tiff"/>
<item value="image/x-bmp"/>
<item value="image/x-cmu-raster"/>
<item value="image/x-ico"/>
<item value="image/x-png"/>
<item value="image/x-portable-anymap"/>
<item value="image/x-portable-bitmap"/>
<item value="image/x-portable-graymap"/>
<item value="image/x-portable-pixmap"/>
<item value="image/x-xpixmap"/>
<item value="image/xpm"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Image"/>
</oaf_server>
</oaf_info>

View file

@ -1,41 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_image_view_factory:61ea9ab1-e4b4-4da8-8f54-61cf6f33c4f6" type="exe" location="nautilus-image-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Image viewer factory"/>
<oaf_attribute name="description" type="string" value="Generic image control factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus-image-viewer:30686633-23d5-422b-83c6-4f1b06f8abcd" type="factory" location="OAFIID:nautilus_image_view_factory:61ea9ab1-e4b4-4da8-8f54-61cf6f33c4f6">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/PersistStream:1.0"/>
<item value="IDL:Bonobo/Persist:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Image Viewer"/>
<oaf_attribute name="description" type="string" value="Generic Image Viewer"/>
<oaf_attribute name="bonobo:editable" type="boolean" value="false"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="image/gif"/>
<item value="image/jpeg"/>
<item value="image/png"/>
<item value="image/tiff"/>
<item value="image/x-bmp"/>
<item value="image/x-cmu-raster"/>
<item value="image/x-ico"/>
<item value="image/x-png"/>
<item value="image/x-portable-anymap"/>
<item value="image/x-portable-bitmap"/>
<item value="image/x-portable-graymap"/>
<item value="image/x-portable-pixmap"/>
<item value="image/x-xpixmap"/>
<item value="image/xpm"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Image"/>
</oaf_server>
</oaf_info>

View file

@ -4,3 +4,4 @@ Makefile
Makefile.in
nautilus-content-loser
nautilus-content-loser-ui.xml.h
Nautilus_View_content-loser.oaf

View file

@ -13,9 +13,6 @@ INCLUDES = \
$(GNOMEUI_CFLAGS) \
$(NULL)
oafdir = $(datadir)/oaf
oaf_DATA = nautilus-content-loser.oafinfo
uidir = $(datadir)/gnome/ui
ui_DATA = nautilus-content-loser-ui.xml
@ -36,4 +33,13 @@ nautilus_content_loser_LDADD = \
$(VFS_LIBS) \
$(OAF_LIBS)
EXTRA_DIST = $(oaf_DATA) $(ui_DATA)
oafdir = $(datadir)/oaf
oaf_in_files = \
Nautilus_View_content-loser.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
EXTRA_DIST=$(oaf_DATA) $(oaf_in_files) $(ui_DATA)

View file

@ -1,29 +1,29 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_content_loser_factory:adf30e75-3b63-4360-8784-a8e239390a69" type="exe" location="nautilus-content-loser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus content loser factory"/>
<oaf_attribute name="description" type="string" value="Nautilus content loser component's factory"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus content loser factory"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Content Loser"/>
<oaf_attribute name="description" type="string" value="Nautilus content view that fails on command"/>
<oaf_attribute name="bonobo:additional_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Content Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus Content Loser"/>
<oaf_attribute name="description" type="string" _value="Nautilus content view that fails on command"/>
<oaf_attribute name="bonobo:additional_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Content Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
</oaf_server>
</oaf_info>

View file

@ -1,29 +1,29 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_content_loser_factory:adf30e75-3b63-4360-8784-a8e239390a69" type="exe" location="nautilus-content-loser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus content loser factory"/>
<oaf_attribute name="description" type="string" value="Nautilus content loser component's factory"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus content loser factory"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Content Loser"/>
<oaf_attribute name="description" type="string" value="Nautilus content view that fails on command"/>
<oaf_attribute name="bonobo:additional_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Content Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus Content Loser"/>
<oaf_attribute name="description" type="string" _value="Nautilus content view that fails on command"/>
<oaf_attribute name="bonobo:additional_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Content Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
</oaf_server>
</oaf_info>

View file

@ -1,29 +1,29 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_content_loser_factory:adf30e75-3b63-4360-8784-a8e239390a69" type="exe" location="nautilus-content-loser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus content loser factory"/>
<oaf_attribute name="description" type="string" value="Nautilus content loser component's factory"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus content loser factory"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Content Loser"/>
<oaf_attribute name="description" type="string" value="Nautilus content view that fails on command"/>
<oaf_attribute name="bonobo:additional_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Content Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus Content Loser"/>
<oaf_attribute name="description" type="string" _value="Nautilus content view that fails on command"/>
<oaf_attribute name="bonobo:additional_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Content Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
</oaf_server>
</oaf_info>

View file

@ -1,29 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_content_loser_factory:adf30e75-3b63-4360-8784-a8e239390a69" type="exe" location="nautilus-content-loser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus content loser factory"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Content Loser"/>
<oaf_attribute name="description" type="string" value="Nautilus content view that fails on command"/>
<oaf_attribute name="bonobo:additional_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Content Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
</oaf_server>
</oaf_info>

View file

@ -4,3 +4,4 @@ Makefile
Makefile.in
nautilus-sidebar-loser
nautilus-sidebar-loser-ui.xml.h
Nautilus_View_sidebar-loser.oaf

View file

@ -12,9 +12,6 @@ INCLUDES = \
$(BONOBO_CFLAGS) \
$(GNOMEUI_CFLAGS)
oafdir = $(datadir)/oaf
oaf_DATA = nautilus-sidebar-loser.oafinfo
uidir = $(datadir)/gnome/ui
ui_DATA = nautilus-sidebar-loser-ui.xml
@ -35,4 +32,14 @@ nautilus_sidebar_loser_LDADD = \
$(VFS_LIBS) \
$(OAF_LIBS)
EXTRA_DIST = $(oaf_DATA) $(ui_DATA)
oafdir = $(datadir)/oaf
oaf_in_files = \
Nautilus_View_sidebar-loser.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
EXTRA_DIST=$(oaf_DATA) $(oaf_in_files) $(ui_DATA)

View file

@ -1,26 +1,26 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_sidebar_loser_factory:5d9aadfa-a8a4-4ec0-8332-d6f806c211fa" type="exe" location="nautilus-sidebar-loser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus sidebar loser factory"/>
<oaf_attribute name="description" type="string" value="Nautilus sidebar loser component's factory"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus sidebar loser factory"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Sidebar Loser"/>
<oaf_attribute name="description" type="string" value="Nautilus sidebar view that fails on command"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Sidebar Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus Sidebar Loser"/>
<oaf_attribute name="description" type="string" _value="Nautilus sidebar view that fails on command"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="Sidebar Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
</oaf_server>
</oaf_info>

View file

@ -1,26 +1,26 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_sidebar_loser_factory:5d9aadfa-a8a4-4ec0-8332-d6f806c211fa" type="exe" location="nautilus-sidebar-loser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus sidebar loser factory"/>
<oaf_attribute name="description" type="string" value="Nautilus sidebar loser component's factory"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus sidebar loser factory"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Sidebar Loser"/>
<oaf_attribute name="description" type="string" value="Nautilus sidebar view that fails on command"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Sidebar Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus Sidebar Loser"/>
<oaf_attribute name="description" type="string" _value="Nautilus sidebar view that fails on command"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="Sidebar Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
</oaf_server>
</oaf_info>

View file

@ -1,26 +1,26 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_sidebar_loser_factory:5d9aadfa-a8a4-4ec0-8332-d6f806c211fa" type="exe" location="nautilus-sidebar-loser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus sidebar loser factory"/>
<oaf_attribute name="description" type="string" value="Nautilus sidebar loser component's factory"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus sidebar loser factory"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Sidebar Loser"/>
<oaf_attribute name="description" type="string" value="Nautilus sidebar view that fails on command"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Sidebar Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Nautilus Sidebar Loser"/>
<oaf_attribute name="description" type="string" _value="Nautilus sidebar view that fails on command"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="Sidebar Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
</oaf_server>
</oaf_info>

View file

@ -1,26 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_sidebar_loser_factory:5d9aadfa-a8a4-4ec0-8332-d6f806c211fa" type="exe" location="nautilus-sidebar-loser">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus sidebar loser factory"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Sidebar Loser"/>
<oaf_attribute name="description" type="string" value="Nautilus sidebar view that fails on command"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Sidebar Loser"/>
<oaf_attribute name="test_only" type="boolean" value="true"/>
</oaf_server>
</oaf_info>

View file

@ -4,3 +4,4 @@ Makefile
Makefile.in
nautilus-mozilla-content-view
nautilus-mozilla-ui.xml.h
Nautilus_View_mozilla.oaf

View file

@ -50,14 +50,29 @@ nautilus_mozilla_content_view_LDFLAGS = \
$(MOZILLA_COMPONENT_RPATH_FLAGS) \
$(NULL)
oafdir = $(datadir)/oaf
oaf_DATA = \
nautilus-mozilla-content-view.oafinfo \
oaf_in_files = \
Nautilus_View_mozilla.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
uidir = $(datadir)/gnome/ui
ui_DATA = \
nautilus-mozilla-ui.xml \
ui_DATA = \
nautilus-mozilla-ui.xml \
$(NULL)
EXTRA_DIST = $(oaf_DATA) $(ui_DATA)
EXTRA_DIST = $(oaf_DATA) $(ui_DATA) $(oaf_in_files)

View file

@ -1,26 +1,26 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_mozilla_content_view_factory:020a0285-6b96-4685-84a1-4a56eb6baa2b" type="exe" location="nautilus-mozilla-content-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Mozilla Nautilus view factory"/>
<oaf_attribute name="description" type="string" value="Mozilla content view component's factory"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Mozilla Nautilus view factory"/>
<oaf_attribute name="description" type="string" _value="Mozilla content view component's factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_mozilla_content_view:1ee70717-57bf-4079-aae5-922abdd576b1" type="factory" location="OAFIID:nautilus_mozilla_content_view_factory:020a0285-6b96-4685-84a1-4a56eb6baa2b">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Mozilla Nautilus view"/>
<oaf_attribute name="description" type="string" value="Mozilla content view component"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="text/html"/>
<item value="x-directory/webdav"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Web Page"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Mozilla Nautilus view"/>
<oaf_attribute name="description" type="string" _value="Mozilla content view component"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="text/html"/>
<item value="x-directory/webdav"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Web Page"/>
</oaf_server>

View file

@ -1,26 +1,26 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_mozilla_content_view_factory:020a0285-6b96-4685-84a1-4a56eb6baa2b" type="exe" location="nautilus-mozilla-content-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Mozilla Nautilus view factory"/>
<oaf_attribute name="description" type="string" value="Mozilla content view component's factory"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Mozilla Nautilus view factory"/>
<oaf_attribute name="description" type="string" _value="Mozilla content view component's factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_mozilla_content_view:1ee70717-57bf-4079-aae5-922abdd576b1" type="factory" location="OAFIID:nautilus_mozilla_content_view_factory:020a0285-6b96-4685-84a1-4a56eb6baa2b">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Mozilla Nautilus view"/>
<oaf_attribute name="description" type="string" value="Mozilla content view component"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="text/html"/>
<item value="x-directory/webdav"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Web Page"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Mozilla Nautilus view"/>
<oaf_attribute name="description" type="string" _value="Mozilla content view component"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="text/html"/>
<item value="x-directory/webdav"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Web Page"/>
</oaf_server>

View file

@ -1,27 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_mozilla_content_view_factory:020a0285-6b96-4685-84a1-4a56eb6baa2b" type="exe" location="nautilus-mozilla-content-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Mozilla Nautilus view factory"/>
<oaf_attribute name="description" type="string" value="Mozilla content view component's factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_mozilla_content_view:1ee70717-57bf-4079-aae5-922abdd576b1" type="factory" location="OAFIID:nautilus_mozilla_content_view_factory:020a0285-6b96-4685-84a1-4a56eb6baa2b">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Mozilla Nautilus view"/>
<oaf_attribute name="description" type="string" value="Mozilla content view component"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="text/html"/>
<item value="x-directory/webdav"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Web Page"/>
</oaf_server>
</oaf_info>

View file

@ -3,3 +3,4 @@
Makefile
Makefile.in
nautilus-music-view
Nautilus_View_music.oaf

View file

@ -1,3 +1,5 @@
NULL =
INCLUDES = \
-DPREFIX=\"$(prefix)\" \
-DG_LOG_DOMAIN=\"Nautilus-Music\" \
@ -10,12 +12,6 @@ INCLUDES = \
$(BONOBO_CFLAGS) \
$(VFS_CFLAGS)
oafdir = $(datadir)/oaf
oaf_DATA = \
nautilus-music-view.oafinfo
bin_PROGRAMS = \
nautilus-music-view
@ -64,4 +60,14 @@ nautilus_music_view_LDADD = \
$(VFS_LIBS) \
$(GNORBA_LIBS)
EXTRA_DIST = $(oaf_DATA)
oafdir = $(datadir)/oaf
oaf_in_files = \
Nautilus_View_music.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
EXTRA_DIST=$(oaf_DATA) $(oaf_in_files)

View file

@ -1,32 +1,32 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_music_view_factory:1be0c129-87cd-4daa-9d3a-94397de9bce2" type="exe" location="nautilus-music-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Music view factory"/>
<oaf_attribute name="description" type="string" value="Factory for music view"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Music view factory"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Music view"/>
<oaf_attribute name="description" type="string" value="Music view"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="x-directory/*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="file"/>
</oaf_attribute>
<oaf_attribute name="nautilus:required_directory_content_mime_types" type="stringv">
<item value="audio/x-mpeg"/>
<item value="audio/x-mp3"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Music"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Music view"/>
<oaf_attribute name="description" type="string" _value="Music view"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="x-directory/*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="file"/>
</oaf_attribute>
<oaf_attribute name="nautilus:required_directory_content_mime_types" type="stringv">
<item value="audio/x-mpeg"/>
<item value="audio/x-mp3"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Music"/>
</oaf_server>
</oaf_info>

View file

@ -1,32 +1,32 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_music_view_factory:1be0c129-87cd-4daa-9d3a-94397de9bce2" type="exe" location="nautilus-music-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Music view factory"/>
<oaf_attribute name="description" type="string" value="Factory for music view"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Music view factory"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Music view"/>
<oaf_attribute name="description" type="string" value="Music view"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="x-directory/*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="file"/>
</oaf_attribute>
<oaf_attribute name="nautilus:required_directory_content_mime_types" type="stringv">
<item value="audio/x-mpeg"/>
<item value="audio/x-mp3"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Music"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Music view"/>
<oaf_attribute name="description" type="string" _value="Music view"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="x-directory/*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="file"/>
</oaf_attribute>
<oaf_attribute name="nautilus:required_directory_content_mime_types" type="stringv">
<item value="audio/x-mpeg"/>
<item value="audio/x-mp3"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Music"/>
</oaf_server>
</oaf_info>

View file

@ -1,32 +1,32 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_music_view_factory:1be0c129-87cd-4daa-9d3a-94397de9bce2" type="exe" location="nautilus-music-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Music view factory"/>
<oaf_attribute name="description" type="string" value="Factory for music view"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Music view factory"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Music view"/>
<oaf_attribute name="description" type="string" value="Music view"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="x-directory/*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="file"/>
</oaf_attribute>
<oaf_attribute name="nautilus:required_directory_content_mime_types" type="stringv">
<item value="audio/x-mpeg"/>
<item value="audio/x-mp3"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Music"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="Music view"/>
<oaf_attribute name="description" type="string" _value="Music view"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="x-directory/*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="file"/>
</oaf_attribute>
<oaf_attribute name="nautilus:required_directory_content_mime_types" type="stringv">
<item value="audio/x-mpeg"/>
<item value="audio/x-mp3"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Music"/>
</oaf_server>
</oaf_info>

View file

@ -1,32 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_music_view_factory:1be0c129-87cd-4daa-9d3a-94397de9bce2" type="exe" location="nautilus-music-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Music view factory"/>
<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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Music view"/>
<oaf_attribute name="description" type="string" value="Music view"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="x-directory/*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="file"/>
</oaf_attribute>
<oaf_attribute name="nautilus:required_directory_content_mime_types" type="stringv">
<item value="audio/x-mpeg"/>
<item value="audio/x-mp3"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Music"/>
</oaf_server>
</oaf_info>

View file

@ -3,3 +3,4 @@
Makefile
Makefile.in
nautilus-notes
Nautilus_View_notes.oaf

View file

@ -1,3 +1,5 @@
NULL =
bin_PROGRAMS=nautilus-notes
INCLUDES=\
@ -19,7 +21,14 @@ LDADD=\
nautilus_notes_SOURCES=nautilus-notes.c
oafdir=$(datadir)/oaf
oaf_DATA=nautilus-notes.oafinfo
oafdir = $(datadir)/oaf
oaf_in_files = \
Nautilus_View_notes.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
EXTRA_DIST=$(oaf_DATA)

View file

@ -1,24 +1,24 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_notes_view_factory:4b39e388-3ca2-4d68-9f3d-c137ee62d5b0" 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_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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Notes sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" value="Notes sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Notes"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="Notes sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" _value="Notes sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="Notes"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
</oaf_server>
</oaf_info>

View file

@ -1,24 +1,24 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_notes_view_factory:4b39e388-3ca2-4d68-9f3d-c137ee62d5b0" 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_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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Notes sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" value="Notes sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Notes"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="Notes sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" _value="Notes sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="Notes"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
</oaf_server>
</oaf_info>

View file

@ -1,24 +1,24 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_notes_view_factory:4b39e388-3ca2-4d68-9f3d-c137ee62d5b0" 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_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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Notes sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" value="Notes sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Notes"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="Notes sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" _value="Notes sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" _value="Notes"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
</oaf_server>
</oaf_info>

View file

@ -1,24 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_notes_view_factory:4b39e388-3ca2-4d68-9f3d-c137ee62d5b0" 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_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="Notes sidebar panel for Nautilus"/>
<oaf_attribute name="name" type="string" value="Notes sidebar panel"/>
<oaf_attribute name="nautilus:sidebar_panel_name" type="string" value="Notes"/>
<oaf_attribute name="nautilus:recommended_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
</oaf_server>
</oaf_info>

View file

@ -3,3 +3,4 @@
Makefile
Makefile.in
nautilus-rpm-view
Nautilus_View_rpm.oaf

View file

@ -16,9 +16,6 @@ INCLUDES = \
$(VFS_CFLAGS) \
$(NULL)
oafdir = $(datadir)/oaf
oaf_DATA = nautilus-rpm-view.oafinfo
bin_PROGRAMS = nautilus-rpm-view
if EAZEL_SERVICES
@ -53,4 +50,16 @@ nautilus_rpm_view_LDADD = \
$(RPM_LIBS) \
$(NULL)
EXTRA_DIST = $(oaf_DATA)
oafdir = $(datadir)/oaf
oaf_in_files = \
Nautilus_View_rpm.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
EXTRA_DIST=$(oaf_DATA) $(oaf_in_files)

View file

@ -1,29 +1,29 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_rpm_view_factory:5986d6a5-8840-44ea-84a1-e7f052bd85cf" type="exe" location="nautilus-rpm-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="RPM view factory"/>
<oaf_attribute name="description" type="string" value="Factory for rpm view"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" _value="RPM view factory"/>
<oaf_attribute name="description" type="string" _value="Factory for rpm view"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_rpm_view:22ea002c-11e6-44fd-b13c-9445175a5e70" type="factory" location="OAFIID:nautilus_rpm_view_factory:5986d6a5-8840-44ea-84a1-e7f052bd85cf">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="RPM component"/>
<oaf_attribute name="description" type="string" value="rpm view"/>
<oaf_attribute name="bonobo:editable" type="boolean" value="false"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="application/x-rpm"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Package"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="file"/>
</oaf_attribute>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" _value="RPM component"/>
<oaf_attribute name="description" type="string" _value="rpm view"/>
<oaf_attribute name="bonobo:editable" type="boolean" value="false"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="application/x-rpm"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Package"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="file"/>
</oaf_attribute>
</oaf_server>
</oaf_info>

View file

@ -1,29 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_rpm_view_factory:5986d6a5-8840-44ea-84a1-e7f052bd85cf" type="exe" location="nautilus-rpm-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string" value="RPM view factory"/>
<oaf_attribute name="description" type="string" value="Factory for rpm view"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_rpm_view:22ea002c-11e6-44fd-b13c-9445175a5e70" type="factory" location="OAFIID:nautilus_rpm_view_factory:5986d6a5-8840-44ea-84a1-e7f052bd85cf">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="RPM component"/>
<oaf_attribute name="description" type="string" value="rpm view"/>
<oaf_attribute name="bonobo:editable" type="boolean" value="false"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="application/x-rpm"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Package"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="file"/>
</oaf_attribute>
</oaf_server>
</oaf_info>

View file

@ -4,3 +4,4 @@ Makefile
Makefile.in
nautilus-sample-content-view
nautilus-sample-content-view-ui.xml.h
Nautilus_View_sample.oaf

View file

@ -17,12 +17,6 @@ INCLUDES = \
$(BONOBO_CFLAGS) \
$(OAF_CFLAGS)
oafdir = $(datadir)/oaf
oaf_DATA = nautilus-sample-content-view.oafinfo
uidir = $(datadir)/gnome/ui
ui_DATA = nautilus-sample-content-view-ui.xml
bin_PROGRAMS = \
nautilus-sample-content-view
@ -39,4 +33,16 @@ nautilus_sample_content_view_LDADD = \
$(VFS_LIBS) \
$(OAF_LIBS)
EXTRA_DIST = $(oaf_DATA) $(ui_DATA)
uidir = $(datadir)/gnome/ui
ui_DATA = nautilus-sample-content-view-ui.xml
oafdir = $(datadir)/oaf
oaf_in_files = \
Nautilus_View_sample.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
EXTRA_DIST = $(oaf_in_files) $(oaf_DATA) $(ui_DATA)

View file

@ -11,8 +11,8 @@
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Sample view factory"/>
<oaf_attribute name="description" type="string" value="Sample content view component's factory"/>
<oaf_attribute name="name" type="string" _value="Nautilus Sample view factory"/>
<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">
@ -22,15 +22,15 @@
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Sample view"/>
<oaf_attribute name="description" type="string" value="Sample content view component"/>
<oaf_attribute name="name" type="string" _value="Nautilus Sample view"/>
<oaf_attribute name="description" type="string" _value="Sample content view component"/>
<oaf_attribute name="bonobo:additional_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Sample"/>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Sample"/>
</oaf_server>
</oaf_info>

View file

@ -11,8 +11,8 @@
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Sample view factory"/>
<oaf_attribute name="description" type="string" value="Sample content view component's factory"/>
<oaf_attribute name="name" type="string" _value="Nautilus Sample view factory"/>
<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">
@ -22,15 +22,15 @@
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Sample view"/>
<oaf_attribute name="description" type="string" value="Sample content view component"/>
<oaf_attribute name="name" type="string" _value="Nautilus Sample view"/>
<oaf_attribute name="description" type="string" _value="Sample content view component"/>
<oaf_attribute name="bonobo:additional_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Sample"/>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Sample"/>
</oaf_server>
</oaf_info>

View file

@ -11,8 +11,8 @@
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Sample view factory"/>
<oaf_attribute name="description" type="string" value="Sample content view component's factory"/>
<oaf_attribute name="name" type="string" _value="Nautilus Sample view factory"/>
<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">
@ -22,15 +22,15 @@
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Sample view"/>
<oaf_attribute name="description" type="string" value="Sample content view component"/>
<oaf_attribute name="name" type="string" _value="Nautilus Sample view"/>
<oaf_attribute name="description" type="string" _value="Sample content view component"/>
<oaf_attribute name="bonobo:additional_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Sample"/>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Sample"/>
</oaf_server>
</oaf_info>

View file

@ -1,36 +0,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.
-->
<oaf_server iid="OAFIID:nautilus_sample_content_view_factory:3df6b028-be44-4a18-95c3-7720f50ca0c5" type="exe" location="nautilus-sample-content-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Sample view factory"/>
<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_attribute name="test_only" type="boolean" value="true"/>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Sample view"/>
<oaf_attribute name="description" type="string" value="Sample content view component"/>
<oaf_attribute name="bonobo:additional_uri_schemes" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="*"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Sample"/>
</oaf_server>
</oaf_info>

View file

@ -9,7 +9,6 @@ SUBDIRS = \
trilobite \
nautilus-dependent-shared \
$(INSTALL_SERVICE) \
time \
login \
summary \
vault \

View file

@ -3,3 +3,4 @@ Makefile.in
.deps
.libs
nautilus-service-install-view
Nautilus_View_install.oaf

View file

@ -20,10 +20,6 @@ INCLUDES = \
$(VFS_CFLAGS) \
$(NULL)
oafdir = $(datadir)/oaf
oaf_DATA = nautilus-service-install-view.oafinfo
bin_PROGRAMS = nautilus-service-install-view
noinst_HEADERS = \
@ -52,4 +48,13 @@ nautilus_service_install_view_LDADD = \
$(RPM_LIBS) \
$(NULL)
EXTRA_DIST = $(oaf_DATA)
oafdir = $(datadir)/oaf
oaf_in_files = \
Nautilus_View_install.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
EXTRA_DIST = $(oaf_in_files) $(oaf_DATA)

View file

@ -4,8 +4,8 @@
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Service Install View Factory"/>
<oaf_attribute name="description" type="string" value="Service Install View Component's Factory"/>
<oaf_attribute name="name" type="string" _value="Nautilus Service Install View Factory"/>
<oaf_attribute name="description" type="string" _value="Service Install View Component's Factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_service_install_view:886546ca-1115-4ea4-8d30-8cefa2f5070b" type="factory" location="OAFIID:nautilus_service_install_view_factory:e59e53d1-e3d1-46fe-ae28-3ec5c56b7d32">
@ -14,12 +14,12 @@
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Service Install View"/>
<oaf_attribute name="description" type="string" value="Service Install View Component"/>
<oaf_attribute name="name" type="string" _value="Nautilus Service Install View"/>
<oaf_attribute name="description" type="string" _value="Service Install View Component"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="eazel-install"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Install Page"/>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Install Page"/>
</oaf_server>
</oaf_info>

View file

@ -1,25 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_service_install_view_factory:e59e53d1-e3d1-46fe-ae28-3ec5c56b7d32" type="exe" location="nautilus-service-install-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Service Install View Factory"/>
<oaf_attribute name="description" type="string" value="Service Install View Component's Factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_service_install_view:886546ca-1115-4ea4-8d30-8cefa2f5070b" type="factory" location="OAFIID:nautilus_service_install_view_factory:e59e53d1-e3d1-46fe-ae28-3ec5c56b7d32">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Service Install View"/>
<oaf_attribute name="description" type="string" value="Service Install View Component"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="eazel-install"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Install Page"/>
</oaf_server>
</oaf_info>

View file

@ -3,3 +3,4 @@ Makefile.in
.deps
.libs
nautilus-service-install-view
Nautilus_View_install.oaf

View file

@ -20,10 +20,6 @@ INCLUDES = \
$(VFS_CFLAGS) \
$(NULL)
oafdir = $(datadir)/oaf
oaf_DATA = nautilus-service-install-view.oafinfo
bin_PROGRAMS = nautilus-service-install-view
noinst_HEADERS = \
@ -52,4 +48,13 @@ nautilus_service_install_view_LDADD = \
$(RPM_LIBS) \
$(NULL)
EXTRA_DIST = $(oaf_DATA)
oafdir = $(datadir)/oaf
oaf_in_files = \
Nautilus_View_install.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
EXTRA_DIST = $(oaf_in_files) $(oaf_DATA)

View file

@ -4,8 +4,8 @@
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Service Install View Factory"/>
<oaf_attribute name="description" type="string" value="Service Install View Component's Factory"/>
<oaf_attribute name="name" type="string" _value="Nautilus Service Install View Factory"/>
<oaf_attribute name="description" type="string" _value="Service Install View Component's Factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_service_install_view:886546ca-1115-4ea4-8d30-8cefa2f5070b" type="factory" location="OAFIID:nautilus_service_install_view_factory:e59e53d1-e3d1-46fe-ae28-3ec5c56b7d32">
@ -14,12 +14,12 @@
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Service Install View"/>
<oaf_attribute name="description" type="string" value="Service Install View Component"/>
<oaf_attribute name="name" type="string" _value="Nautilus Service Install View"/>
<oaf_attribute name="description" type="string" _value="Service Install View Component"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="eazel-install"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Install Page"/>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Install Page"/>
</oaf_server>
</oaf_info>

View file

@ -1,25 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:nautilus_service_install_view_factory:e59e53d1-e3d1-46fe-ae28-3ec5c56b7d32" type="exe" location="nautilus-service-install-view">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/ObjectFactory:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Service Install View Factory"/>
<oaf_attribute name="description" type="string" value="Service Install View Component's Factory"/>
</oaf_server>
<oaf_server iid="OAFIID:nautilus_service_install_view:886546ca-1115-4ea4-8d30-8cefa2f5070b" type="factory" location="OAFIID:nautilus_service_install_view_factory:e59e53d1-e3d1-46fe-ae28-3ec5c56b7d32">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Nautilus/View:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Nautilus Service Install View"/>
<oaf_attribute name="description" type="string" value="Service Install View Component"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="eazel-install"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" value="Install Page"/>
</oaf_server>
</oaf_info>

View file

@ -8,3 +8,4 @@ trilobite-eazel-install-skels.c
trilobite-eazel-install-common.c
trilobite-eazel-install.h
trilobite_eazel_install_service_idl_stamp
Trilobite_Service_install.oaf

View file

@ -25,11 +25,6 @@ INCLUDES = \
pixmapdir = $(datadir)/pixmaps
pixmap_DATA = trilobite-eazel-install-service.png
# CORBA magic
oafdir = $(datadir)/oaf
oaf_DATA = trilobite-eazel-install-service.oafinfo
# make the auto-generated files depend on a installstamp file.
# this is to ensure the individual files wait for each other before
# proceeding which is needed in parallel makes
@ -54,10 +49,20 @@ trilobite_eazel_install_service_LDADD = \
$(BONOBO_LIBS) \
$(NULL)
# CORBA magic
oafdir = $(datadir)/oaf
oaf_in_files = \
Trilobite_Service_install.oaf.in \
$(NULL)
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
## Extra stuff
EXTRA_DIST = \
$(oaf_DATA) \
$(pixmap_DATA) \
EXTRA_DIST = \
$(oaf_in_files) \
$(oaf_DATA) \
$(pixmap_DATA) \
$(NULL)

View file

@ -1,29 +1,29 @@
<oaf_info>
<oaf_server iid="OAFIID:trilobite_eazel_install_service_factory:b423ff3f-1941-4b0d-bd45-6542f64abbfc" type="exe" location="trilobite-eazel-install-service">
<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 install service"/>
<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 install service"/>
</oaf_server>
<oaf_server iid="OAFIID:trilobite_eazel_install_service:8ff6e815-1992-437c-9771-d932db3b4a17" type="factory" location="OAFIID:trilobite_eazel_install_service_factory:b423ff3f-1941-4b0d-bd45-6542f64abbfc">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Trilobite/Service:1.0"/>
<item value="IDL:Trilobite/Eazel/Install:1.0"/>
</oaf_attribute>
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Trilobite/Service:1.0"/>
<item value="IDL:Trilobite/Eazel/Install:1.0"/>
</oaf_attribute>
<oaf_attribute name="trilobite:name" type="string" value="Install"/>
<oaf_attribute name="trilobite:version" type="string" value="0.1"/>
<oaf_attribute name="trilobite:vendor_name" type="string" value="Eazel, inc."/>
<oaf_attribute name="trilobite:vendor_url" type="string" value="http://www.eazel.com"/>
<oaf_attribute name="trilobite:info_url" type="string" value="http://www.eazel.com/install/"/>
<oaf_attribute name="trilobite:icon" type="string" value="trilobite-install-service.png"/>
<oaf_attribute name="trilobite:uri_scheme" type="string" value="eazel-install:"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="eazel-install"/>
</oaf_attribute>
<oaf_attribute name="trilobite:name" type="string" _value="Install"/>
<oaf_attribute name="trilobite:version" type="string" value="0.1"/>
<oaf_attribute name="trilobite:vendor_name" type="string" value="Eazel, inc."/>
<oaf_attribute name="trilobite:vendor_url" type="string" value="http://www.eazel.com"/>
<oaf_attribute name="trilobite:info_url" type="string" value="http://www.eazel.com/install/"/>
<oaf_attribute name="trilobite:icon" type="string" value="trilobite-install-service.png"/>
<oaf_attribute name="trilobite:uri_scheme" type="string" value="eazel-install:"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="eazel-install"/>
</oaf_attribute>
</oaf_server>

View file

@ -1,30 +0,0 @@
<oaf_info>
<oaf_server iid="OAFIID:trilobite_eazel_install_service_factory:b423ff3f-1941-4b0d-bd45-6542f64abbfc" type="exe" location="trilobite-eazel-install-service">
<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 install service"/>
</oaf_server>
<oaf_server iid="OAFIID:trilobite_eazel_install_service:8ff6e815-1992-437c-9771-d932db3b4a17" type="factory" location="OAFIID:trilobite_eazel_install_service_factory:b423ff3f-1941-4b0d-bd45-6542f64abbfc">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Unknown:1.0"/>
<item value="IDL:Trilobite/Service:1.0"/>
<item value="IDL:Trilobite/Eazel/Install:1.0"/>
</oaf_attribute>
<oaf_attribute name="trilobite:name" type="string" value="Install"/>
<oaf_attribute name="trilobite:version" type="string" value="0.1"/>
<oaf_attribute name="trilobite:vendor_name" type="string" value="Eazel, inc."/>
<oaf_attribute name="trilobite:vendor_url" type="string" value="http://www.eazel.com"/>
<oaf_attribute name="trilobite:info_url" type="string" value="http://www.eazel.com/install/"/>
<oaf_attribute name="trilobite:icon" type="string" value="trilobite-install-service.png"/>
<oaf_attribute name="trilobite:uri_scheme" type="string" value="eazel-install:"/>
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
<item value="eazel-install"/>
</oaf_attribute>
</oaf_server>
</oaf_info>

View file

@ -3,3 +3,4 @@
Makefile
Makefile.in
nautilus-change-password-view
Nautilus_View_change-password.oaf

View file

@ -14,12 +14,6 @@ INCLUDES = \
$(VFS_CFLAGS) \
$(NULL)
oafdir = $(datadir)/oaf
oaf_DATA = \
nautilus-change-password-view.oafinfo
bin_PROGRAMS = \
nautilus-change-password-view
@ -43,4 +37,10 @@ nautilus_change_password_view_LDADD = \
$(AMMONITE_LIBS) \
$(NULL)
oafdir = $(datadir)/oaf
oaf_in_files = Nautilus_View_change-password.oaf.in
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
EXTRA_DIST = $(oaf_DATA)

Some files were not shown because too many files have changed in this diff Show more