[empathy] empathy_send_file_with_file_chooser: allow to send files from network locations (#591058)
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] empathy_send_file_with_file_chooser: allow to send files from network locations (#591058)
- Date: Fri, 7 Aug 2009 15:27:43 +0000 (UTC)
commit c266347e297660bb665abfcdfc3d6568fd8e4294
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Aug 7 16:12:21 2009 +0100
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.
libempathy-gtk/empathy-ui-utils.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 8114cc2..40c6134 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]