SF.net SVN: geany:[3630] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Mon Mar 16 13:45:14 UTC 2009


Revision: 3630
          http://geany.svn.sourceforge.net/geany/?rev=3630&view=rev
Author:   eht16
Date:     2009-03-16 13:45:12 +0000 (Mon, 16 Mar 2009)

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

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-03-16 13:43:12 UTC (rev 3629)
+++ trunk/ChangeLog	2009-03-16 13:45:12 UTC (rev 3630)
@@ -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>

Modified: trunk/src/ui_utils.c
===================================================================
--- trunk/src/ui_utils.c	2009-03-16 13:43:12 UTC (rev 3629)
+++ trunk/src/ui_utils.c	2009-03-16 13:45:12 UTC (rev 3630)
@@ -1505,7 +1505,7 @@
 	{
 		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);
 	}


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