X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;ds=inline;f=maemo-tweaks.c;h=4253087f94b879d8d1a8e7991d02382ec858b5ad;hb=37becd0fa7e6be20505136f71d3c224547ed43b7;hp=d79bb6f662383e5bda209f922a47f255c6269266;hpb=edf45b99a66e77013a9ea44f009855e7f1b24c76;p=tweakr diff --git a/maemo-tweaks.c b/maemo-tweaks.c index d79bb6f..4253087 100644 --- a/maemo-tweaks.c +++ b/maemo-tweaks.c @@ -69,17 +69,19 @@ osso_return_t execute (osso_context_t *osso, gpointer data, { 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); }