Tue, 21 Mar 2006 00:50:58 +0000
[gaim-migrate @ 15911]
When you have specified an existing file as the target of a file transfer,
the dialog confirming the overwrite should have buttons that make the
actions clear. This is more HIG compliant, requested in a feature request,
and I think it's a good idea.
| src/gtkrequest.c | file | annotate | diff | comparison | revisions |
--- a/src/gtkrequest.c Tue Mar 21 00:47:33 2006 +0000 +++ b/src/gtkrequest.c Tue Mar 21 00:50:58 2006 +0000 @@ -1464,10 +1464,10 @@ if ((data->u.file.savedialog == TRUE) && (g_file_test(data->u.file.name, G_FILE_TEST_EXISTS))) { - gaim_request_yes_no(data, NULL, _("That file already exists"), - _("Would you like to overwrite it?"), 0, data, - G_CALLBACK(file_yes_no_cb), - G_CALLBACK(file_yes_no_cb)); + gaim_request_action(data, NULL, _("That file already exists"), + _("Would you like to overwrite it?"), 0, data, 2, + _("Overwrite"), G_CALLBACK(file_yes_no_cb), + _("Choose New Name"), G_CALLBACK(file_yes_no_cb)); } else file_yes_no_cb(data, 1); }