[anjuta] symbol-db: Fixed bgo #611834 - Symbol icons are wrong for members



commit 71e5dff0ed434e2f5a4ac581bc1658089e8be4e4
Author: Naba Kumar <naba gnome org>
Date:   Fri Mar 26 18:45:54 2010 +0200

    symbol-db: Fixed bgo #611834 - Symbol icons are wrong for members
    
    Added new icons for private/protected/public members.

 plugins/symbol-db/images/Makefile.am               |   11 ++++++-
 .../images/element-interface-private-16.png        |  Bin 0 -> 791 bytes
 .../images/element-interface-protected-16.png      |  Bin 0 -> 728 bytes
 .../images/element-interface-public-16.png         |  Bin 0 -> 658 bytes
 plugins/symbol-db/images/element-method-16.png     |  Bin 604 -> 650 bytes
 .../symbol-db/images/element-method-private-16.png |  Bin 0 -> 827 bytes
 .../images/element-method-protected-16.png         |  Bin 0 -> 759 bytes
 .../symbol-db/images/element-method-public-16.png  |  Bin 0 -> 650 bytes
 .../images/element-property-private-16.png         |  Bin 0 -> 778 bytes
 .../images/element-property-protected-16.png       |  Bin 0 -> 754 bytes
 .../images/element-property-public-16.png          |  Bin 0 -> 691 bytes
 plugins/symbol-db/images/private.png               |  Bin 0 -> 417 bytes
 plugins/symbol-db/images/protected.png             |  Bin 0 -> 360 bytes
 plugins/symbol-db/symbol-db-engine-utils.c         |   30 ++++++++++---------
 14 files changed, 26 insertions(+), 15 deletions(-)
---
diff --git a/plugins/symbol-db/images/Makefile.am b/plugins/symbol-db/images/Makefile.am
index a98ab7f..a14c000 100644
--- a/plugins/symbol-db/images/Makefile.am
+++ b/plugins/symbol-db/images/Makefile.am
@@ -9,10 +9,19 @@ symbol_browser_icons_DATA = \
 	element-field-16.png \
 	element-interface-16.png \
 	element-interface-24.png \
+	element-interface-private-16.png \
+	element-interface-protected-16.png \
+	element-interface-public-16.png \
 	element-method-16.png \
-  element-method-24.png \
+	element-method-private-16.png \
+	element-method-protected-16.png \
+	element-method-public-16.png \
+	element-method-24.png \
 	element-namespace-16.png \
 	element-property-16.png \
+	element-property-private-16.png \
+	element-property-protected-16.png \
+	element-property-public-16.png \
 	element-structure-16.png
 EXTRA_DIST = $(symbol_browser_icons_DATA)
 
diff --git a/plugins/symbol-db/images/element-interface-private-16.png b/plugins/symbol-db/images/element-interface-private-16.png
new file mode 100644
index 0000000..2c26e09
Binary files /dev/null and b/plugins/symbol-db/images/element-interface-private-16.png differ
diff --git a/plugins/symbol-db/images/element-interface-protected-16.png b/plugins/symbol-db/images/element-interface-protected-16.png
new file mode 100644
index 0000000..9c6f773
Binary files /dev/null and b/plugins/symbol-db/images/element-interface-protected-16.png differ
diff --git a/plugins/symbol-db/images/element-interface-public-16.png b/plugins/symbol-db/images/element-interface-public-16.png
new file mode 100644
index 0000000..e3093df
Binary files /dev/null and b/plugins/symbol-db/images/element-interface-public-16.png differ
diff --git a/plugins/symbol-db/images/element-method-16.png b/plugins/symbol-db/images/element-method-16.png
index cd51507..977f5b8 100644
Binary files a/plugins/symbol-db/images/element-method-16.png and b/plugins/symbol-db/images/element-method-16.png differ
diff --git a/plugins/symbol-db/images/element-method-private-16.png b/plugins/symbol-db/images/element-method-private-16.png
new file mode 100644
index 0000000..91caa14
Binary files /dev/null and b/plugins/symbol-db/images/element-method-private-16.png differ
diff --git a/plugins/symbol-db/images/element-method-protected-16.png b/plugins/symbol-db/images/element-method-protected-16.png
new file mode 100644
index 0000000..0e3f64d
Binary files /dev/null and b/plugins/symbol-db/images/element-method-protected-16.png differ
diff --git a/plugins/symbol-db/images/element-method-public-16.png b/plugins/symbol-db/images/element-method-public-16.png
new file mode 100644
index 0000000..977f5b8
Binary files /dev/null and b/plugins/symbol-db/images/element-method-public-16.png differ
diff --git a/plugins/symbol-db/images/element-property-private-16.png b/plugins/symbol-db/images/element-property-private-16.png
new file mode 100644
index 0000000..c8aae32
Binary files /dev/null and b/plugins/symbol-db/images/element-property-private-16.png differ
diff --git a/plugins/symbol-db/images/element-property-protected-16.png b/plugins/symbol-db/images/element-property-protected-16.png
new file mode 100644
index 0000000..2f399cf
Binary files /dev/null and b/plugins/symbol-db/images/element-property-protected-16.png differ
diff --git a/plugins/symbol-db/images/element-property-public-16.png b/plugins/symbol-db/images/element-property-public-16.png
new file mode 100644
index 0000000..7e91318
Binary files /dev/null and b/plugins/symbol-db/images/element-property-public-16.png differ
diff --git a/plugins/symbol-db/images/private.png b/plugins/symbol-db/images/private.png
new file mode 100644
index 0000000..b6465ce
Binary files /dev/null and b/plugins/symbol-db/images/private.png differ
diff --git a/plugins/symbol-db/images/protected.png b/plugins/symbol-db/images/protected.png
new file mode 100644
index 0000000..9b5b955
Binary files /dev/null and b/plugins/symbol-db/images/protected.png differ
diff --git a/plugins/symbol-db/symbol-db-engine-utils.c b/plugins/symbol-db/symbol-db-engine-utils.c
index 37466cf..a3ceec7 100644
--- a/plugins/symbol-db/symbol-db-engine-utils.c
+++ b/plugins/symbol-db/symbol-db-engine-utils.c
@@ -211,29 +211,31 @@ sdb_util_load_symbol_pixbufs ()
 	CREATE_SYM_ICON ("privateclass",      "element-class-16.png");
 	CREATE_SYM_ICON ("privateenum",   	  "element-enumeration-16.png");
 	CREATE_SYM_ICON ("privatefield",   	  "element-event-16.png");
