# HG changeset patch # User Sadrul Habib Chowdhury # Date 1171158004 0 # Node ID b74a3bec8dcbe983a3733bc8a6cef73a8b992793 # Parent 3f10bd32ef1c6f3f9c8f6195cb12f510843cb4e7 Let's use the core function instead of using the uiops function directly when possible. This makes my 'Hide Conversations' plugin work. diff -r 3f10bd32ef1c -r b74a3bec8dcb pidgin/gtkblist.c --- a/pidgin/gtkblist.c Sat Feb 10 01:14:57 2007 +0000 +++ b/pidgin/gtkblist.c Sun Feb 11 01:40:04 2007 +0000 @@ -302,7 +302,7 @@ chat->account); if (conv != NULL) - pidgin_conv_present_conversation(conv); + gaim_conversation_present(conv); serv_join_chat(chat->account->gc, chat->components); } @@ -3549,7 +3549,7 @@ convs = pidgin_conversations_find_unseen_list(GAIM_CONV_TYPE_IM, PIDGIN_UNSEEN_TEXT, TRUE, 1); if (convs) { - pidgin_conv_present_conversation((GaimConversation*)convs->data); + gaim_conversation_present((GaimConversation*)convs->data); g_list_free(convs); } break; diff -r 3f10bd32ef1c -r b74a3bec8dcb pidgin/gtkdialogs.c --- a/pidgin/gtkdialogs.c Sat Feb 10 01:14:57 2007 +0000 +++ b/pidgin/gtkdialogs.c Sun Feb 11 01:40:04 2007 +0000 @@ -724,7 +724,7 @@ if (conv == NULL) conv = gaim_conversation_new(GAIM_CONV_TYPE_IM, account, username); - pidgin_conv_present_conversation(conv); + gaim_conversation_present(conv); } static gboolean diff -r 3f10bd32ef1c -r b74a3bec8dcb pidgin/gtkdocklet.c --- a/pidgin/gtkdocklet.c Sat Feb 10 01:14:57 2007 +0000 +++ b/pidgin/gtkdocklet.c Sun Feb 11 01:40:04 2007 +0000 @@ -587,7 +587,7 @@ if (status == DOCKLET_STATUS_ONLINE_PENDING || status == DOCKLET_STATUS_AWAY_PENDING) { GList *l = get_pending_list(1); if (l != NULL) { - pidgin_conv_present_conversation((GaimConversation *)l->data); + gaim_conversation_present((GaimConversation *)l->data); g_list_free(l); } } else {