{
MaemoTweaksSection *section;
MaemoTweaksSectionClass *klass;
+ GtkWidget *frame;
klass = g_type_class_ref (section_types[i]);
section = maemo_tweaks_section_new (section_types[i]);
sections = g_list_prepend (sections, section);
+ frame = gtk_frame_new (section->name);
+
gtk_box_pack_start (GTK_BOX (box),
- gtk_label_new (section->name),
- FALSE, FALSE, 0);
- gtk_box_pack_start (GTK_BOX (box),
- maemo_tweaks_section_get_widget (section),
+ frame,
FALSE, FALSE, 0);
+ gtk_container_add (GTK_CONTAINER (frame),
+ maemo_tweaks_section_get_widget (section));
g_type_class_unref (klass);
}