comparison src/prefs.c @ 1185:47cf56b72d4b

[gaim-migrate @ 1195] More patches by Decklin. Thanks, Bud. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sat, 02 Dec 2000 04:48:10 +0000
parents 02af8c5b9b24
children 0baf39dc5437
comparison
equal deleted inserted replaced
1184:ed8855ae6632 1185:47cf56b72d4b
1786 1786
1787 prefs = gtk_window_new(GTK_WINDOW_TOPLEVEL); 1787 prefs = gtk_window_new(GTK_WINDOW_TOPLEVEL);
1788 gtk_window_set_wmclass(GTK_WINDOW(prefs), "preferences", "Gaim"); 1788 gtk_window_set_wmclass(GTK_WINDOW(prefs), "preferences", "Gaim");
1789 gtk_widget_realize(prefs); 1789 gtk_widget_realize(prefs);
1790 aol_icon(prefs->window); 1790 aol_icon(prefs->window);
1791 gtk_container_border_width(GTK_CONTAINER(prefs), 10);
1792 gtk_window_set_title(GTK_WINDOW(prefs), _("Gaim - Preferences")); 1791 gtk_window_set_title(GTK_WINDOW(prefs), _("Gaim - Preferences"));
1793 gtk_widget_set_usize(prefs, 670, 550); 1792 gtk_widget_set_usize(prefs, 650, 540);
1794 gtk_signal_connect(GTK_OBJECT(prefs), "destroy", 1793 gtk_signal_connect(GTK_OBJECT(prefs), "destroy",
1795 GTK_SIGNAL_FUNC(delete_prefs), NULL); 1794 GTK_SIGNAL_FUNC(delete_prefs), NULL);
1796 1795
1797 vbox = gtk_vbox_new(FALSE, 5); 1796 vbox = gtk_vbox_new(FALSE, 5);
1797 gtk_container_border_width(GTK_CONTAINER(vbox), 5);
1798 gtk_container_add(GTK_CONTAINER(prefs), vbox); 1798 gtk_container_add(GTK_CONTAINER(prefs), vbox);
1799 gtk_widget_show(vbox); 1799 gtk_widget_show(vbox);
1800 1800
1801 hpaned = gtk_hpaned_new(); 1801 hpaned = gtk_hpaned_new();
1802 gtk_box_pack_start(GTK_BOX(vbox), hpaned, TRUE, TRUE, 5); 1802 gtk_box_pack_start(GTK_BOX(vbox), hpaned, TRUE, TRUE, 0);
1803 gtk_widget_show(hpaned); 1803 gtk_widget_show(hpaned);
1804 1804
1805 scroll = gtk_scrolled_window_new(NULL, NULL); 1805 scroll = gtk_scrolled_window_new(NULL, NULL);
1806 gtk_paned_pack1(GTK_PANED(hpaned), scroll, FALSE, FALSE); 1806 gtk_paned_pack1(GTK_PANED(hpaned), scroll, FALSE, FALSE);
1807 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), 1807 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll),
1836 prefs_build_deny(); 1836 prefs_build_deny();
1837 1837
1838 //general_page(); 1838 //general_page();
1839 1839
1840 hbox = gtk_hbox_new(FALSE, 5); 1840 hbox = gtk_hbox_new(FALSE, 5);
1841 gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); 1841 gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
1842 gtk_widget_show(hbox); 1842 gtk_widget_show(hbox);
1843 1843
1844 close = picture_button(prefs, _("Close"), cancel_xpm); 1844 close = picture_button(prefs, _("Close"), cancel_xpm);
1845 gtk_box_pack_end(GTK_BOX(hbox), close, FALSE, FALSE, 5); 1845 gtk_box_pack_end(GTK_BOX(hbox), close, FALSE, FALSE, 0);
1846 gtk_signal_connect(GTK_OBJECT(close), "clicked", GTK_SIGNAL_FUNC(handle_delete), NULL); 1846 gtk_signal_connect(GTK_OBJECT(close), "clicked", GTK_SIGNAL_FUNC(handle_delete), NULL);
1847 1847
1848 gtk_widget_show(prefs); 1848 gtk_widget_show(prefs);
1849 } 1849 }
1850 1850