[gnome-boxes] wizard-source: Allow selecting file from remote shares



commit f32e682583ad695f2edcdec167b2de3173e87815
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Jul 3 12:33:40 2014 +0100

    wizard-source: Allow selecting file from remote shares
    
    This was supposed to be covered by a84c9ad (Revert "wizard: Confine file
    chooser dialog to local filesystem") but what I didn't realize at that
    time was that the underlying Gtk.FileChooser.local_only property is by
    default true and not false. :(
    
    Explicitly setting this property now to enable access to remote shares.

 src/wizard-source.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wizard-source.vala b/src/wizard-source.vala
index 6f30294..cc5d710 100644
--- a/src/wizard-source.vala
+++ b/src/wizard-source.vala
@@ -263,6 +263,7 @@ private class Boxes.WizardSource: Gtk.Stack {
                                                 _("_Cancel"), Gtk.ResponseType.CANCEL,
                                                 _("_Open"), Gtk.ResponseType.ACCEPT);
         dialog.show_hidden = false;
+        dialog.local_only = false;
         dialog.filter = new Gtk.FileFilter ();
         dialog.filter.add_mime_type ("application/x-cd-image");
         foreach (var extension in InstalledMedia.supported_extensions)


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