diff libpurple/protocols/qq/qq.c @ 25146:7f903e67a995

2009.02.09 - Chengming Wang <tiger2007532246(at)gmail.com> * Added buddy 'get memo', 'remove memo', 'upload memo' functions
author SHiNE CsyFeK <csyfek@gmail.com>
date Mon, 09 Feb 2009 15:49:14 +0000
parents cddd7961901f
children 59ed7712be5e
line wrap: on
line diff
--- a/libpurple/protocols/qq/qq.c	Sun Feb 08 10:34:31 2009 +0000
+++ b/libpurple/protocols/qq/qq.c	Mon Feb 09 15:49:14 2009 +0000
@@ -36,6 +36,7 @@
 #include "util.h"
 
 #include "buddy_info.h"
+#include "buddy_memo.h"
 #include "buddy_opt.h"
 #include "buddy_list.h"
 #include "char_conv.h"
@@ -826,6 +827,11 @@
 
 	}
 
+
+	act = purple_menu_action_new(_("Buddy memo"), PURPLE_CALLBACK(qq_on_show_memo), NULL, NULL); /* add NULL by gfhuang */
+	m = g_list_append(m, act);
+
+	
 /* TODO : not working, temp commented out by gfhuang */
 #if 0
 	if (bd && is_online(bd->status)) {