[totem] screenshot: Fix error saving gallery save path



commit c1c086b3b9898838349f9ba95ef279eeb06d08fa
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jan 17 15:22:55 2014 +0100

    screenshot: Fix error saving gallery save path

 src/plugins/screenshot/totem-gallery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/screenshot/totem-gallery.c b/src/plugins/screenshot/totem-gallery.c
index 969f8c8..f5f0b3e 100644
--- a/src/plugins/screenshot/totem-gallery.c
+++ b/src/plugins/screenshot/totem-gallery.c
@@ -166,7 +166,7 @@ dialog_response_callback (GtkDialog *dialog, gint response_id, TotemGallery *sel
 
        filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (self));
        video_mrl = totem_object_get_current_mrl (self->priv->totem);
-       totem_screenshot_plugin_update_file_chooser (filename);
+       totem_screenshot_plugin_update_file_chooser (gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (self)));
 
        /* Build the command and arguments to pass it */
        argv[0] = (gchar*) "totem-video-thumbnailer"; /* a little hacky, but only the allocated stuff is 
freed below */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]