# HG changeset patch # User Richard Laager # Date 1138907821 0 # Node ID b0cbc4a3675d2997394f195c3c0d37fce2d06153 # Parent 913e06e4155cc841ae1df988a832d05c16118952 [gaim-migrate @ 15462] Having 'Set as buddy icon' as the default action for image DND is uncool. committer: Tailor Script diff -r 913e06e4155c -r b0cbc4a3675d src/gtkutils.c --- 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);