# HG changeset patch # User SHiNE CsyFeK # Date 1224687309 0 # Node ID 0a92aa673a33bcc181fc9e75a4faf9d90b8c455e # Parent ce94189f15ad9fa3e892667909f57367e9175ea7 2008.10.05 - lonicerae * Added 'About OpenQ' dialog 2008.10.05 - lonicerae * Bug fix in 'About OpenQ' dialog diff -r ce94189f15ad -r 0a92aa673a33 libpurple/protocols/qq/ChangeLog --- a/libpurple/protocols/qq/ChangeLog Wed Oct 22 14:52:26 2008 +0000 +++ b/libpurple/protocols/qq/ChangeLog Wed Oct 22 14:55:09 2008 +0000 @@ -1,3 +1,9 @@ +2008.10.05 - lonicerae + * Bug fix in 'About OpenQ' dialog + +2008.10.05 - lonicerae + * Added 'About OpenQ' dialog + 2008.10.05 - ccpaging * Add my uid into buddy list * Fixed a minor bug in qq_create_buddy. Not get new buddy's info. diff -r ce94189f15ad -r 0a92aa673a33 libpurple/protocols/qq/qq.c --- a/libpurple/protocols/qq/qq.c Wed Oct 22 14:52:26 2008 +0000 +++ b/libpurple/protocols/qq/qq.c Wed Oct 22 14:55:09 2008 +0000 @@ -57,7 +57,8 @@ #include "version.h" #define OPENQ_AUTHOR "Puzzlebird" -#define OPENQ_WEBSITE "http://openq.sourceforge.net" +#define OPENQ_WEBSITE "http://openq.sourceforge.net" +#define OPENQ_VERSION DISPLAY_VERSION static GList *server_list_build(gchar select) { @@ -618,6 +619,65 @@ g_string_free(info, TRUE); } +static void action_about_openq(PurplePluginAction *action) +{ + PurpleConnection *gc = (PurpleConnection *) action->context; + qq_data *qd; + GString *info; + gchar *title; + + g_return_if_fail(NULL != gc && NULL != gc->proto_data); + qd = (qq_data *) gc->proto_data; + + info = g_string_new(""); + g_string_append(info, _("

Original Author:
\n")); + g_string_append(info, "puzzlebird
\n"); + g_string_append(info, "
\n"); + g_string_append(info, _("

Code Contributors:
\n")); + g_string_append(info, "gfhuang : patches for libpurple 2.0.0beta2, maintainer
\n"); + g_string_append(info, "Yuan Qingyun : patches for libpurple 1.5.0, maintainer
\n"); + g_string_append(info, "henryouly : file transfer, udp sock5 proxy and qq_show, maintainer
\n"); + g_string_append(info, "hzhr : maintainer
\n"); + g_string_append(info, "joymarquis : maintainer
\n"); + g_string_append(info, "arfankai : fixed bugs in char_conv.c
\n"); + g_string_append(info, "rakescar : provided filter for HTML tag
\n"); + g_string_append(info, "yyw : improved performance on PPC linux
\n"); + g_string_append(info, "lvxiang : provided ip to location original code
\n"); + g_string_append(info, "markhuetsch : OpenQ merge into libpurple, maintainer 2006-2007
\n"); + g_string_append(info, "ccpaging : maintainer since 2007
\n"); + g_string_append(info, "icesky : maintainer since 2007
\n"); + g_string_append(info, "csyfek : faces, maintainer since 2007
\n"); + g_string_append(info, "
\n"); + g_string_append(info, _("

Lovely Patch Writers:
\n")); + g_string_append(info, "gnap : message displaying, documentation
\n"); + g_string_append(info, "manphiz : qun processing
\n"); + g_string_append(info, "moo : qun processing
\n"); + g_string_append(info, "Coly Li : qun processing
\n"); + g_string_append(info, "Emil Alexiev : captcha verification on login based on LumaQQ for MAC (2007), login, add buddy, remove buddy, message exchange and logout
\n"); + g_string_append(info, "
\n"); + g_string_append(info, _("

Acknowledgement:
\n")); + g_string_append(info, "Shufeng Tan : http://sf.net/projects/perl-oicq
\n"); + g_string_append(info, "Jeff Ye : http://www.sinomac.com
\n"); + g_string_append(info, "Hu Zheng : http://forlinux.yeah.net
\n"); + g_string_append(info, "yunfan : http://www.myswear.net
\n"); + g_string_append(info, "OpenQ Team : http://openq.linuxsir.org
\n"); + g_string_append(info, "LumaQQ Team : http://lumaqq.linuxsir.org
\n"); + g_string_append(info, "khc(at)pidgin.im
\n"); + g_string_append(info, "qulogic(at)pidgin.im
\n"); + g_string_append(info, "rlaager(at)pidgin.im
\n"); + g_string_append(info, "OpenQ Google Group : http://groups.google.com/group/openq
\n"); + g_string_append(info, "
\n"); + g_string_append(info, _("

And, all the boys in the backroom...
\n")); + g_string_append(info, _("Feel free to join us! :)")); + g_string_append(info, ""); + + title = g_strdup_printf(_("About OpenQ %s"), OPENQ_VERSION); + purple_notify_formatted(gc, NULL, title, NULL, info->str, NULL, NULL); + + g_free(title); + g_string_free(info, TRUE); +} + /* static void _qq_menu_search_or_add_permanent_group(PurplePluginAction *action) { @@ -722,6 +782,8 @@ act = purple_plugin_action_new(_("Update all QQ Quns"), action_update_all_rooms); m = g_list_append(m, act); + act = purple_plugin_action_new(_("About OpenQ"), action_about_openq); + m = g_list_append(m, act); /* act = purple_plugin_action_new(_("Qun: Search a permanent Qun"), _qq_menu_search_or_add_permanent_group); m = g_list_append(m, act);