Revision: 1358 http://svn.sourceforge.net/geany/?rev=1358&view=rev Author: eht16 Date: 2007-03-02 01:58:03 -0800 (Fri, 02 Mar 2007)
Log Message: ----------- Changed location of translation files to lib\locale on Win32.
Modified Paths: -------------- trunk/ChangeLog trunk/src/main.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-03-02 09:53:21 UTC (rev 1357) +++ trunk/ChangeLog 2007-03-02 09:58:03 UTC (rev 1358) @@ -3,6 +3,8 @@ * src/win32.c: Added new file filter for Open File dialog to only show supported source files (for native Win32 dialog). + * src/main.c: Changed location of translation files to lib\locale + on Win32.
2007-03-01 Nick Treleaven nick.treleaven@btinternet.com
Modified: trunk/src/main.c =================================================================== --- trunk/src/main.c 2007-03-02 09:53:21 UTC (rev 1357) +++ trunk/src/main.c 2007-03-02 09:58:03 UTC (rev 1358) @@ -362,7 +362,7 @@ // set paths #ifdef G_OS_WIN32 // take the installation directory(the one where geany.exe is located) as the base for the - // language catalogs, documentation and data files + // documentation and data files gchar *install_dir = g_win32_get_package_installation_directory("geany", NULL);
data_dir = g_strconcat(install_dir, "\data", NULL); // e.g. C:\Program Files\geany\data @@ -388,7 +388,10 @@ gchar *locale_dir = NULL;
#ifdef G_OS_WIN32 - locale_dir = g_strdup(app->datadir); + gchar *install_dir = g_win32_get_package_installation_directory("geany", NULL); + // e.g. C:\Program Files\geany\lib\locale + locale_dir = g_strconcat(install_dir, "\lib\locale", NULL); + g_free(install_dir); #else locale_dir = g_strdup(PACKAGE_LOCALE_DIR); #endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.