comparison src/protocols/toc/toc.c @ 2232:14e8978f86bb

[gaim-migrate @ 2242] heh. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 07 Sep 2001 08:58:24 +0000
parents 8c4ff1a368bd
children 0b5c3338fa3d
comparison
equal deleted inserted replaced
2231:8c4ff1a368bd 2232:14e8978f86bb
1127 if (gc->permdeny != 4) 1127 if (gc->permdeny != 4)
1128 return; 1128 return;
1129 toc_set_permit_deny(gc); 1129 toc_set_permit_deny(gc);
1130 } 1130 }
1131 1131
1132 static void toc_draw_new_user(GtkWidget *box)
1133 {
1134 GtkWidget *label;
1135
1136 label = gtk_label_new(_("Unfortunately, currently TOC only allows new user registration by "
1137 "going to http://aim.aol.com/aimnew/Aim/register.adp?promo=106723&pageset=Aim&client=no"
1138 ". Clicking the Register button will open the URL for you."));
1139 gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
1140 gtk_box_pack_start(GTK_BOX(box), label, FALSE, FALSE, 5);
1141 gtk_widget_show(label);
1142 }
1143
1144 static void toc_do_new_user()
1145 {
1146 open_url(NULL, "http://aim.aol.com/aimnew/Aim/register.adp?promo=106723&pageset=Aim&client=no");
1147 }
1148
1149 static GList *toc_away_states() 1132 static GList *toc_away_states()
1150 { 1133 {
1151 return g_list_append(NULL, GAIM_AWAY_CUSTOM); 1134 return g_list_append(NULL, GAIM_AWAY_CUSTOM);
1152 } 1135 }
1153 1136
1184 ret->away_states = toc_away_states; 1167 ret->away_states = toc_away_states;
1185 ret->actions = toc_actions; 1168 ret->actions = toc_actions;
1186 ret->do_action = toc_do_action; 1169 ret->do_action = toc_do_action;
1187 ret->buddy_menu = toc_buddy_menu; 1170 ret->buddy_menu = toc_buddy_menu;
1188 ret->user_opts = toc_user_opts; 1171 ret->user_opts = toc_user_opts;
1189 ret->draw_new_user = toc_draw_new_user;
1190 ret->do_new_user = toc_do_new_user;
1191 ret->login = toc_login; 1172 ret->login = toc_login;
1192 ret->close = toc_close; 1173 ret->close = toc_close;
1193 ret->send_im = toc_send_im; 1174 ret->send_im = toc_send_im;
1194 ret->set_info = toc_set_info; 1175 ret->set_info = toc_set_info;
1195 ret->get_info = toc_get_info; 1176 ret->get_info = toc_get_info;