comparison src/protocols/trepia/trepia.c @ 10662:54ac161a876e

[gaim-migrate @ 12199] Plugins can now add submenus to the right-click menu of a blist node by passing a GList of actions to gaim_blist_node_action_new. I'm thinking about making GaimBlistNodeActions more like plugin prefs so that plugins can create radio and check menu items as well. We'll see if I can do that and not make it ugly/suck. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Mon, 07 Mar 2005 02:19:09 +0000
parents 0f7452b1f777
children 94cc67130789
comparison
equal deleted inserted replaced
10661:f02873d475dc 10662:54ac161a876e
472 GaimBuddy *buddy = (GaimBuddy *) node; 472 GaimBuddy *buddy = (GaimBuddy *) node;
473 TrepiaProfile *profile = buddy->proto_data; 473 TrepiaProfile *profile = buddy->proto_data;
474 474
475 if (trepia_profile_get_homepage(profile) != NULL) { 475 if (trepia_profile_get_homepage(profile) != NULL) {
476 act = gaim_blist_node_action_new(_("Visit Homepage"), 476 act = gaim_blist_node_action_new(_("Visit Homepage"),
477 trepia_visit_homepage, NULL); 477 trepia_visit_homepage,
478 NULL, NULL);
478 m = g_list_append(m, act); 479 m = g_list_append(m, act);
479 } 480 }
480 } 481 }
481 482
482 return m; 483 return m;