From: jucablues Date: Mon, 21 Jan 2008 06:52:57 +0000 (+0000) Subject: rolling back parts of the "default metadata preferences" patch that buliabyak forgot... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e58e70798f72509a2750af3b14e3cbe804340f8d;p=inkscape.git rolling back parts of the "default metadata preferences" patch that buliabyak forgot to rollback on revision 17005. --- diff --git a/src/dialogs/rdf.cpp b/src/dialogs/rdf.cpp index c371b62fe..320608e9a 100644 --- a/src/dialogs/rdf.cpp +++ b/src/dialogs/rdf.cpp @@ -23,7 +23,6 @@ #include "xml/repr.h" #include "rdf.h" #include "sp-item-group.h" -#include "prefs-utils.h" /* @@ -977,20 +976,6 @@ struct rdf_entity_default_t { 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, } }; @@ -1019,11 +1004,8 @@ rdf_set_defaults ( SPDocument * doc ) 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 ); } } } diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h index f2b217fd4..70093c80e 100644 --- a/src/preferences-skeleton.h +++ b/src/preferences-skeleton.h @@ -228,7 +228,6 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" -" \n" " \n" " \n" " \n"