add a gtk2.8 fixme for when pygtk28 is out
This commit is contained in:
parent
08e6b8a6a9
commit
79b40f48e8
|
@ -299,6 +299,8 @@ _('Connection with peer cannot be established.'))
|
||||||
file_path = dialog.get_filename()
|
file_path = dialog.get_filename()
|
||||||
if os.path.exists(file_path):
|
if os.path.exists(file_path):
|
||||||
#FIXME: pango does not work here.
|
#FIXME: pango does not work here.
|
||||||
|
#FIXME: if gtk2.8 do this via signal
|
||||||
|
#http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooser.html#GtkFileChooser--do-overwrite-confirmation
|
||||||
primtext = _('This file already exists')
|
primtext = _('This file already exists')
|
||||||
sectext = _('Would you like to overwrite it?')
|
sectext = _('Would you like to overwrite it?')
|
||||||
dialog2 = dialogs.ConfirmationDialog(primtext, sectext)
|
dialog2 = dialogs.ConfirmationDialog(primtext, sectext)
|
||||||
|
|
Loading…
Reference in New Issue