summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87f5014)
raw | patch | inline | side by side (parent: 87f5014)
author | jucablues <jucablues@users.sourceforge.net> | |
Mon, 21 Jan 2008 06:52:57 +0000 (06:52 +0000) | ||
committer | jucablues <jucablues@users.sourceforge.net> | |
Mon, 21 Jan 2008 06:52:57 +0000 (06:52 +0000) |
17005.
src/dialogs/rdf.cpp | patch | blob | history | |
src/preferences-skeleton.h | patch | blob | history |
diff --git a/src/dialogs/rdf.cpp b/src/dialogs/rdf.cpp
index c371b62fe9b8b2a227cd1de57232e2b273cd7680..320608e9ab055716083d9575d9b3add5200fd30e 100644 (file)
--- a/src/dialogs/rdf.cpp
+++ b/src/dialogs/rdf.cpp
#include "xml/repr.h"
#include "rdf.h"
#include "sp-item-group.h"
-#include "prefs-utils.h"
/*
struct rdf_entity_default_t rdf_defaults[] = {
{ "format", "image/svg+xml", },
{ "type", "http://purl.org/dc/dcmitype/StillImage", },
- { "title", "", },
- { "date", "", },
- { "creator", "", },
- { "rights", "", },
- { "publisher", "", },
- { "identifier", "", },
- { "source", "", },
- { "relation", "", },
- { "language", "", },
- { "subject", "", },
- { "coverage", "", },
- { "description", "", },
- { "contributor", "", },
- { "license_uri", "", },
{ NULL, NULL, }
};
struct rdf_work_entity_t * entity = rdf_find_entity ( rdf_default->name );
g_assert ( entity != NULL );
- //get default matedata defined by user preferences
- const gchar * text = prefs_get_string_attribute ("options.defaultmetadata", rdf_default->name);
-
if ( rdf_get_work_entity ( doc, entity ) == NULL ) {
- rdf_set_work_entity ( doc, entity, text ? text : rdf_default->text );
+ rdf_set_work_entity ( doc, entity, rdf_default->text );
}
}
}
index f2b217fd43ff1fe654bde2ac63be529bd4a329b8..70093c80ecc925ec615daf92e40ac29b02360982 100644 (file)
" <group id=\"transform\" stroke=\"1\" rectcorners=\"1\" pattern=\"1\" gradient=\"1\" />\n"
" <group id=\"kbselection\" inlayer=\"1\" onlyvisible=\"1\" onlysensitive=\"1\" />\n"
" <group id=\"selection\" layerdeselect=\"1\" />\n"
-" <group id=\"defaultmetadata\" title=\"\" date=\"\" format=\"\" type=\"\" creator=\"\" rights=\"\" publisher=\"\" identifier=\"\" source=\"\" relation=\"\" language=\"\" subject=\"\" coverage=\"\" description=\"\" contributor=\"\" license=\"0\" license_uri=\"\" inkscapedefaults=\"1\" />\n"
" <group id=\"createbitmap\"/>\n"
" <group id=\"compassangledisplay\" value=\"0\"/>\n"
" <group id=\"maskobject\" topmost=\"1\" remove=\"1\"/>\n"