anjuta r4221 - in trunk: . plugins/symbol-browser plugins/symbol-browser/images plugins/symbol-db



Author: jhs
Date: Wed Sep  3 07:14:11 2008
New Revision: 4221
URL: http://svn.gnome.org/viewvc/anjuta?rev=4221&view=rev

Log:
2008-09-03  Johannes Schmid  <jhs gnome org>

	* AUTHORS:
	* plugins/symbol-browser/images/*
	* plugins/symbol-browser/an_symbol_info.c (sv_load_symbol_pixbufs):
	* plugins/symbol-db/symbol-db-view.c:
	Imported new symbol icons from MonoDevelop. The old one (originally in
	SharpDevelop are very close to the Visual Studio icons which could cause
	problems. The new icons are Tango icons and are MIT/X11 licensed.

Added:
   trunk/plugins/symbol-browser/images/README
   trunk/plugins/symbol-browser/images/element-class-16.png   (contents, props changed)
   trunk/plugins/symbol-browser/images/element-delegate-16.png   (contents, props changed)
   trunk/plugins/symbol-browser/images/element-enumeration-16.png   (contents, props changed)
   trunk/plugins/symbol-browser/images/element-event-16.png   (contents, props changed)
   trunk/plugins/symbol-browser/images/element-field-16.png   (contents, props changed)
   trunk/plugins/symbol-browser/images/element-interface-16.png   (contents, props changed)
   trunk/plugins/symbol-browser/images/element-literal-16.png   (contents, props changed)
   trunk/plugins/symbol-browser/images/element-method-16.png   (contents, props changed)
   trunk/plugins/symbol-browser/images/element-namespace-16.png   (contents, props changed)
   trunk/plugins/symbol-browser/images/element-property-16.png   (contents, props changed)
   trunk/plugins/symbol-browser/images/element-structure-16.png   (contents, props changed)
Removed:
   trunk/plugins/symbol-browser/images/Icons.16x16.Class
   trunk/plugins/symbol-browser/images/Icons.16x16.Enum
   trunk/plugins/symbol-browser/images/Icons.16x16.Event
   trunk/plugins/symbol-browser/images/Icons.16x16.Field
   trunk/plugins/symbol-browser/images/Icons.16x16.FormsDesigner.BringToFront
   trunk/plugins/symbol-browser/images/Icons.16x16.FormsDesigner.SendToBack
   trunk/plugins/symbol-browser/images/Icons.16x16.Interface
   trunk/plugins/symbol-browser/images/Icons.16x16.InternalClass
   trunk/plugins/symbol-browser/images/Icons.16x16.InternalDelegate
   trunk/plugins/symbol-browser/images/Icons.16x16.InternalEnum
   trunk/plugins/symbol-browser/images/Icons.16x16.InternalEvent
   trunk/plugins/symbol-browser/images/Icons.16x16.InternalField
   trunk/plugins/symbol-browser/images/Icons.16x16.InternalInterface
   trunk/plugins/symbol-browser/images/Icons.16x16.InternalMethod
   trunk/plugins/symbol-browser/images/Icons.16x16.InternalProperty
   trunk/plugins/symbol-browser/images/Icons.16x16.InternalStruct
   trunk/plugins/symbol-browser/images/Icons.16x16.Literal
   trunk/plugins/symbol-browser/images/Icons.16x16.Method
   trunk/plugins/symbol-browser/images/Icons.16x16.NameSpace
   trunk/plugins/symbol-browser/images/Icons.16x16.PrivateClass
   trunk/plugins/symbol-browser/images/Icons.16x16.PrivateDelegate
   trunk/plugins/symbol-browser/images/Icons.16x16.PrivateEnum
   trunk/plugins/symbol-browser/images/Icons.16x16.PrivateEvent
   trunk/plugins/symbol-browser/images/Icons.16x16.PrivateField
   trunk/plugins/symbol-browser/images/Icons.16x16.PrivateInterface
   trunk/plugins/symbol-browser/images/Icons.16x16.PrivateMethod
   trunk/plugins/symbol-browser/images/Icons.16x16.PrivateProperty
   trunk/plugins/symbol-browser/images/Icons.16x16.PrivateStruct
   trunk/plugins/symbol-browser/images/Icons.16x16.Property
   trunk/plugins/symbol-browser/images/Icons.16x16.ProtectedClass
   trunk/plugins/symbol-browser/images/Icons.16x16.ProtectedDelegate
   trunk/plugins/symbol-browser/images/Icons.16x16.ProtectedEnum
   trunk/plugins/symbol-browser/images/Icons.16x16.ProtectedEvent
   trunk/plugins/symbol-browser/images/Icons.16x16.ProtectedField
   trunk/plugins/symbol-browser/images/Icons.16x16.ProtectedInterface
   trunk/plugins/symbol-browser/images/Icons.16x16.ProtectedMethod
   trunk/plugins/symbol-browser/images/Icons.16x16.ProtectedProperty
   trunk/plugins/symbol-browser/images/Icons.16x16.ProtectedStruct
   trunk/plugins/symbol-browser/images/Icons.16x16.Reference
   trunk/plugins/symbol-browser/images/Icons.16x16.Struct
Modified:
   trunk/AUTHORS
   trunk/ChangeLog
   trunk/plugins/symbol-browser/an_symbol_info.c
   trunk/plugins/symbol-browser/images/Makefile.am
   trunk/plugins/symbol-db/symbol-db-view.c

Modified: trunk/AUTHORS
==============================================================================
--- trunk/AUTHORS	(original)
+++ trunk/AUTHORS	Wed Sep  3 07:14:11 2008
@@ -34,7 +34,12 @@
 Website:
 -------------------------------------------------------------------------------
 	Naba kumar  <naba gnome org> (Manipur, India)
-	
+
+
+Artwork for Symbol Database
+-------------------------------------------------------------------------------
+MonoDevelop Team <www.monodevelop.org>
+
 Contributors:
 -------------------------------------------------------------------------------
 	Adam Dingle  <adam medovina org>

Modified: trunk/plugins/symbol-browser/an_symbol_info.c
==============================================================================
--- trunk/plugins/symbol-browser/an_symbol_info.c	(original)
+++ trunk/plugins/symbol-browser/an_symbol_info.c	Wed Sep  3 07:14:11 2008
@@ -270,22 +270,22 @@
 		return;
 	sv_symbol_pixbufs = g_new (GdkPixbuf *, sv_max_t + 1);
 
-	CREATE_SV_ICON (sv_none_t,              "Icons.16x16.Literal");
-	CREATE_SV_ICON (sv_namespace_t,         "Icons.16x16.NameSpace");
-	CREATE_SV_ICON (sv_class_t,             "Icons.16x16.Class");
-	CREATE_SV_ICON (sv_struct_t,            "Icons.16x16.ProtectedStruct");
-	CREATE_SV_ICON (sv_union_t,             "Icons.16x16.PrivateStruct");
-	CREATE_SV_ICON (sv_typedef_t,           "Icons.16x16.Reference");
-	CREATE_SV_ICON (sv_function_t,          "Icons.16x16.Method");
-	CREATE_SV_ICON (sv_variable_t,          "Icons.16x16.Literal");
-	CREATE_SV_ICON (sv_enumerator_t,        "Icons.16x16.Enum");
-	CREATE_SV_ICON (sv_macro_t,             "Icons.16x16.Field");
-	CREATE_SV_ICON (sv_private_func_t,      "Icons.16x16.PrivateMethod");
-	CREATE_SV_ICON (sv_private_var_t,       "Icons.16x16.PrivateProperty");
-	CREATE_SV_ICON (sv_protected_func_t,    "Icons.16x16.ProtectedMethod");
-	CREATE_SV_ICON (sv_protected_var_t,     "Icons.16x16.ProtectedProperty");
-	CREATE_SV_ICON (sv_public_func_t,       "Icons.16x16.InternalMethod");
-	CREATE_SV_ICON (sv_public_var_t,        "Icons.16x16.InternalProperty");
+	CREATE_SV_ICON (sv_none_t,              "element-literal-16.png");
+	CREATE_SV_ICON (sv_namespace_t,         "element-namespace-16.png");
+	CREATE_SV_ICON (sv_class_t,             "element-class-16.png");
+	CREATE_SV_ICON (sv_struct_t,            "element-structure-16.png");
+	CREATE_SV_ICON (sv_union_t,             "element-structure-16.png");
+	CREATE_SV_ICON (sv_typedef_t,           "element-literal-16.png");
+	CREATE_SV_ICON (sv_function_t,          "element-method-16.png");
+	CREATE_SV_ICON (sv_variable_t,          "element-literal-16.png");
+	CREATE_SV_ICON (sv_enumerator_t,        "element-enumeration-16.png");
+	CREATE_SV_ICON (sv_macro_t,             "element-event-16.png");
+	CREATE_SV_ICON (sv_private_func_t,      "element-method-16.png");
+	CREATE_SV_ICON (sv_private_var_t,       "element-literal-16.png");
+	CREATE_SV_ICON (sv_protected_func_t,    "element-method-16.png");
+	CREATE_SV_ICON (sv_protected_var_t,     "element-literal-16.png");
+	CREATE_SV_ICON (sv_public_func_t,       "element-method-16.png");
+	CREATE_SV_ICON (sv_public_var_t,        "element-literal-16.png");
 	
 	sv_symbol_pixbufs[sv_cfolder_t] = gtk_icon_theme_load_icon (gtk_icon_theme_get_default(),
 																GTK_STOCK_DIRECTORY,

Modified: trunk/plugins/symbol-browser/images/Makefile.am
==============================================================================
--- trunk/plugins/symbol-browser/images/Makefile.am	(original)
+++ trunk/plugins/symbol-browser/images/Makefile.am	Wed Sep  3 07:14:11 2008
@@ -1,45 +1,15 @@
 # Plugin pixmap files
 symbol_browser_iconsdir = $(anjuta_image_dir)
 symbol_browser_icons_DATA = \
-	Icons.16x16.Class\
-	Icons.16x16.Event\
-	Icons.16x16.Enum\
-	Icons.16x16.Field\
-	Icons.16x16.Struct\
-	Icons.16x16.Property\
-	Icons.16x16.FormsDesigner.BringToFront\
-	Icons.16x16.FormsDesigner.SendToBack\
-	Icons.16x16.Interface\
-	Icons.16x16.InternalClass\
-	Icons.16x16.InternalDelegate\
-	Icons.16x16.InternalEnum\
-	Icons.16x16.InternalEvent\
-	Icons.16x16.InternalField\
-	Icons.16x16.InternalInterface\
-	Icons.16x16.InternalMethod\
-	Icons.16x16.InternalProperty\
-	Icons.16x16.InternalStruct\
-	Icons.16x16.Literal\
-	Icons.16x16.Method\
-	Icons.16x16.NameSpace\
-	Icons.16x16.PrivateClass\
-	Icons.16x16.PrivateDelegate\
-	Icons.16x16.PrivateEnum\
-	Icons.16x16.PrivateEvent\
-	Icons.16x16.PrivateField\
-	Icons.16x16.PrivateInterface\
-	Icons.16x16.PrivateMethod\
-	Icons.16x16.PrivateProperty\
-	Icons.16x16.PrivateStruct\
-	Icons.16x16.ProtectedClass\
-	Icons.16x16.ProtectedDelegate\
-	Icons.16x16.ProtectedEnum\
-	Icons.16x16.ProtectedEvent\
-	Icons.16x16.ProtectedField\
-	Icons.16x16.ProtectedInterface\
-	Icons.16x16.ProtectedMethod\
-	Icons.16x16.ProtectedProperty\
-	Icons.16x16.ProtectedStruct\
-	Icons.16x16.Reference
-
+	element-literal-16.png \
+	element-class-16.png \
+	element-delegate-16.png \
+	element-enumeration-16.png \
+	element-event-16.png \
+	element-field-16.png \
+	element-interface-16.png \
+	element-method-16.png \
+	element-namespace-16.png \
+	element-property-16.png \
+	element-structure-16.png
 EXTRA_DIST = $(symbol_browser_icons_DATA)

Added: trunk/plugins/symbol-browser/images/README
==============================================================================
--- (empty file)
+++ trunk/plugins/symbol-browser/images/README	Wed Sep  3 07:14:11 2008
@@ -0,0 +1,2 @@
+These files have been imported from MonoDevelop
+They have MIT/X11 license

Added: trunk/plugins/symbol-browser/images/element-class-16.png
==============================================================================
Binary file. No diff available.

Added: trunk/plugins/symbol-browser/images/element-delegate-16.png
==============================================================================
Binary file. No diff available.

Added: trunk/plugins/symbol-browser/images/element-enumeration-16.png
==============================================================================
Binary file. No diff available.

Added: trunk/plugins/symbol-browser/images/element-event-16.png
==============================================================================
Binary file. No diff available.

Added: trunk/plugins/symbol-browser/images/element-field-16.png
==============================================================================
Binary file. No diff available.

Added: trunk/plugins/symbol-browser/images/element-interface-16.png
==============================================================================
Binary file. No diff available.

Added: trunk/plugins/symbol-browser/images/element-literal-16.png
==============================================================================
Binary file. No diff available.

Added: trunk/plugins/symbol-browser/images/element-method-16.png
==============================================================================
Binary file. No diff available.

Added: trunk/plugins/symbol-browser/images/element-namespace-16.png
==============================================================================
Binary file. No diff available.

Added: trunk/plugins/symbol-browser/images/element-property-16.png
==============================================================================
Binary file. No diff available.

Added: trunk/plugins/symbol-browser/images/element-structure-16.png
==============================================================================
Binary file. No diff available.

Modified: trunk/plugins/symbol-db/symbol-db-view.c
==============================================================================
--- trunk/plugins/symbol-db/symbol-db-view.c	(original)
+++ trunk/plugins/symbol-db/symbol-db-view.c	Wed Sep  3 07:14:11 2008
@@ -23,7 +23,6 @@
  */
 
 #include <glib.h>
