template-load-tab.cpp revision aea39058a556f160194bf12f84ee7254af96278d
0N/A#include "template-load-tab.h"
0N/A#include "template-widget.h"
1472N/A#include "interface.h"
1472N/A#include "path-prefix.h"
0N/A#include "preferences.h"
0N/A#include "inkscape.h"
0N/A#include "xml/document.h"
0N/A , _keywords_combo(true)
0N/A _initLists();
0N/A switch (_current_search_type){
1601N/A for (std::map<Glib::ustring, TemplateData>::iterator it = _tdata.begin() ; it != _tdata.end() ; ++it) {
1601N/A case LIST_KEYWORD: {
1601N/A for (std::map<Glib::ustring, TemplateData>::iterator it = _tdata.begin() ; it != _tdata.end() ; ++it) {
case USER_SPECIFIED : {
for (std::map<Glib::ustring, TemplateData>::iterator it = _tdata.begin() ; it != _tdata.end() ; ++it) {
gsize n = 0;
if (rdoc){
return result;
return result;
result.short_description = dgettext("Document template short description", dataNode->firstChild()->content());
result.long_description = dgettext("Document template long description", dataNode->firstChild()->content());
return result;
if (Glib::str_has_suffix(file, ".svg") && !Glib::str_has_prefix(Glib::path_get_basename(file), "default")){