summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-07-11 13:14:38 +0200
committerStefano Karapetsas <[email protected]>2013-07-11 13:14:38 +0200
commita59fda7d006b856ac5982750f2ffdefd24191be0 (patch)
tree9943608857a5405636d45ab95fc1d13822810ae0
parentdbc00adc4d80635ad948b0ad72eb9a7dfdf360cd (diff)
downloadmate-utils-a59fda7d006b856ac5982750f2ffdefd24191be0.tar.bz2
mate-utils-a59fda7d006b856ac5982750f2ffdefd24191be0.tar.xz
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
-rw-r--r--mate-screenshot/screenshot-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-screenshot/screenshot-dialog.c b/mate-screenshot/screenshot-dialog.c
index bcac343d..b5b2be56 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 *