comparison src/gtkaccount.c @ 10535:f175ff63d571

[gaim-migrate @ 11887] patch from mccannwj; removes horizontal seperators from dialogs committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 22 Jan 2005 04:43:15 +0000
parents f5c9438982f8
children 0f7452b1f777
comparison
equal deleted inserted replaced
10534:975c2e66cd53 10535:f175ff63d571
1555 GtkWidget *main_vbox; 1555 GtkWidget *main_vbox;
1556 GtkWidget *vbox; 1556 GtkWidget *vbox;
1557 GtkWidget *bbox; 1557 GtkWidget *bbox;
1558 GtkWidget *dbox; 1558 GtkWidget *dbox;
1559 GtkWidget *disclosure; 1559 GtkWidget *disclosure;
1560 GtkWidget *sep;
1561 GtkWidget *button; 1560 GtkWidget *button;
1562 1561
1563 if (accounts_window != NULL && account != NULL && 1562 if (accounts_window != NULL && account != NULL &&
1564 (dialog = g_hash_table_lookup(accounts_window->account_pref_wins, 1563 (dialog = g_hash_table_lookup(accounts_window->account_pref_wins,
1565 account)) != NULL) 1564 account)) != NULL)
1638 gaim_disclosure_set_container(GAIM_DISCLOSURE(disclosure), dbox); 1637 gaim_disclosure_set_container(GAIM_DISCLOSURE(disclosure), dbox);
1639 1638
1640 /** Setup the bottom frames. */ 1639 /** Setup the bottom frames. */
1641 add_protocol_options(dialog, dbox); 1640 add_protocol_options(dialog, dbox);
1642 add_proxy_options(dialog, dbox); 1641 add_proxy_options(dialog, dbox);
1643
1644 /* Separator... */
1645 sep = gtk_hseparator_new();
1646 gtk_box_pack_start(GTK_BOX(main_vbox), sep, FALSE, FALSE, 0);
1647 gtk_widget_show(sep);
1648 1642
1649 /* Setup the button box */ 1643 /* Setup the button box */
1650 bbox = gtk_hbutton_box_new(); 1644 bbox = gtk_hbutton_box_new();
1651 gtk_box_set_spacing(GTK_BOX(bbox), 6); 1645 gtk_box_set_spacing(GTK_BOX(bbox), 6);
1652 gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END); 1646 gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END);
2226 AccountsWindow *dialog; 2220 AccountsWindow *dialog;
2227 GtkWidget *win; 2221 GtkWidget *win;
2228 GtkWidget *vbox; 2222 GtkWidget *vbox;
2229 GtkWidget *bbox; 2223 GtkWidget *bbox;
2230 GtkWidget *sw; 2224 GtkWidget *sw;
2231 GtkWidget *sep;
2232 GtkWidget *button; 2225 GtkWidget *button;
2233 int width, height; 2226 int width, height;
2234 2227
2235 if (accounts_window != NULL) { 2228 if (accounts_window != NULL) {
2236 gtk_window_present(GTK_WINDOW(accounts_window->window)); 2229 gtk_window_present(GTK_WINDOW(accounts_window->window));
2263 2256
2264 /* Setup the scrolled window that will contain the list of accounts. */ 2257 /* Setup the scrolled window that will contain the list of accounts. */
2265 sw = create_accounts_list(dialog); 2258 sw = create_accounts_list(dialog);
2266 gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 0); 2259 gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 0);
2267 gtk_widget_show(sw); 2260 gtk_widget_show(sw);
2268
2269 /* Separator... */
2270 sep = gtk_hseparator_new();
2271 gtk_box_pack_start(GTK_BOX(vbox), sep, FALSE, FALSE, 0);
2272 gtk_widget_show(sep);
2273 2261
2274 /* Button box. */ 2262 /* Button box. */
2275 bbox = gtk_hbutton_box_new(); 2263 bbox = gtk_hbutton_box_new();
2276 gtk_box_set_spacing(GTK_BOX(bbox), 6); 2264 gtk_box_set_spacing(GTK_BOX(bbox), 6);
2277 gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END); 2265 gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END);