[gnome-builder/wip/slaf/xml-symbol-resolver: 13/25] ide-symbol: add new symbol types



commit 791cade14d1e900cf5af1449dc87fc196a12ac18
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]