Mercurial > pidgin.yaz
diff src/gtkdialogs.c @ 9976:f4ff7d2b9b2c
[gaim-migrate @ 10887]
Dave West fixed a few things from his patch to remove the
default action for certain dialogs that pop-up
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 08 Sep 2004 03:59:17 +0000 |
parents | ced29c7b396c |
children | cc4b2125d05d |
line wrap: on
line diff
--- a/src/gtkdialogs.c Wed Sep 08 03:33:37 2004 +0000 +++ b/src/gtkdialogs.c Wed Sep 08 03:59:17 2004 +0000 @@ -753,8 +753,7 @@ gchar *text = g_strdup_printf(_("You are about to remove the contact containing %s and %d other buddies from your buddy list. Do you want to continue?"), buddy->name, contact->totalsize - 1); - gaim_request_action(NULL, NULL, _("Remove Contact"), text, - GAIM_DEFAULT_ACTION_NONE, contact, 2, + gaim_request_action(NULL, NULL, _("Remove Contact"), text, 0, contact, 2, _("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb), _("Cancel"), NULL); @@ -814,7 +813,7 @@ text = g_strdup_printf(_("You are about to remove the group %s and all its members from your buddy list. Do you want to continue?"), group->name); - gaim_request_action(NULL, NULL, _("Remove Group"), text, -1, group, 2, + gaim_request_action(NULL, NULL, _("Remove Group"), text, 0, group, 2, _("Remove Group"), G_CALLBACK(gaim_gtkdialogs_remove_group_cb), _("Cancel"), NULL); @@ -856,8 +855,7 @@ text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"), buddy->name); - gaim_request_action(NULL, NULL, _("Remove Buddy"), text, - GAIM_DEFAULT_ACTION_NONE, buddy, 2, + gaim_request_action(NULL, NULL, _("Remove Buddy"), text, 0, buddy, 2, _("Remove Buddy"), G_CALLBACK(gaim_gtkdialogs_remove_buddy_cb), _("Cancel"), NULL); @@ -892,7 +890,7 @@ g_return_if_fail(chat != NULL); - gaim_request_action(NULL, NULL, _("Remove Chat"), text, -1, chat, 2, + gaim_request_action(NULL, NULL, _("Remove Chat"), text, 0, chat, 2, _("Remove Chat"), G_CALLBACK(gaim_gtkdialogs_remove_chat_cb), _("Cancel"), NULL);