comparison console/gntblist.c @ 13952:841a5ffbfee4

[gaim-migrate @ 16500] uiops for GaimConnections. This only shows an error message for a disconnect. uiops for GaimNotify. I have not done the notifications for searchresults yet. That will require multi-column GntTree's, which will also allow for improved email-notifications. I hope to complete it by next week. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 17 Jul 2006 03:45:24 +0000
parents 25be562aaca8
children 6741419af7f7
comparison
equal deleted inserted replaced
13951:614c56622453 13952:841a5ffbfee4
286 if (GAIM_BLIST_NODE_IS_BUDDY(node)) 286 if (GAIM_BLIST_NODE_IS_BUDDY(node))
287 { 287 {
288 GaimBuddy *buddy = (GaimBuddy *)node; 288 GaimBuddy *buddy = (GaimBuddy *)node;
289 account = gaim_buddy_get_account(buddy); 289 account = gaim_buddy_get_account(buddy);
290 290
291 g_string_append_printf(str, _("Account: %s"), gaim_account_get_username(account)); 291 g_string_append_printf(str, _("Account: %s (%s)"),
292 gaim_account_get_username(account),
293 gaim_account_get_protocol_name(account));
292 294
293 prpl = gaim_find_prpl(gaim_account_get_protocol_id(account)); 295 prpl = gaim_find_prpl(gaim_account_get_protocol_id(account));
294 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl); 296 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl);
295 if (prpl_info && prpl_info->tooltip_text) 297 if (prpl_info && prpl_info->tooltip_text)
296 { 298 {
321 else if (GAIM_BLIST_NODE_IS_CHAT(node)) 323 else if (GAIM_BLIST_NODE_IS_CHAT(node))
322 { 324 {
323 GaimChat *chat = (GaimChat *)node; 325 GaimChat *chat = (GaimChat *)node;
324 GaimAccount *account = chat->account; 326 GaimAccount *account = chat->account;
325 327
326 g_string_append_printf(str, _("Account: %s"), gaim_account_get_username(account)); 328 g_string_append_printf(str, _("Account: %s (%s)"),
329 gaim_account_get_username(account),
330 gaim_account_get_protocol_name(account));
327 331
328 title = g_strdup(gaim_chat_get_name(chat)); 332 title = g_strdup(gaim_chat_get_name(chat));
329 } 333 }
330 else 334 else
331 { 335 {