From: gnuite Date: Sun, 9 Mar 2008 20:41:41 +0000 (+0000) Subject: Fixed issue with the "Change Folder" dialog when exporting POI to GPX X-Git-Tag: fremantle/3.0+alpha0~176 X-Git-Url: http://git.itanic.dy.fi/?p=maemo-mapper;a=commitdiff_plain;h=7009ae6a8ad025429728d3aa5b1a3d795a9a547f Fixed issue with the "Change Folder" dialog when exporting POI to GPX (closes #2217) git-svn-id: svn+ssh://garage/var/lib/gforge/svnroot/maemo-mapper/trunk@158 6c538b50-5814-0410-93ad-8bdf4c0149d1 --- diff --git a/src/display.c b/src/display.c index 35b7870..313f3e8 100644 --- a/src/display.c +++ b/src/display.c @@ -2474,7 +2474,7 @@ display_open_file(GtkWidget *parent, gchar **bytes_out, gboolean success = FALSE; printf("%s()\n", __PRETTY_FUNCTION__); - dialog= hildon_file_chooser_dialog_new(GTK_WINDOW(_window),chooser_action); + dialog = hildon_file_chooser_dialog_new(parent, chooser_action); if(dir && *dir) gtk_file_chooser_set_current_folder_uri(