summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnrtype')
-rw-r--r--src/libnrtype/font-lister.cpp2
-rw-r--r--src/libnrtype/font-lister.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/libnrtype/font-lister.cpp b/src/libnrtype/font-lister.cpp
index 710e0b84f..6df576866 100644
--- a/src/libnrtype/font-lister.cpp
+++ b/src/libnrtype/font-lister.cpp
@@ -52,7 +52,7 @@ namespace Inkscape
}
(*treeModelIter)[FontList.styles] = styles;
-
+ (*treeModelIter)[FontList.onSystem] = true;
font_list_store_iter_map.insert(std::make_pair(familyName, Gtk::TreePath(treeModelIter)));
}
}
diff --git a/src/libnrtype/font-lister.h b/src/libnrtype/font-lister.h
index c9ab7b21d..7a7db5615 100644
--- a/src/libnrtype/font-lister.h
+++ b/src/libnrtype/font-lister.h
@@ -54,10 +54,15 @@ namespace Inkscape
*/
Gtk::TreeModelColumn<GList*> styles;
+ /** Column containing flag if font is on system
+ */
+ Gtk::TreeModelColumn<gboolean> onSystem;
+
FontListClass ()
{
add (font);
add (styles);
+ add (onSystem);
}
};