summaryrefslogtreecommitdiff
path: root/community/mate-utils/patch.diff
diff options
context:
space:
mode:
Diffstat (limited to 'community/mate-utils/patch.diff')
-rw-r--r--community/mate-utils/patch.diff34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/mate-utils/patch.diff b/community/mate-utils/patch.diff
new file mode 100644
index 000000000..6971c219e
--- /dev/null
+++ b/community/mate-utils/patch.diff
@@ -0,0 +1,34 @@
+From a59fda7d006b856ac5982750f2ffdefd24191be0 Mon Sep 17 00:00:00 2001
+From: Stefano Karapetsas <stefano@karapetsas.com>
+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