Mercurial > pidgin
changeset 13100:b0cbc4a3675d
[gaim-migrate @ 15462]
Having 'Set as buddy icon' as the default action for image DND is uncool.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 02 Feb 2006 19:17:01 +0000 |
parents | 913e06e4155c |
children | 094d4b49e1c9 |
files | src/gtkutils.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkutils.c Thu Feb 02 19:15:51 2006 +0000 +++ b/src/gtkutils.c Thu Feb 02 19:17:01 2006 +0000 @@ -1445,7 +1445,7 @@ _("You have dragged an image"), _("You can send this image as a file transfer, " "embed it into this message, or use it as the buddy icon for this user."), - DND_BUDDY_ICON, "OK", (GCallback)dnd_image_ok_callback, + DND_FILE_TRANSFER, "OK", (GCallback)dnd_image_ok_callback, "Cancel", (GCallback)dnd_image_cancel_callback, data, _("Set as buddy icon"), DND_BUDDY_ICON, _("Send image file"), DND_FILE_TRANSFER, @@ -1460,7 +1460,7 @@ ft ? _("You can send this image as a file transfer or " "embed it into this message, or use it as the buddy icon for this user.") : _("You can insert this image into this message, or use it as the buddy icon for this user"), - DND_BUDDY_ICON, "OK", (GCallback)dnd_image_ok_callback, + ft ? DND_FILE_TRANSFER : DND_IM_IMAGE, "OK", (GCallback)dnd_image_ok_callback, "Cancel", (GCallback)dnd_image_cancel_callback, data, _("Set as buddy icon"), DND_BUDDY_ICON, ft ? _("Send image file") : _("Insert in message"), ft ? DND_FILE_TRANSFER : DND_IM_IMAGE, NULL);