| 354 gtk_widget_show(label); |
354 gtk_widget_show(label); |
| 355 |
355 |
| 356 dialog->account_widget = gaim_gtk_account_option_menu_new(dialog->account, FALSE, |
356 dialog->account_widget = gaim_gtk_account_option_menu_new(dialog->account, FALSE, |
| 357 G_CALLBACK(dialog_select_account_cb), account_filter_func, dialog); |
357 G_CALLBACK(dialog_select_account_cb), account_filter_func, dialog); |
| 358 |
358 |
| |
359 if (!dialog->account) /* this is normally null, and we normally don't care what the first selected item is */ |
| |
360 dialog->account = gaim_gtk_account_option_menu_get_selected(dialog->account_widget); |
| |
361 |
| 359 gtk_box_pack_start(GTK_BOX(account_hbox), dialog->account_widget, TRUE, TRUE, 0); |
362 gtk_box_pack_start(GTK_BOX(account_hbox), dialog->account_widget, TRUE, TRUE, 0); |
| 360 gtk_label_set_mnemonic_widget(GTK_LABEL(label), GTK_WIDGET(dialog->account_widget)); |
363 gtk_label_set_mnemonic_widget(GTK_LABEL(label), GTK_WIDGET(dialog->account_widget)); |
| 361 gtk_widget_show(dialog->account_widget); |
364 gtk_widget_show(dialog->account_widget); |
| 362 |
365 |
| 363 /* scrolled window */ |
366 /* scrolled window */ |