SF.net SVN: geany: [1733] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Mon Jul 23 09:26:05 UTC 2007


Revision: 1733
          http://geany.svn.sourceforge.net/geany/?rev=1733&view=rev
Author:   eht16
Date:     2007-07-23 02:26:05 -0700 (Mon, 23 Jul 2007)

Log Message:
-----------
Adjust symbol list icon path on Windows.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/symbols.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-07-22 14:57:26 UTC (rev 1732)
+++ trunk/ChangeLog	2007-07-23 09:26:05 UTC (rev 1733)
@@ -1,3 +1,8 @@
+2007-07-23  Enrico Tröger  <enrico.troeger at uvena.de>
+
+ * src/symbols.c: Adjust symbol list icon path on Windows.
+
+
 2007-07-22  Enrico Tröger  <enrico.troeger at uvena.de>
 
  * src/symbols.c, src/treeviews.c, src/treeviews.h, src/utils.c,

Modified: trunk/src/symbols.c
===================================================================
--- trunk/src/symbols.c	2007-07-22 14:57:26 UTC (rev 1732)
+++ trunk/src/symbols.c	2007-07-23 09:26:05 UTC (rev 1733)
@@ -426,7 +426,11 @@
 	{
 		gtk_icon_size_lookup(GTK_ICON_SIZE_MENU, &x, &y);
 		icon_theme = gtk_icon_theme_get_default();
-		gtk_icon_theme_append_search_path(icon_theme, PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "icons");
+#ifdef G_OS_WIN32
+		gtk_icon_theme_append_search_path(icon_theme, "share\\icons");
+#else
+		gtk_icon_theme_append_search_path(icon_theme, PACKAGE_DATA_DIR "/icons");
+#endif
 	}
 
     va_start(args, tree_store);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list