Mercurial > pidgin
comparison src/multi.c @ 1074:2cff18c2f9c6
[gaim-migrate @ 1084]
this was stupidity waiting to happen.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Tue, 07 Nov 2000 09:27:32 +0000 |
| parents | e1408fb04c36 |
| children | 2fe18b2d6105 |
comparison
equal
deleted
inserted
replaced
| 1073:6b013aff4de3 | 1074:2cff18c2f9c6 |
|---|---|
| 154 gtk_widget_show(list); | 154 gtk_widget_show(list); |
| 155 | 155 |
| 156 while (u) { | 156 while (u) { |
| 157 a = (struct aim_user *)u->data; | 157 a = (struct aim_user *)u->data; |
| 158 titles[0] = a->username; | 158 titles[0] = a->username; |
| 159 titles[1] = find_gaim_conn_by_name(a->username) ? "Yes" : "No"; | 159 titles[1] = a->gc ? "Yes" : "No"; |
| 160 titles[2] = (a->options & OPT_USR_AUTO) ? "True" : "False"; | 160 titles[2] = (a->options & OPT_USR_AUTO) ? "True" : "False"; |
| 161 titles[3] = proto_name(a->protocol); | 161 titles[3] = proto_name(a->protocol); |
| 162 i = gtk_clist_append(GTK_CLIST(list), titles); | 162 i = gtk_clist_append(GTK_CLIST(list), titles); |
| 163 gtk_clist_set_row_data(GTK_CLIST(list), i, a); | 163 gtk_clist_set_row_data(GTK_CLIST(list), i, a); |
| 164 u = u->next; | 164 u = u->next; |
| 238 g_snprintf(u->password, sizeof(u->password), "%s", txt); | 238 g_snprintf(u->password, sizeof(u->password), "%s", txt); |
| 239 u->options = tmpusr.options; | 239 u->options = tmpusr.options; |
| 240 u->protocol = tmpusr.protocol; | 240 u->protocol = tmpusr.protocol; |
| 241 gtk_widget_destroy(newmod); | 241 gtk_widget_destroy(newmod); |
| 242 titles[0] = u->username; | 242 titles[0] = u->username; |
| 243 titles[1] = find_gaim_conn_by_name(u->username) ? "Yes" : "No"; | 243 titles[1] = u->gc ? "Yes" : "No"; |
| 244 titles[2] = (u->options & OPT_USR_AUTO) ? "True" : "False"; | 244 titles[2] = (u->options & OPT_USR_AUTO) ? "True" : "False"; |
| 245 titles[3] = proto_name(u->protocol); | 245 titles[3] = proto_name(u->protocol); |
| 246 i = gtk_clist_append(GTK_CLIST(list), titles); | 246 i = gtk_clist_append(GTK_CLIST(list), titles); |
| 247 gtk_clist_set_row_data(GTK_CLIST(list), i, u); | 247 gtk_clist_set_row_data(GTK_CLIST(list), i, u); |
| 248 aim_users = g_list_append(aim_users, u); | 248 aim_users = g_list_append(aim_users, u); |
