Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 7878:cbfbed263d00
[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 <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Sun, 14 Dec 2003 23:55:39 +0000 |
| parents | 1d2e9482e195 |
| children | 30ed1fc892aa |
line wrap: on
line diff
--- 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; }
