projects
/
tweakr
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
edf45b9
)
Use frames.
author
Salvatore Iovene
<salvatore@iovene.com>
Thu, 10 Dec 2009 18:06:42 +0000
(20:06 +0200)
committer
Salvatore Iovene
<salvatore@iovene.com>
Thu, 10 Dec 2009 18:06:42 +0000
(20:06 +0200)
maemo-tweaks.c
patch
|
blob
|
history
diff --git
a/maemo-tweaks.c
b/maemo-tweaks.c
index
d79bb6f
..
4253087
100644
(file)
--- 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;
{
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);
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_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);
FALSE, FALSE, 0);
+ gtk_container_add (GTK_CONTAINER (frame),
+ maemo_tweaks_section_get_widget (section));
g_type_class_unref (klass);
}
g_type_class_unref (klass);
}