changeset 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 828856b7fe30
children f9df510460d7
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 15 insertions(+), 1 deletions(-) [+]
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;
 }