Mercurial > pidgin.yaz
changeset 13534:1685dcd6b3a5
[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.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 21 Mar 2006 00:50:58 +0000 |
parents | 95f4372e63aa |
children | 99040e8c1142 |
files | src/gtkrequest.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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); }