diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-02-18 17:42:58 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-02-18 17:42:58 +0000 |
| commit | d8a19dca28268e3ac92f117d00c1064c0b06515c (patch) | |
| tree | c3a9d9d6b25689c828578300c46361444bb72c1b /src/lib/content.cc | |
| parent | 1b81ba7c24e7f117d1960021d7e28c8f0147009f (diff) | |
Various improvements to the content properties dialogue (including #791).
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc index 2c89f7c34..724cabb6c 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -277,13 +277,11 @@ Content::path_summary () const return s; } -/** @return a list of properties that might be interesting to the user; first string is the property name, - * second is the value. - */ -list<pair<string, string> > -Content::properties () const +/** @return a list of properties that might be interesting to the user */ +list<Content::UserProperty> +Content::user_properties () const { - list<pair<string, string> > p; + list<UserProperty> p; add_properties (p); return p; } |
