pidgin/gtkconv.c

changeset 17360
4b04b2ee459a
parent 17298
b69ba13b3b94
child 17361
64870010767b
equal deleted inserted replaced
17359:6dd3b7730470 17360:4b04b2ee459a
671 info_cb(GtkWidget *widget, PidginConversation *gtkconv) 671 info_cb(GtkWidget *widget, PidginConversation *gtkconv)
672 { 672 {
673 PurpleConversation *conv = gtkconv->active_conv; 673 PurpleConversation *conv = gtkconv->active_conv;
674 674
675 if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM) { 675 if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM) {
676 PurpleNotifyUserInfo *info = purple_notify_user_info_new(); 676 pidgin_retrieve_user_info(purple_conversation_get_gc(conv),
677 purple_notify_user_info_add_pair(info, _("Information"), _("Retrieving..."));
678 purple_notify_userinfo(conv->account->gc, purple_conversation_get_name(conv), info, NULL, NULL);
679 purple_notify_user_info_destroy(info);
680
681 serv_get_info(purple_conversation_get_gc(conv),
682 purple_conversation_get_name(conv)); 677 purple_conversation_get_name(conv));
683
684 gtk_widget_grab_focus(gtkconv->entry); 678 gtk_widget_grab_focus(gtkconv->entry);
685 } else if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_CHAT) { 679 } else if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_CHAT) {
686 /* Get info of the person currently selected in the GtkTreeView */ 680 /* Get info of the person currently selected in the GtkTreeView */
687 PidginChatPane *gtkchat; 681 PidginChatPane *gtkchat;
688 GtkTreeIter iter; 682 GtkTreeIter iter;

mercurial