comparison finch/gntconv.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 46f2f86e08e4
children 289ac53f753f
comparison
equal deleted inserted replaced
17749:5241d388f463 17750:319bcb73eb4e
311 311
312 static void 312 static void
313 get_info_cb(GntMenuItem *item, gpointer ggconv) 313 get_info_cb(GntMenuItem *item, gpointer ggconv)
314 { 314 {
315 FinchConv *ggc = ggconv; 315 FinchConv *ggc = ggconv;
316 PurpleNotifyUserInfo *info = purple_notify_user_info_new(); 316 finch_retrieve_user_info(purple_conversation_get_gc(ggc->active_conv),
317 purple_notify_user_info_add_pair(info, _("Information"), _("Retrieving..."));
318 purple_notify_userinfo(ggc->active_conv->account->gc, purple_conversation_get_name(ggc->active_conv), info, NULL, NULL);
319 purple_notify_user_info_destroy(info);
320
321 serv_get_info(purple_conversation_get_gc(ggc->active_conv),
322 purple_conversation_get_name(ggc->active_conv)); 317 purple_conversation_get_name(ggc->active_conv));
323 } 318 }
324 319
325 static void 320 static void
326 toggle_timestamps_cb(GntMenuItem *item, gpointer ggconv) 321 toggle_timestamps_cb(GntMenuItem *item, gpointer ggconv)