comparison pidgin/gtkblist.c @ 15615:b74a3bec8dcb

Let's use the core function instead of using the uiops function directly when possible. This makes my 'Hide Conversations' plugin work.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 11 Feb 2007 01:40:04 +0000
parents 1dfa6945e13f
children a830f9756f23
comparison
equal deleted inserted replaced
15608:3f10bd32ef1c 15615:b74a3bec8dcb
300 conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_CHAT, 300 conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_CHAT,
301 gaim_chat_get_name(chat), 301 gaim_chat_get_name(chat),
302 chat->account); 302 chat->account);
303 303
304 if (conv != NULL) 304 if (conv != NULL)
305 pidgin_conv_present_conversation(conv); 305 gaim_conversation_present(conv);
306 306
307 serv_join_chat(chat->account->gc, chat->components); 307 serv_join_chat(chat->account->gc, chat->components);
308 } 308 }
309 309
310 static void gtk_blist_menu_join_cb(GtkWidget *w, GaimChat *chat) 310 static void gtk_blist_menu_join_cb(GtkWidget *w, GaimChat *chat)
3547 switch (event->button) { 3547 switch (event->button) {
3548 case 1: 3548 case 1:
3549 convs = pidgin_conversations_find_unseen_list(GAIM_CONV_TYPE_IM, 3549 convs = pidgin_conversations_find_unseen_list(GAIM_CONV_TYPE_IM,
3550 PIDGIN_UNSEEN_TEXT, TRUE, 1); 3550 PIDGIN_UNSEEN_TEXT, TRUE, 1);
3551 if (convs) { 3551 if (convs) {
3552 pidgin_conv_present_conversation((GaimConversation*)convs->data); 3552 gaim_conversation_present((GaimConversation*)convs->data);
3553 g_list_free(convs); 3553 g_list_free(convs);
3554 } 3554 }
3555 break; 3555 break;
3556 case 3: 3556 case 3:
3557 unseen_conv_menu(); 3557 unseen_conv_menu();