00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #include "../gtk-lumiera.hpp"
00024
00025 #include "preferences-dialog.hpp"
00026 #include "dialog.hpp"
00027
00028 using namespace Gtk;
00029
00030 namespace gui {
00031 namespace dialogs {
00032
00033 PreferencesDialog::PreferencesDialog(Window &parent) :
00034 Dialog(_("Preferences"), parent, true)
00035 {
00036 VBox *v_box = get_vbox();
00037 g_assert(v_box != NULL);
00038
00039 interfaceBox.pack_start(interfaceThemeCombo, PACK_SHRINK);
00040 interfaceBox.set_spacing(4);
00041 interfaceBox.set_border_width(5);
00042
00043 notebook.append_page(interfaceBox, _("Interface"));
00044
00045 v_box->pack_start(notebook);
00046
00047
00048 v_box->set_spacing(BoxSpacing);
00049 set_border_width(BorderPadding);
00050 set_resizable(false);
00051
00052
00053 add_button(Stock::CANCEL, RESPONSE_CANCEL);
00054 add_button(Stock::OK, RESPONSE_OK);
00055
00056 show_all_children();
00057 }
00058
00059 }
00060 }