diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2008-01-21 06:52:57 +0000 |
|---|---|---|
| committer | jucablues <jucablues@users.sourceforge.net> | 2008-01-21 06:52:57 +0000 |
| commit | 758ade7f31dca5fd1d8fe78f8e63a545eab8f9a4 (patch) | |
| tree | 040fa06f404e865515d25531ffe9f3be7f7834de /src/dialogs | |
| parent | pt_BR translation of inputbox strings on filter effects dialog (diff) | |
| download | inkscape-758ade7f31dca5fd1d8fe78f8e63a545eab8f9a4.tar.gz inkscape-758ade7f31dca5fd1d8fe78f8e63a545eab8f9a4.zip | |
rolling back parts of the "default metadata preferences" patch that buliabyak forgot to rollback on revision
17005.
(bzr r4575)
Diffstat (limited to 'src/dialogs')
| -rw-r--r-- | src/dialogs/rdf.cpp | 20 |
1 files changed, 1 insertions, 19 deletions
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 ); } } } |
