[gnome-builder] ide-symbol: add new symbol types
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] ide-symbol: add new symbol types
- Date: Tue, 14 Feb 2017 22:00:00 +0000 (UTC)
commit 6a2ad0375bf7a22e3bf35a3b8796789f9db84a13
Author: Sebastien Lafargue <slafargue gnome org>
Date: Tue Jan 31 17:16:37 2017 +0100
ide-symbol: add new symbol types
libide/symbols/ide-symbol.h | 2 ++
plugins/symbol-tree/symbol-tree-builder.c | 5 +++++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/libide/symbols/ide-symbol.h b/libide/symbols/ide-symbol.h
index 5cc1894..be88f06 100644
--- a/libide/symbols/ide-symbol.h
+++ b/libide/symbols/ide-symbol.h
@@ -55,12 +55,14 @@ typedef enum
IDE_SYMBOL_UI_CHILD,
IDE_SYMBOL_UI_ITEM,
IDE_SYMBOL_UI_MENU,
+ IDE_SYMBOL_UI_MENU_ATTRIBUTE,
IDE_SYMBOL_UI_OBJECT,
IDE_SYMBOL_UI_PACKING,
IDE_SYMBOL_UI_PROPERTY,
IDE_SYMBOL_UI_SECTION,
IDE_SYMBOL_UI_SIGNAL,
IDE_SYMBOL_UI_STYLE,
+ IDE_SYMBOL_UI_STYLE_CLASS,
IDE_SYMBOL_UI_SUBMENU,
IDE_SYMBOL_UI_TEMPLATE,
IDE_SYMBOL_XML_ATTRIBUTE,
diff --git a/plugins/symbol-tree/symbol-tree-builder.c b/plugins/symbol-tree/symbol-tree-builder.c
index 4ad9b2e..6852e12 100644
--- a/plugins/symbol-tree/symbol-tree-builder.c
+++ b/plugins/symbol-tree/symbol-tree-builder.c
@@ -187,6 +187,11 @@ symbol_tree_builder_build_node (IdeTreeBuilder *builder,
icon_name = "xml-element-symbolic";
break;
+ case IDE_SYMBOL_UI_MENU_ATTRIBUTE:
+ case IDE_SYMBOL_UI_STYLE_CLASS:
+ icon_name = NULL;
+ break;
+
default:
icon_name = NULL;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]