From: Guillaume Desmottes Date: Fri, 7 Aug 2009 15:12:21 +0000 (+0100) Subject: empathy_send_file_with_file_chooser: allow to send files from network locations ... X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=c266347e297660bb665abfcdfc3d6568fd8e4294 empathy_send_file_with_file_chooser: allow to send files from network locations (#591058) Empathy can send file from network locations so there is no reason to not allow users to. --- diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c index 8114cc21..40c6134c 100644 --- a/libempathy-gtk/empathy-ui-utils.c +++ b/libempathy-gtk/empathy-ui-utils.c @@ -1488,6 +1488,8 @@ empathy_send_file_with_file_chooser (EmpathyContact *contact) gtk_dialog_set_default_response (GTK_DIALOG (widget), GTK_RESPONSE_OK); + gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (widget), FALSE); + g_signal_connect (widget, "response", G_CALLBACK (file_manager_send_file_response_cb), contact);