comparison src/gtkpounce.c @ 8236:a8431dd66cc5

[gaim-migrate @ 8959] Man, I don't want to explain this one. But I will. For Luke. BECAUSE I CARE. Yaaaaaaayyyyy Luke. Anyway, the accounts drop down box in the "Add a Buddy Pounce" dialog... It only shows only accounts, right? Unfortunately the default account was the top account in the account editor--whether it is online or offline. This patch makes the default account be the top ONLINE account. Oh, and even though the dialog LOOKED right before this change, the actual value of account was incorrect. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 12 Feb 2004 05:56:16 +0000
parents 63c7a16a2c09
children 10a41e67a800
comparison
equal deleted inserted replaced
8235:63c7a16a2c09 8236:a8431dd66cc5
319 dialog->pounce = NULL; 319 dialog->pounce = NULL;
320 dialog->account = account; 320 dialog->account = account;
321 } 321 }
322 else { 322 else {
323 dialog->pounce = NULL; 323 dialog->pounce = NULL;
324 dialog->account = gaim_accounts_get_all()->data; 324 dialog->account = gaim_connection_get_account((GaimConnection *)gaim_connections_get_all()->data);
325 } 325 }
326 326
327 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); 327 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
328 328
329 /* Create the window. */ 329 /* Create the window. */