-#include <gdl/gdl-icons.h>
 #include <libanjuta/resources.h>
 #include <libanjuta/anjuta-utils.h>
 #include <libanjuta/anjuta-debug.h>
@@ -1522,50 +1521,50 @@
 
 	pixbufs_hash = g_hash_table_new (g_str_hash, g_str_equal);
 
-	CREATE_SYM_ICON ("class",             "Icons.16x16.Class");	
-	CREATE_SYM_ICON ("enum",     	  	  "Icons.16x16.Enum");		
-	CREATE_SYM_ICON ("enumerator",     	  "Icons.16x16.Enum");	
-	CREATE_SYM_ICON ("function",          "Icons.16x16.Method");	
-	CREATE_SYM_ICON ("interface",         "Icons.16x16.Interface");	
-	CREATE_SYM_ICON ("macro",             "Icons.16x16.Field");	
-	CREATE_SYM_ICON ("namespace",         "Icons.16x16.NameSpace");
-	CREATE_SYM_ICON ("none",              "Icons.16x16.Literal");
-	CREATE_SYM_ICON ("struct",            "Icons.16x16.ProtectedStruct");
-	CREATE_SYM_ICON ("typedef",           "Icons.16x16.Reference");
-	CREATE_SYM_ICON ("union",             "Icons.16x16.PrivateStruct");
-	CREATE_SYM_ICON ("variable",          "Icons.16x16.Literal");
-	CREATE_SYM_ICON ("prototype",         "Icons.16x16.Interface");	
-	
-	CREATE_SYM_ICON ("privateclass",      "Icons.16x16.PrivateClass");
-	CREATE_SYM_ICON ("privateenum",   	  "Icons.16x16.PrivateEnum");
-	CREATE_SYM_ICON ("privatefield",   	  "Icons.16x16.PrivateField");
-	CREATE_SYM_ICON ("privatefunction",   "Icons.16x16.PrivateMethod");
-	CREATE_SYM_ICON ("privateinterface",  "Icons.16x16.PrivateInterface");	
-	CREATE_SYM_ICON ("privatemember",     "Icons.16x16.PrivateProperty");	
-	CREATE_SYM_ICON ("privatemethod",     "Icons.16x16.PrivateMethod");
-	CREATE_SYM_ICON ("privateproperty",   "Icons.16x16.PrivateProperty");
-	CREATE_SYM_ICON ("privatestruct",     "Icons.16x16.PrivateStruct");
-	CREATE_SYM_ICON ("privateprototype",  "Icons.16x16.PrivateInterface");
-
-	CREATE_SYM_ICON ("protectedclass",    "Icons.16x16.ProtectedClass");	
-	CREATE_SYM_ICON ("protectedenum",     "Icons.16x16.ProtectedEnum");
-	CREATE_SYM_ICON ("protectedfield",    "Icons.16x16.ProtectedField");	
-	CREATE_SYM_ICON ("protectedmember",   "Icons.16x16.ProtectedProperty");
-	CREATE_SYM_ICON ("protectedmethod",   "Icons.16x16.ProtectedMethod");
-	CREATE_SYM_ICON ("protectedproperty", "Icons.16x16.ProtectedProperty");
-	CREATE_SYM_ICON ("publicprototype",   "Icons.16x16.ProtectedInterface");
-	
-	CREATE_SYM_ICON ("publicclass",    	  "Icons.16x16.Class");	
-	CREATE_SYM_ICON ("publicenum",    	  "Icons.16x16.Enum");	
-	CREATE_SYM_ICON ("publicfunction",    "Icons.16x16.Method");
-	CREATE_SYM_ICON ("publicmember",      "Icons.16x16.Method");
-	CREATE_SYM_ICON ("publicproperty",    "Icons.16x16.Property");
-	CREATE_SYM_ICON ("publicstruct",      "Icons.16x16.Struct");
-	CREATE_SYM_ICON ("publicprototype",   "Icons.16x16.Interface");
+	CREATE_SYM_ICON ("class",             "element-class-16.png");	
+	CREATE_SYM_ICON ("enum",     	  	  "element-enumeration-16.png");		
+	CREATE_SYM_ICON ("enumerator",     	  "element-enumeration-16.png");	
+	CREATE_SYM_ICON ("function",          "element-method-16.png");	
+	CREATE_SYM_ICON ("interface",         "element-interface-16.png");	
+	CREATE_SYM_ICON ("macro",             "element-event-16.png");	
+	CREATE_SYM_ICON ("namespace",         "element-namespace-16.png");
+	CREATE_SYM_ICON ("none",              "element-literal-16.png");
+	CREATE_SYM_ICON ("struct",            "element-structure-16.png");
+	CREATE_SYM_ICON ("typedef",           "element-literal-16.png");
+	CREATE_SYM_ICON ("union",             "element-structure-16.png");
+	CREATE_SYM_ICON ("variable",          "element-literal-16.png");
+	CREATE_SYM_ICON ("prototype",         "element-interface-16.png");	
+	
+	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 ("privatestruct",     "element-structure-16.png");
+	CREATE_SYM_ICON ("privateprototype",  "element-interface-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 ("publicprototype",   "element-interface-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 ("publicstruct",      "element-structure-16.png");
+	CREATE_SYM_ICON ("publicprototype",   "element-interface-16.png");
 	
 	/* special icon */
-	CREATE_SYM_ICON ("othersvars",   "Icons.16x16.Event");
-	CREATE_SYM_ICON ("globalglobal", "Icons.16x16.Event");
+	CREATE_SYM_ICON ("othersvars",   "element-event-16.png");
+	CREATE_SYM_ICON ("globalglobal", "element-event-16.png");
 }
 
 /**



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