Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/yahoo.c @ 29645:602f3b6ddbbf
Removed _ALLOW_ATTENTION from connection flags
Look at the existence of prpl->send_attention to gray out attention button
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Wed, 29 Oct 2008 20:17:21 +0000 |
parents | 0efd688ed086 |
children | d855ff9cf839 |
comparison
equal
deleted
inserted
replaced
29644:0efd688ed086 | 29645:602f3b6ddbbf |
---|---|
2992 | 2992 |
2993 static void yahoo_login(PurpleAccount *account) { | 2993 static void yahoo_login(PurpleAccount *account) { |
2994 PurpleConnection *gc = purple_account_get_connection(account); | 2994 PurpleConnection *gc = purple_account_get_connection(account); |
2995 struct yahoo_data *yd = gc->proto_data = g_new0(struct yahoo_data, 1); | 2995 struct yahoo_data *yd = gc->proto_data = g_new0(struct yahoo_data, 1); |
2996 PurpleStatus *status = purple_account_get_active_status(account); | 2996 PurpleStatus *status = purple_account_get_active_status(account); |
2997 gc->flags |= PURPLE_CONNECTION_HTML | PURPLE_CONNECTION_NO_BGCOLOR | PURPLE_CONNECTION_NO_URLDESC | | 2997 gc->flags |= PURPLE_CONNECTION_HTML | PURPLE_CONNECTION_NO_BGCOLOR | PURPLE_CONNECTION_NO_URLDESC; |
2998 PURPLE_CONNECTION_ALLOW_ATTENTION; | |
2999 | 2998 |
3000 purple_connection_update_progress(gc, _("Connecting"), 1, 2); | 2999 purple_connection_update_progress(gc, _("Connecting"), 1, 2); |
3001 | 3000 |
3002 purple_connection_set_display_name(gc, purple_account_get_username(account)); | 3001 purple_connection_set_display_name(gc, purple_account_get_username(account)); |
3003 | 3002 |