section_class->save = _save;
}
-static void
-maemo_tweaks_desktop_section_init (MaemoTweaksDesktopSection *section)
-{
-}
-
GtkWidget * _build_snap_to_grid (void)
{
const gchar *options[] = {"Default", "Small grid", "Large grid", NULL};
return button;
}
+static void
+maemo_tweaks_desktop_section_init (MaemoTweaksDesktopSection *section)
+{
+ GtkWidget * snap_button;
+ MaemoTweaksSection *iface;
+
+ snap_button = _build_snap_to_grid ();
+ iface = MAEMO_TWEAKS_SECTION (section);
+
+ iface->widget = gtk_vbox_new (FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (iface->widget), snap_button,
+ FALSE, FALSE, 0);
+}
+
static void _save (MaemoTweaksSection *section)
{
}