Mercurial > pidgin.yaz
comparison pidgin/gtkblist.c @ 15502:6fde15c1dcfc
pidginconv to pidgin_conv
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 03 Feb 2007 07:55:15 +0000 |
parents | d75099d2567e |
children | 762b6547adf9 |
comparison
equal
deleted
inserted
replaced
15501:d75099d2567e | 15502:6fde15c1dcfc |
---|---|
299 conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_CHAT, | 299 conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_CHAT, |
300 gaim_chat_get_name(chat), | 300 gaim_chat_get_name(chat), |
301 chat->account); | 301 chat->account); |
302 | 302 |
303 if (conv != NULL) | 303 if (conv != NULL) |
304 pidginconv_present_conversation(conv); | 304 pidgin_conv_present_conversation(conv); |
305 | 305 |
306 serv_join_chat(chat->account->gc, chat->components); | 306 serv_join_chat(chat->account->gc, chat->components); |
307 } | 307 } |
308 | 308 |
309 static void gtk_blist_menu_join_cb(GtkWidget *w, GaimChat *chat) | 309 static void gtk_blist_menu_join_cb(GtkWidget *w, GaimChat *chat) |
3073 gaim_buddy_get_name(buddy), | 3073 gaim_buddy_get_name(buddy), |
3074 gaim_buddy_get_account(buddy)); | 3074 gaim_buddy_get_account(buddy)); |
3075 GaimPresence *p; | 3075 GaimPresence *p; |
3076 if(conv != NULL) { | 3076 if(conv != NULL) { |
3077 PidginConversation *gtkconv = PIDGIN_CONVERSATION(conv); | 3077 PidginConversation *gtkconv = PIDGIN_CONVERSATION(conv); |
3078 if(gtkconv != NULL && pidginconv_is_hidden(gtkconv) && size == GAIM_STATUS_ICON_SMALL) { | 3078 if(gtkconv != NULL && pidgin_conv_is_hidden(gtkconv) && size == GAIM_STATUS_ICON_SMALL) { |
3079 return gtk_widget_render_icon (GTK_WIDGET(gtkblist->treeview), PIDGIN_STOCK_STATUS_MESSAGE, | 3079 return gtk_widget_render_icon (GTK_WIDGET(gtkblist->treeview), PIDGIN_STOCK_STATUS_MESSAGE, |
3080 icon_size, "GtkTreeView"); | 3080 icon_size, "GtkTreeView"); |
3081 } | 3081 } |
3082 } | 3082 } |
3083 p = gaim_buddy_get_presence(buddy); | 3083 p = gaim_buddy_get_presence(buddy); |
3146 PidginConversation *gtkconv; | 3146 PidginConversation *gtkconv; |
3147 gboolean hidden_conv = FALSE; | 3147 gboolean hidden_conv = FALSE; |
3148 | 3148 |
3149 if(conv != NULL) { | 3149 if(conv != NULL) { |
3150 gtkconv = PIDGIN_CONVERSATION(conv); | 3150 gtkconv = PIDGIN_CONVERSATION(conv); |
3151 if(gtkconv != NULL && pidginconv_is_hidden(gtkconv)) { | 3151 if(gtkconv != NULL && pidgin_conv_is_hidden(gtkconv)) { |
3152 hidden_conv = TRUE; | 3152 hidden_conv = TRUE; |
3153 } | 3153 } |
3154 } | 3154 } |
3155 | 3155 |
3156 /* XXX Good luck cleaning up this crap */ | 3156 /* XXX Good luck cleaning up this crap */ |
3498 switch (event->button) { | 3498 switch (event->button) { |
3499 case 1: | 3499 case 1: |
3500 convs = pidgin_conversations_find_unseen_list(GAIM_CONV_TYPE_IM, | 3500 convs = pidgin_conversations_find_unseen_list(GAIM_CONV_TYPE_IM, |
3501 GAIM_UNSEEN_TEXT, TRUE, 1); | 3501 GAIM_UNSEEN_TEXT, TRUE, 1); |
3502 if (convs) { | 3502 if (convs) { |
3503 pidginconv_present_conversation((GaimConversation*)convs->data); | 3503 pidgin_conv_present_conversation((GaimConversation*)convs->data); |
3504 g_list_free(convs); | 3504 g_list_free(convs); |
3505 } | 3505 } |
3506 break; | 3506 break; |
3507 case 3: | 3507 case 3: |
3508 unseen_conv_menu(); | 3508 unseen_conv_menu(); |