On Wed, 7 May 2008 12:09:34 -0700 (PDT)
Andrea Caminiti <[EMAIL PROTECTED]> wrote:

> when i try it, an select an existing file, no overwrite dialog was displayed. 
> when i check 
> the file the previous content was changed for the new one. any idea on what's 
> wrong? 
> any suggestions?

Try connection the dialog's "confirm-overwrite" signal before you run
the dialog. If you look at the pygtk documentation for gtk.FileChooser,
you'll see an example of how to use the "confirm-overwrite" signal.

-- 
Mitko Haralanov
==========================================
 "Who would have though hell would really exist? And that it would be
in New Jersey?" -Leela 
"Actually..." - Fry
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to