Mercurial > pidgin.yaz
changeset 22143:70fc60344317
A few more of those "default_action" fixes
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 17 Jan 2008 08:10:37 +0000 |
parents | 1f3f2d2c9a2b |
children | c85ee90ed861 |
files | finch/gntcertmgr.c libpurple/certificate.c libpurple/protocols/jabber/auth.c pidgin/gtkcertmgr.c pidgin/gtkutils.c |
diffstat | 5 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntcertmgr.c Thu Jan 17 08:02:38 2008 +0000 +++ b/finch/gntcertmgr.c Thu Jan 17 08:10:37 2008 +0000 @@ -235,7 +235,7 @@ purple_request_close_with_handle((void *)key); purple_request_yes_no((void *)key, _("Confirm certificate delete"), primary, NULL, - 2, + 1, NULL, NULL, NULL, g_strdup(key), tls_peers_mgmt_delete_confirm_cb,
--- a/libpurple/certificate.c Thu Jan 17 08:02:38 2008 +0000 +++ b/libpurple/certificate.c Thu Jan 17 08:10:37 2008 +0000 @@ -568,7 +568,7 @@ _("Single-use Certificate Verification"), primary, secondary, - 1, /* Accept by default */ + 0, /* Accept by default */ NULL, /* No account */ NULL, /* No other user */ NULL, /* No associated conversation */
--- a/libpurple/protocols/jabber/auth.c Thu Jan 17 08:02:38 2008 +0000 +++ b/libpurple/protocols/jabber/auth.c Thu Jan 17 08:10:37 2008 +0000 @@ -325,7 +325,7 @@ purple_request_yes_no(js->gc, _("Plaintext Authentication"), _("Plaintext Authentication"), msg, - 2, js->gc->account, NULL, NULL, js->gc->account, + 1, js->gc->account, NULL, NULL, js->gc->account, allow_cyrus_plaintext_auth, disallow_plaintext_auth); g_free(msg); @@ -527,7 +527,7 @@ purple_request_yes_no(js->gc, _("Plaintext Authentication"), _("Plaintext Authentication"), msg, - 2, + 1, purple_connection_get_account(js->gc), NULL, NULL, purple_connection_get_account(js->gc), allow_plaintext_auth, disallow_plaintext_auth); @@ -719,7 +719,7 @@ purple_request_yes_no(js->gc, _("Plaintext Authentication"), _("Plaintext Authentication"), _("This server requires plaintext authentication over an unencrypted connection. Allow this and continue authentication?"), - 2, + 1, purple_connection_get_account(js->gc), NULL, NULL, purple_connection_get_account(js->gc), allow_plaintext_auth, disallow_plaintext_auth);
--- a/pidgin/gtkcertmgr.c Thu Jan 17 08:02:38 2008 +0000 +++ b/pidgin/gtkcertmgr.c Thu Jan 17 08:10:37 2008 +0000 @@ -373,7 +373,7 @@ purple_request_yes_no(tpm_dat, _("Confirm certificate delete"), primary, NULL, /* Can this be NULL? */ - 2, /* NO is default action */ + 1, /* NO is default action */ NULL, NULL, NULL, id, /* id ownership passed to callback */ tls_peers_mgmt_delete_confirm_cb,
--- a/pidgin/gtkutils.c Thu Jan 17 08:02:38 2008 +0000 +++ b/pidgin/gtkutils.c Thu Jan 17 08:10:37 2008 +0000 @@ -1595,7 +1595,7 @@ else if (!(im || ft)) purple_request_yes_no(NULL, NULL, _("You have dragged an image"), _("Would you like to set it as the buddy icon for this user?"), - 0, + PURPLE_DEFAULT_ACTION_NONE, account, who, NULL, data, (GCallback)dnd_set_icon_ok_cb, (GCallback)dnd_set_icon_cancel_cb); else