diff finch/gntconv.c @ 16978: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 1a336cfc410e
children d6e855aedc30
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));
 }