-	CREATE_SYM_ICON ("privatefunction",   "element-method-16.png");
-	CREATE_SYM_ICON ("privateinterface",  "element-interface-16.png");	
-	CREATE_SYM_ICON ("privatemember",     "element-property-16.png");	
-	CREATE_SYM_ICON ("privatemethod",     "element-method-16.png");
-	CREATE_SYM_ICON ("privateproperty",   "element-property-16.png");
+	CREATE_SYM_ICON ("privatefunction",   "element-method-private-16.png");
+	CREATE_SYM_ICON ("privateinterface",  "element-interface-private-16.png");	
+	CREATE_SYM_ICON ("privatemember",     "element-property-private-16.png");	
+	CREATE_SYM_ICON ("privatemethod",     "element-method-private-16.png");
+	CREATE_SYM_ICON ("privateproperty",   "element-property-private-16.png");
 	CREATE_SYM_ICON ("privatestruct",     "element-structure-16.png");
-	CREATE_SYM_ICON ("privateprototype",  "element-interface-16.png");
+	CREATE_SYM_ICON ("privateprototype",  "element-interface-private-16.png");
 
 	CREATE_SYM_ICON ("protectedclass",    "element-class-16.png");	
 	CREATE_SYM_ICON ("protectedenum",     "element-enumeration-16.png");
 	CREATE_SYM_ICON ("protectedfield",    "element-event-16.png");	
-	CREATE_SYM_ICON ("protectedmember",   "element-property-16.png");
-	CREATE_SYM_ICON ("protectedmethod",   "element-method-16.png");
-	CREATE_SYM_ICON ("protectedproperty", "element-property-16.png");
-	CREATE_SYM_ICON ("protectedprototype","element-interface-16.png");
+	CREATE_SYM_ICON ("protectedfunction", "element-method-protected-16.png");
+	CREATE_SYM_ICON ("protectedmember",   "element-property-protected-16.png");
+	CREATE_SYM_ICON ("protectedmethod",   "element-method-protected-16.png");
+	CREATE_SYM_ICON ("protectedproperty", "element-property-protected-16.png");
+	CREATE_SYM_ICON ("protectedprototype","element-interface-protected-16.png");
 	
 	CREATE_SYM_ICON ("publicclass",    	  "element-class-16.png");	
 	CREATE_SYM_ICON ("publicenum",    	  "element-enumeration-16.png");	
-	CREATE_SYM_ICON ("publicfunction",    "element-method-16.png");
-	CREATE_SYM_ICON ("publicmember",      "element-method-16.png");
-	CREATE_SYM_ICON ("publicproperty",    "element-property-16.png");
+	CREATE_SYM_ICON ("publicfunction",    "element-method-public-16.png");
+	CREATE_SYM_ICON ("publicmember",      "element-property-public-16.png");
+	CREATE_SYM_ICON ("publicmethod",      "element-method-public-16.png");
+	CREATE_SYM_ICON ("publicproperty",    "element-property-public-16.png");
 	CREATE_SYM_ICON ("publicstruct",      "element-structure-16.png");
-	CREATE_SYM_ICON ("publicprototype",   "element-interface-16.png");
+	CREATE_SYM_ICON ("publicprototype",   "element-interface-public-16.png");
 	
 	/* special icon */
 	CREATE_SYM_ICON ("othersvars",   "element-event-16.png");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]