[gnome-disk-utility/udisks2-port] Allow attaching Disk Images from non-local files (e.g. on SFTP or SMB GVfs backends)



commit a2708e1f68fc36d1a3f602a2faf94da092d37520
Author: David Zeuthen <davidz redhat com>
Date:   Wed Dec 7 16:12:14 2011 -0500

    Allow attaching Disk Images from non-local files (e.g. on SFTP or SMB GVfs backends)
    
    This is now supported in udisks master.
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 src/palimpsest/gduwindow.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/palimpsest/gduwindow.c b/src/palimpsest/gduwindow.c
index 9ef9d1b..ed84dea 100644
--- a/src/palimpsest/gduwindow.c
+++ b/src/palimpsest/gduwindow.c
@@ -644,11 +644,7 @@ on_device_tree_attach_disk_image_button_clicked (GtkToolButton *button,
                                         _("_Attach"), GTK_RESPONSE_ACCEPT,
                                         NULL);
   gdu_utils_configure_file_chooser_for_disk_images (GTK_FILE_CHOOSER (dialog));
-
-  /* Can't support non-local files because uid gets EPERM when doing fstat(2)
-   * an FD from the FUSE mount... it would be nice to support this, though
-   */
-  /* gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (dialog), FALSE); */
+  gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (dialog), FALSE);
 
   /* Add a RO check button that defaults to RO */
   ro_checkbutton = gtk_check_button_new_with_mnemonic (_("Set up _read-only loop device"));



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