diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-08-07 23:12:21 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-08-07 23:14:40 +0800 |
commit | c266347e297660bb665abfcdfc3d6568fd8e4294 (patch) | |
tree | 1a482f851c15b45ec1dd382f8db388c942c8b784 /libempathy-gtk/empathy-ui-utils.c | |
parent | a90f1f5cb840c43a60a5da2e5d6daa884ba8dd2c (diff) | |
download | gsoc2013-empathy-c266347e297660bb665abfcdfc3d6568fd8e4294.tar gsoc2013-empathy-c266347e297660bb665abfcdfc3d6568fd8e4294.tar.gz gsoc2013-empathy-c266347e297660bb665abfcdfc3d6568fd8e4294.tar.bz2 gsoc2013-empathy-c266347e297660bb665abfcdfc3d6568fd8e4294.tar.lz gsoc2013-empathy-c266347e297660bb665abfcdfc3d6568fd8e4294.tar.xz gsoc2013-empathy-c266347e297660bb665abfcdfc3d6568fd8e4294.tar.zst gsoc2013-empathy-c266347e297660bb665abfcdfc3d6568fd8e4294.zip |
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.
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.c')
-rw-r--r-- | 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 8114cc21e..40c6134cf 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); |