pidgin/gtkaccount.c

changeset 41058
18f3ea2e7e6d
parent 41036
c2a9da21b8c0
child 41144
910bdda75c74
equal deleted inserted replaced
41057:0a4177bbb1c4 41058:18f3ea2e7e6d
1570 dialog); 1570 dialog);
1571 g_signal_connect(win, "response", G_CALLBACK(account_prefs_response_cb), 1571 g_signal_connect(win, "response", G_CALLBACK(account_prefs_response_cb),
1572 dialog); 1572 dialog);
1573 1573
1574 /* Setup the vbox */ 1574 /* Setup the vbox */
1575 main_vbox = pidgin_dialog_get_vbox_with_properties(GTK_DIALOG(win), FALSE, 6); 1575 main_vbox = gtk_dialog_get_content_area(GTK_DIALOG(win));
1576 gtk_box_set_spacing(GTK_BOX(main_vbox), 6);
1576 1577
1577 dialog->notebook = notebook = gtk_notebook_new(); 1578 dialog->notebook = notebook = gtk_notebook_new();
1578 gtk_box_pack_start(GTK_BOX(main_vbox), notebook, FALSE, FALSE, 0); 1579 gtk_box_pack_start(GTK_BOX(main_vbox), notebook, FALSE, FALSE, 0);
1579 gtk_widget_show(GTK_WIDGET(notebook)); 1580 gtk_widget_show(GTK_WIDGET(notebook));
1580 1581
2391 accounts_window); 2392 accounts_window);
2392 g_signal_connect(win, "response", G_CALLBACK(accedit_win_response_cb), 2393 g_signal_connect(win, "response", G_CALLBACK(accedit_win_response_cb),
2393 accounts_window); 2394 accounts_window);
2394 2395
2395 /* Setup the vbox */ 2396 /* Setup the vbox */
2396 vbox = pidgin_dialog_get_vbox_with_properties(GTK_DIALOG(win), FALSE, 12); 2397 vbox = gtk_dialog_get_content_area(GTK_DIALOG(win));
2398 gtk_box_set_spacing(GTK_BOX(vbox), 12);
2397 2399
2398 /* Setup the scrolled window that will contain the list of accounts. */ 2400 /* Setup the scrolled window that will contain the list of accounts. */
2399 sw = create_accounts_list(dialog); 2401 sw = create_accounts_list(dialog);
2400 gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 0); 2402 gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 0);
2401 gtk_widget_show(sw); 2403 gtk_widget_show(sw);

mercurial