+ for (iter = 0; iter < strlen (text); iter++)
+ {
+ if (!g_ascii_isalnum (text[iter]) &&
+ text[iter] != '-' &&
+ text[iter] != '_')
+ {
+ GtkWidget *banner;
+
+ banner = hildon_banner_show_information
+ (dialog, NULL,
+ _("Preset name can only contains letters, numbers, - and _."));
+
+ cont = TRUE;
+ }
+ }
+
+ if (cont)
+ continue;
+