empathy r1851 - trunk/libempathy-gtk



Author: xclaesse
Date: Fri Nov 21 16:21:05 2008
New Revision: 1851
URL: http://svn.gnome.org/viewvc/empathy?rev=1851&view=rev

Log:
empathy-ft-manager: ask confirmation if the filename already exists

Modified:
   trunk/libempathy-gtk/empathy-ft-manager.c

Modified: trunk/libempathy-gtk/empathy-ft-manager.c
==============================================================================
--- trunk/libempathy-gtk/empathy-ft-manager.c	(original)
+++ trunk/libempathy-gtk/empathy-ft-manager.c	Fri Nov 21 16:21:05 2008
@@ -828,6 +828,9 @@
   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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]