[geany/geany] 3cb382: Fix using 'All files' instead of 'None' in Open dialogs (Windows)
Nick Treleaven
git-noreply at xxxxx
Thu Jul 26 00:02:48 UTC 2012
Branch: refs/heads/document-messages
Author: Nick Treleaven <nick.treleaven at btinternet.com>
Committer: Nick Treleaven <nick.treleaven at btinternet.com>
Date: Sun, 08 Jan 2012 17:53:49
Commit: 3cb3826aad3e110f5309816e65394249369f24e7
https://github.com/geany/geany/commit/3cb3826aad3e110f5309816e65394249369f24e7
Log Message:
-----------
Fix using 'All files' instead of 'None' in Open dialogs (Windows)
Modified Paths:
--------------
src/win32.c
Modified: src/win32.c
6 files changed, 2 insertions(+), 4 deletions(-)
===================================================================
@@ -157,14 +157,12 @@ static wchar_t *get_filters(gboolean project_files)
if (project_files)
{
string = g_strconcat(_("Geany project files"), "\t", "*." GEANY_PROJECT_EXT, "\t",
- filetypes[GEANY_FILETYPES_NONE]->title, "\t",
- filetypes[GEANY_FILETYPES_NONE]->pattern[0], "\t", NULL);
+ _("All files"), "\t", "*", "\t", NULL);
}
else
{
string = g_strconcat(_("Executables"), "\t", "*.exe;*.bat;*.cmd", "\t",
- filetypes[GEANY_FILETYPES_NONE]->title, "\t",
- filetypes[GEANY_FILETYPES_NONE]->pattern[0], "\t", NULL);
+ _("All files"), "\t", "*", "\t", NULL);
}
/* replace all "\t"s by \0 */
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list