Mercurial > pidgin
comparison src/gtkpounce.c @ 5580:86456ec3ca25
[gaim-migrate @ 5984]
More nifty stuff! Accounts now get converted, and other niceties.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 31 May 2003 02:27:03 +0000 |
parents | 9eb5b13fd412 |
children | b07aa997ddd8 |
comparison
equal
deleted
inserted
replaced
5579:e0146fcc4718 | 5580:86456ec3ca25 |
---|---|
279 GaimAccount *account; | 279 GaimAccount *account; |
280 GaimPlugin *prpl; | 280 GaimPlugin *prpl; |
281 GtkWidget *opt_menu; | 281 GtkWidget *opt_menu; |
282 GtkWidget *menu; | 282 GtkWidget *menu; |
283 GtkWidget *item; | 283 GtkWidget *item; |
284 GSList *l; | 284 GList *l; |
285 char buf[2048]; | 285 char buf[2048]; |
286 int count, place = 0; | 286 int count, place = 0; |
287 | 287 |
288 opt_menu = gtk_option_menu_new(); | 288 opt_menu = gtk_option_menu_new(); |
289 menu = gtk_menu_new(); | 289 menu = gtk_menu_new(); |
290 | 290 |
291 for (l = gaim_accounts, count = 0; l != NULL; l = l->next, count++) { | 291 for (l = gaim_accounts_get_all(), count = 0; |
292 l != NULL; | |
293 l = l->next, count++) { | |
294 | |
292 account = (GaimAccount *)l->data; | 295 account = (GaimAccount *)l->data; |
293 | 296 |
294 prpl = gaim_find_prpl(account->protocol); | 297 prpl = gaim_find_prpl(account->protocol); |
295 | 298 |
296 g_snprintf(buf, sizeof(buf), "%s (%s)", account->username, | 299 g_snprintf(buf, sizeof(buf), "%s (%s)", account->username, |
478 dialog->pounce = NULL; | 481 dialog->pounce = NULL; |
479 dialog->account = buddy->account; | 482 dialog->account = buddy->account; |
480 } | 483 } |
481 else { | 484 else { |
482 dialog->pounce = NULL; | 485 dialog->pounce = NULL; |
483 dialog->account = gaim_accounts->data; | 486 dialog->account = gaim_accounts_get_all()->data; |
484 } | 487 } |
485 | 488 |
486 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); | 489 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); |
487 | 490 |
488 /* Create the window. */ | 491 /* Create the window. */ |