SF.net SVN: geany: [2523] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Thu Apr 24 12:16:32 UTC 2008
Revision: 2523
http://geany.svn.sourceforge.net/geany/?rev=2523&view=rev
Author: ntrel
Date: 2008-04-24 05:16:21 -0700 (Thu, 24 Apr 2008)
Log Message:
-----------
Make utils_get_file_list() use a case-insensitive search so that the
file browser lists files and directories in a more intuitive order.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/utils.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-04-23 21:01:51 UTC (rev 2522)
+++ trunk/ChangeLog 2008-04-24 12:16:21 UTC (rev 2523)
@@ -1,3 +1,10 @@
+2008-04-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/utils.c:
+ Make utils_get_file_list() use a case-insensitive search so that the
+ file browser lists files and directories in a more intuitive order.
+
+
2008-04-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c, src/project.h, src/geany.h, src/keyfile.c,
Modified: trunk/src/utils.c
===================================================================
--- trunk/src/utils.c 2008-04-23 21:01:51 UTC (rev 2522)
+++ trunk/src/utils.c 2008-04-24 12:16:21 UTC (rev 2523)
@@ -1765,7 +1765,7 @@
const gchar *filename = g_dir_read_name(dir);
if (filename == NULL) break;
- list = g_slist_insert_sorted(list, g_strdup(filename), (GCompareFunc) strcmp);
+ list = g_slist_insert_sorted(list, g_strdup(filename), (GCompareFunc) g_strcasecmp);
len++;
}
g_dir_close(dir);
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