diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:21:05 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:21:05 +0800 |
commit | e550682ac250d82f57ed8242c1db5fbc2d2f9cd2 (patch) | |
tree | 8b6cd71cdd6c992f8f922c74e8932a9ff00f3eb8 /libempathy-gtk/empathy-ft-manager.c | |
parent | ddcd5713db721f8221e8e4db32a882a8c77dc827 (diff) | |
download | gsoc2013-empathy-e550682ac250d82f57ed8242c1db5fbc2d2f9cd2.tar gsoc2013-empathy-e550682ac250d82f57ed8242c1db5fbc2d2f9cd2.tar.gz gsoc2013-empathy-e550682ac250d82f57ed8242c1db5fbc2d2f9cd2.tar.bz2 gsoc2013-empathy-e550682ac250d82f57ed8242c1db5fbc2d2f9cd2.tar.lz gsoc2013-empathy-e550682ac250d82f57ed8242c1db5fbc2d2f9cd2.tar.xz gsoc2013-empathy-e550682ac250d82f57ed8242c1db5fbc2d2f9cd2.tar.zst gsoc2013-empathy-e550682ac250d82f57ed8242c1db5fbc2d2f9cd2.zip |
empathy-ft-manager: ask confirmation if the filename already exists
svn path=/trunk/; revision=1851
Diffstat (limited to 'libempathy-gtk/empathy-ft-manager.c')
-rw-r--r-- | libempathy-gtk/empathy-ft-manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-ft-manager.c b/libempathy-gtk/empathy-ft-manager.c index e9b8bd510..7ccc8f4af 100644 --- a/libempathy-gtk/empathy-ft-manager.c +++ b/libempathy-gtk/empathy-ft-manager.c @@ -828,6 +828,9 @@ ft_manager_create_save_dialog (ReceiveResponseData *response_data) gtk_dialog_set_default_response (GTK_DIALOG (widget), GTK_RESPONSE_OK); + gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (widget), + TRUE); + g_signal_connect (widget, "response", G_CALLBACK (ft_manager_save_dialog_response_cb), response_data); |