# HG changeset patch # User Luke Schierer # Date 1071446139 0 # Node ID cbfbed263d00993119a1f2690b3100b933ada0b8 # Parent 828856b7fe30f2392df0b0ee938a076ba011e7e7 [gaim-migrate @ 8532] " Adds a "Join user in chat..." item to the protocol options menu. Also it adds an elipse "..." to the Activate ID menu item, since elipses seem to be in style." --Tim Ringenbach (marv_sf) committer: Tailor Script diff -r 828856b7fe30 -r cbfbed263d00 src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Sun Dec 14 23:20:41 2003 +0000 +++ b/src/protocols/yahoo/yahoo.c Sun Dec 14 23:55:39 2003 +0000 @@ -2381,16 +2381,30 @@ _("Cancel"), NULL, gc); } +static void yahoo_show_chat_goto(GaimConnection *gc) +{ + gaim_request_input(gc, NULL, _("Join who in chat?"), NULL, + "", FALSE, FALSE, + _("OK"), G_CALLBACK(yahoo_chat_goto), + _("Cancel"), NULL, gc); +} + static GList *yahoo_actions(GaimConnection *gc) { GList *m = NULL; struct proto_actions_menu *pam; pam = g_new0(struct proto_actions_menu, 1); - pam->label = _("Activate ID"); + pam->label = _("Activate ID..."); pam->callback = yahoo_show_act_id; pam->gc = gc; m = g_list_append(m, pam); + pam = g_new0(struct proto_actions_menu, 1); + pam->label = _("Join user in chat..."); + pam->callback = yahoo_show_chat_goto; + pam->gc = gc; + m = g_list_append(m, pam); + return m; }