Kaydet (Commit) adae4bc7 authored tarafından Enrico Tröger's avatar Enrico Tröger

Fix wrong directory selection behaviour in all Open Folder dialogs (closes…

Fix wrong directory selection behaviour in all Open Folder dialogs (closes #2688020, patch by Marcel Stimberg, thanks).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3630 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 009fdd67
......@@ -5,6 +5,9 @@
display the right amount of matches.
Fix the display of the matches once per line (I broke the original
patch).
* src/ui_uitls.c:
Fix wrong directory selection behaviour in all Open Folder dialogs
(closes #2688020, patch by Marcel Stimberg, thanks).
2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
......
......@@ -1505,7 +1505,7 @@ static gchar *run_file_chooser(const gchar *title, GtkFileChooserAction action,
{
gchar *dir_locale;
dir_locale = gtk_file_chooser_get_current_folder(GTK_FILE_CHOOSER(dialog));
dir_locale = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
ret_path = utils_get_utf8_from_locale(dir_locale);
g_free(dir_locale);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment