Mercurial > pidgin
comparison libpurple/protocols/myspace/myspace.c @ 29250:0efd688ed086
Added connection flag ALLOW_ATTENTION
Gray out attention button when the connection doesn't support sending attentions
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Tue, 28 Oct 2008 23:08:13 +0000 |
parents | 19ab21882b38 |
children | 602f3b6ddbbf |
comparison
equal
deleted
inserted
replaced
29249:bb9f7ba4f299 | 29250:0efd688ed086 |
---|---|
287 | 287 |
288 purple_debug_info("msim", "logging in %s\n", acct->username); | 288 purple_debug_info("msim", "logging in %s\n", acct->username); |
289 | 289 |
290 gc = purple_account_get_connection(acct); | 290 gc = purple_account_get_connection(acct); |
291 gc->proto_data = msim_session_new(acct); | 291 gc->proto_data = msim_session_new(acct); |
292 gc->flags |= PURPLE_CONNECTION_HTML | PURPLE_CONNECTION_NO_URLDESC; | 292 gc->flags |= PURPLE_CONNECTION_HTML | PURPLE_CONNECTION_NO_URLDESC | |
293 PURPLE_CONNECTION_ALLOW_ATTENTION; | |
293 | 294 |
294 /* 1. connect to server */ | 295 /* 1. connect to server */ |
295 purple_connection_update_progress(gc, _("Connecting"), | 296 purple_connection_update_progress(gc, _("Connecting"), |
296 0, /* which connection step this is */ | 297 0, /* which connection step this is */ |
297 4); /* total number of steps */ | 298 4); /* total number of steps */ |