Add a "human-name" property to LdSymbolCategory.

Just as LdSymbol has a human name for localization purposes,
LdSymbolCategory also needs to have this property.

Use the human name in tooltips.
This commit is contained in:
2010-12-11 01:40:05 +01:00
parent aeb6e7ed58
commit 74e43ceee4
4 changed files with 66 additions and 7 deletions

View File

@@ -195,7 +195,7 @@ load_category (LdLibrary *self, const char *path, const char *name)
/* TODO: Search for category.json and read the category name from it. */
cat = ld_symbol_category_new (name);
cat = ld_symbol_category_new (name, name);
ld_symbol_category_set_image_path (cat, icon_file);
data.self = self;