[mate-utils] add upstream patch to fix save path selection in mate-screenshot

Wolfgang Ulbrich raveit65 at fedoraproject.org
Thu Jul 11 14:58:39 UTC 2013


commit bd18ba1972d898fb90e242fa7da520c83dcdb8f7
Author: raveit65 <chat-to-me at raveit.de>
Date:   Thu Jul 11 16:58:19 2013 +0200

    add upstream patch to fix save path selection in mate-screenshot

 ...-utils_fix-save-path-selection_screenshot.patch |   35 ++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/mate-utils_fix-save-path-selection_screenshot.patch b/mate-utils_fix-save-path-selection_screenshot.patch
new file mode 100644
index 0000000..2c968dd
--- /dev/null
+++ b/mate-utils_fix-save-path-selection_screenshot.patch
@@ -0,0 +1,35 @@
+From a59fda7d006b856ac5982750f2ffdefd24191be0 Mon Sep 17 00:00:00 2001
+From: Stefano Karapetsas <stefano at 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 
+


More information about the scm-commits mailing list