Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
7877:828856b7fe30 | 7878:cbfbed263d00 |
---|---|
2379 gaim_connection_get_display_name(gc), FALSE, FALSE, | 2379 gaim_connection_get_display_name(gc), FALSE, FALSE, |
2380 _("OK"), G_CALLBACK(yahoo_act_id), | 2380 _("OK"), G_CALLBACK(yahoo_act_id), |
2381 _("Cancel"), NULL, gc); | 2381 _("Cancel"), NULL, gc); |
2382 } | 2382 } |
2383 | 2383 |
2384 static void yahoo_show_chat_goto(GaimConnection *gc) | |
2385 { | |
2386 gaim_request_input(gc, NULL, _("Join who in chat?"), NULL, | |
2387 "", FALSE, FALSE, | |
2388 _("OK"), G_CALLBACK(yahoo_chat_goto), | |
2389 _("Cancel"), NULL, gc); | |
2390 } | |
2391 | |
2384 static GList *yahoo_actions(GaimConnection *gc) { | 2392 static GList *yahoo_actions(GaimConnection *gc) { |
2385 GList *m = NULL; | 2393 GList *m = NULL; |
2386 struct proto_actions_menu *pam; | 2394 struct proto_actions_menu *pam; |
2387 | 2395 |
2388 pam = g_new0(struct proto_actions_menu, 1); | 2396 pam = g_new0(struct proto_actions_menu, 1); |
2389 pam->label = _("Activate ID"); | 2397 pam->label = _("Activate ID..."); |
2390 pam->callback = yahoo_show_act_id; | 2398 pam->callback = yahoo_show_act_id; |
2399 pam->gc = gc; | |
2400 m = g_list_append(m, pam); | |
2401 | |
2402 pam = g_new0(struct proto_actions_menu, 1); | |
2403 pam->label = _("Join user in chat..."); | |
2404 pam->callback = yahoo_show_chat_goto; | |
2391 pam->gc = gc; | 2405 pam->gc = gc; |
2392 m = g_list_append(m, pam); | 2406 m = g_list_append(m, pam); |
2393 | 2407 |
2394 return m; | 2408 return m; |
2395 } | 2409 } |