[gnome-disk-utility] Store directory of last image file chosen, not the full path
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] Store directory of last image file chosen, not the full path
- Date: Thu, 23 Aug 2012 16:02:38 +0000 (UTC)
commit 94f8dbfa5c6bbc6b68f3d3aeca00099c942837e2
Author: David Zeuthen <zeuthen gmail com>
Date: Thu Aug 23 12:01:14 2012 -0400
Store directory of last image file chosen, not the full path
Signed-off-by: David Zeuthen <zeuthen gmail com>
src/libgdu/gduutils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libgdu/gduutils.c b/src/libgdu/gduutils.c
index e657af5..e444e1a 100644
--- a/src/libgdu/gduutils.c
+++ b/src/libgdu/gduutils.c
@@ -108,7 +108,7 @@ gdu_utils_file_chooser_for_disk_images_update_settings (GtkFileChooser *file_cho
gchar *cur_folder;
orig_folder = g_object_get_data (G_OBJECT (file_chooser), "x-gdu-orig-folder");
- cur_folder = gtk_file_chooser_get_uri (file_chooser);
+ cur_folder = gtk_file_chooser_get_current_folder_uri (file_chooser);
if (g_strcmp0 (orig_folder, cur_folder) != 0)
{
GSettings *settings = g_settings_new ("org.gnome.Disks");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]