aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks-import.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-06-21 19:21:47 +0800
committerChristian Persch <chpe@src.gnome.org>2004-06-21 19:21:47 +0800
commitab5f74ea9c207799a9ea36d4ddac46790e3ecfb5 (patch)
treef4826974ad92c51ffe375f4a09831d7c914f667a /src/bookmarks/ephy-bookmarks-import.c
parent898e8dd1c01801f24a872018751b3b267d35c96a (diff)
downloadgsoc2013-epiphany-ab5f74ea9c207799a9ea36d4ddac46790e3ecfb5.tar
gsoc2013-epiphany-ab5f74ea9c207799a9ea36d4ddac46790e3ecfb5.tar.gz
gsoc2013-epiphany-ab5f74ea9c207799a9ea36d4ddac46790e3ecfb5.tar.bz2
gsoc2013-epiphany-ab5f74ea9c207799a9ea36d4ddac46790e3ecfb5.tar.lz
gsoc2013-epiphany-ab5f74ea9c207799a9ea36d4ddac46790e3ecfb5.tar.xz
gsoc2013-epiphany-ab5f74ea9c207799a9ea36d4ddac46790e3ecfb5.tar.zst
gsoc2013-epiphany-ab5f74ea9c207799a9ea36d4ddac46790e3ecfb5.zip
Allow importing from Epiphany bookmarks format (RDF), fixes bug #144699.
2004-06-21 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): Allow importing from Epiphany bookmarks format (RDF), fixes bug #144699.
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-import.c')
-rw-r--r--src/bookmarks/ephy-bookmarks-import.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmarks-import.c b/src/bookmarks/ephy-bookmarks-import.c
index 8272455b4..615463f59 100644
--- a/src/bookmarks/ephy-bookmarks-import.c
+++ b/src/bookmarks/ephy-bookmarks-import.c
@@ -104,6 +104,10 @@ ephy_bookmarks_import (EphyBookmarks *bookmarks,
{
return ephy_bookmarks_import_xbel (bookmarks, filename);
}
+ else if (strcmp (type, "text/rdf") == 0)
+ {
+ return ephy_bookmarks_import_rdf (bookmarks, filename);
+ }
else if (strstr (filename, MOZILLA_BOOKMARKS_DIR) != NULL ||
strstr (filename, FIREBIRD_BOOKMARKS_DIR) != NULL ||
strstr (filename, FIREFOX_BOOKMARKS_DIR) != NULL)