changeset 16989:d637851abeb8

Make get-info behave the same way from both the conversation window menu and the buddylist context menu.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 09 May 2007 21:15:05 +0000
parents 563a42d98e3a
children f8d0c9bbb9ae 9c4c7f28b005
files finch/gntconv.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntconv.c	Wed May 09 21:03:40 2007 +0000
+++ b/finch/gntconv.c	Wed May 09 21:15:05 2007 +0000
@@ -303,6 +303,11 @@
 get_info_cb(GntMenuItem *item, gpointer ggconv)
 {
 	FinchConv *ggc = ggconv;
+	PurpleNotifyUserInfo *info = purple_notify_user_info_new();
+	purple_notify_user_info_add_pair(info, _("Information"), _("Retrieving..."));
+	purple_notify_userinfo(ggc->active_conv->account->gc, purple_conversation_get_name(ggc->active_conv), info, NULL, NULL);
+	purple_notify_user_info_destroy(info);
+
 	serv_get_info(purple_conversation_get_gc(ggc->active_conv),
 			purple_conversation_get_name(ggc->active_conv));
 }