Mercurial > pidgin
diff pidgin/gtkconv.c @ 17750:319bcb73eb4e
Use utility functions to get user info. Closes #964.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 24 May 2007 21:15:16 +0000 |
parents | cb5bd3c045a9 |
children | b7fa0e44d723 |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Thu May 24 20:35:07 2007 +0000 +++ b/pidgin/gtkconv.c Thu May 24 21:15:16 2007 +0000 @@ -673,14 +673,8 @@ PurpleConversation *conv = gtkconv->active_conv; if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM) { - PurpleNotifyUserInfo *info = purple_notify_user_info_new(); - purple_notify_user_info_add_pair(info, _("Information"), _("Retrieving...")); - purple_notify_userinfo(conv->account->gc, purple_conversation_get_name(conv), info, NULL, NULL); - purple_notify_user_info_destroy(info); - - serv_get_info(purple_conversation_get_gc(conv), + pidgin_retrieve_user_info(purple_conversation_get_gc(conv), purple_conversation_get_name(conv)); - gtk_widget_grab_focus(gtkconv->entry); } else if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_CHAT) { /* Get info of the person currently selected in the GtkTreeView */