>> Edit article
이름
메일
제목
패스워드
이호석 님의 gaim 0.59 한글 패치를 적용해 보아도 Reset Friendly Name이 제대로 작동되지 않는 경우가 있습니다. 그래서 가임을 실행할 때 처음에 친구 목록이 잘 표시 되지 않는 현상이 나타나더군요. gaim의 전체적인 내용을 잘 아는 것이 아니라, 편법이기는 하지만, msn_do_action과 gaim_plugin_init에 패치시키는 새로운 패치화일을 제작하였습니다. 이곳에 올린 이후에 www.intosea.com에 등록할 예정입니다. 나중에 이호석님께서 통일시켜 나가셔도 무방하리라 보입니다. 패치의 내용은 다음과 같습니다. diff -Nur gaim-0.59.orig/src/protocols/msn/msn.c gaim-0.59/src/protocols/msn/msn.c --- gaim-0.59.orig/src/protocols/msn/msn.c Mon Jul 1 08:31:30 2002 +++ gaim-0.59/src/protocols/msn/msn.c Fri Jul 12 13:06:26 2002 @@ -2126,9 +2128,11 @@ static void msn_do_action(struct gaim_connection *gc, char *act) { - if (!strcmp(act, _("Set Friendly Name"))) { + if (!strcmp(act, _("Set Friendly Name")) || + !strcmp(act, "Set Friendly Name")) { do_prompt_dialog(_("Set Friendly Name:"), gc->displayname, gc, msn_act_id, NULL); - } else if (!strcmp(act, _("Reset All Friendly Names"))) { + } else if (!strcmp(act, _("Reset All Friendly Names")) || + !strcmp(act, "Reset All Friendly Names")) { GSList *g = gc->groups; while (g) { GSList *m = ((struct group *)g->data)->members; @@ -2552,6 +2562,14 @@ char *gaim_plugin_init(GModule *handle) { load_protocol(msn_init, sizeof(struct prpl)); + gaim_signal_connect(handle, event_buddy_signon, msn_reset_friend, NULL); + gaim_signal_connect(handle, event_buddy_away, msn_reset_friend, NULL); + gaim_signal_connect(handle, event_buddy_back, msn_reset_friend, NULL); + gaim_signal_connect(handle, event_buddy_idle, msn_reset_friend, NULL); + gaim_signal_connect(handle, event_buddy_unidle, msn_reset_friend, NULL); + gaim_signal_connect(handle, event_im_recv, msn_reset_friend, NULL); + gaim_signal_connect(handle, event_im_send, msn_reset_friend, NULL); + return NULL; } 좋은 하루되세요. -- 내 서명???
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved