-GtkWidget * create_desktop_snap_to_grid (void)
-{
- const gchar *options[] = {"Default", "Small grid", "Large grid", NULL};
- gint i = 0;
- GtkWidget *button, *selector;
-
- selector = hildon_touch_selector_new_text ();
- while (options[i] && options[i] != '\0')
- {
- hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (selector),
- options [i++]);
- }
-
- button = hildon_picker_button_new (HILDON_SIZE_AUTO,
- HILDON_BUTTON_ARRANGEMENT_VERTICAL);
-
- hildon_button_set_title (HILDON_BUTTON (button),
- "Snap desktop icons to grid");
-
- hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (button),
- HILDON_TOUCH_SELECTOR (selector));
-
- gtk_widget_show (button);
- return button;
-}
+#include "maemo-tweaks-types.h"
+#include "libmaemo-tweaks-section/maemo-tweaks-section.h"
+#include "maemo-tweaks-module-manager.h"