aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-05-04 18:30:56 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:47:38 +0800
commit93226e13ef87be16b42eb77a4b504ec657fd3e2c (patch)
tree1b7eaa4157a705dfd38706f794c0b68003691c1e /libempathy-gtk
parentd5f0907f1e62c22d225c9899c847b4ce5ad1e137 (diff)
downloadgsoc2013-empathy-93226e13ef87be16b42eb77a4b504ec657fd3e2c.tar
gsoc2013-empathy-93226e13ef87be16b42eb77a4b504ec657fd3e2c.tar.gz
gsoc2013-empathy-93226e13ef87be16b42eb77a4b504ec657fd3e2c.tar.bz2
gsoc2013-empathy-93226e13ef87be16b42eb77a4b504ec657fd3e2c.tar.lz
gsoc2013-empathy-93226e13ef87be16b42eb77a4b504ec657fd3e2c.tar.xz
gsoc2013-empathy-93226e13ef87be16b42eb77a4b504ec657fd3e2c.tar.zst
gsoc2013-empathy-93226e13ef87be16b42eb77a4b504ec657fd3e2c.zip
Set the overwrite confermation when receiving
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-ui-utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index c33abb63d..809e42035 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1504,6 +1504,9 @@ empathy_receive_file_with_file_chooser (EmpathyFTHandler *handler)
NULL);
gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (widget),
empathy_ft_handler_get_filename (handler));
+ gtk_file_chooser_set_do_overwrite_confirmation
+ (GTK_FILE_CHOOSER (widget), TRUE);
+
g_signal_connect (widget, "response",
G_CALLBACK (file_manager_receive_file_response_cb), handler);