commit 937425541b9c2dc4eeaab8fb896ff96eb5ff741e
Author: Szilárd Pfeiffer <szilard.pfeiffer@gmail.com>
Date:   Mon Apr 27 21:06:01 2009 +0200

    Implemented the handling of GLADE_ENV_ICON_PATH environment variable.

diff --git a/gladeui/glade-app.c b/gladeui/glade-app.c
index 043c761..15e98fd 100644
--- a/gladeui/glade-app.c
+++ b/gladeui/glade-app.c
@@ -410,9 +410,17 @@ glade_app_init (GladeApp *app)
 	
 	if (!initialized)
 	{
+		const gchar   *search_path;
+
 		gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
 						   pixmaps_dir);	
 	
+		if ((search_path = g_getenv (GLADE_ENV_ICON_PATH)) != NULL)
+		{
+			gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
+							   search_path);
+		}
+
 		glade_cursor_init ();
 		
 		initialized = TRUE;
diff --git a/gladeui/glade-app.h b/gladeui/glade-app.h
index 6892416..fc916ee 100644
--- a/gladeui/glade-app.h
+++ b/gladeui/glade-app.h
@@ -41,6 +41,7 @@ G_BEGIN_DECLS
 
 #define GLADE_ENV_CATALOG_PATH    "GLADE_CATALOG_PATH"
 #define GLADE_ENV_MODULE_PATH     "GLADE_MODULE_PATH"
+#define GLADE_ENV_ICON_PATH       "GLADE_ICON_PATH"
 
 typedef struct _GladeApp         GladeApp;
 typedef struct _GladeAppPrivate  GladeAppPrivate;
