[gnome-control-center] sharing: Make it possible to share remote folders



commit 884bf3b2dc9c59677d95eacbf9089071c16004ea
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Aug 7 13:04:09 2014 +0200

    sharing: Make it possible to share remote folders
    
    rygel can actually share media if the remote folder is mounted.

 panels/sharing/cc-sharing-panel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/sharing/cc-sharing-panel.c b/panels/sharing/cc-sharing-panel.c
index c7fb884..3d224c6 100644
--- a/panels/sharing/cc-sharing-panel.c
+++ b/panels/sharing/cc-sharing-panel.c
@@ -491,6 +491,7 @@ cc_sharing_panel_add_folder (GtkListBox     *box,
                                         _("_Cancel"), GTK_RESPONSE_CANCEL,
                                         _("_Open"), GTK_RESPONSE_ACCEPT,
                                         NULL);
+  gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (dialog), FALSE);
   gtk_dialog_run (GTK_DIALOG (dialog));
 
   gtk_widget_hide (dialog);


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