From a59fda7d006b856ac5982750f2ffdefd24191be0 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 11 Jul 2013 11:14:38 +0000 Subject: mate-screenshot: Fix save path selection Closes #32 https://github.com/mate-desktop/mate-utils/issues/32 Fix from https://bugzilla.gnome.org/show_bug.cgi?id=579232 --- diff --git a/mate-screenshot/screenshot-dialog.c b/mate-screenshot/screenshot-dialog.c index bcac343..b5b2be5 100644 --- a/mate-screenshot/screenshot-dialog.c +++ b/mate-screenshot/screenshot-dialog.c @@ -338,7 +338,7 @@ screenshot_dialog_get_uri (ScreenshotDialog *dialog) gchar *uri, *file, *tmp; GError *error; - folder = gtk_file_chooser_get_current_folder_uri (GTK_FILE_CHOOSER (dialog->save_widget)); + folder = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (dialog->save_widget)); file_name = gtk_entry_get_text (GTK_ENTRY (dialog->filename_entry)); error = NULL; @@ -366,7 +366,7 @@ screenshot_dialog_get_uri (ScreenshotDialog *dialog) char * screenshot_dialog_get_folder (ScreenshotDialog *dialog) { - return gtk_file_chooser_get_current_folder_uri (GTK_FILE_CHOOSER (dialog->save_widget)); + return gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (dialog->save_widget)); } GdkPixbuf * -- cgit