X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-platform.c;h=12a4c94caf5d07758f831975a559a4c4cfbcd4bc;hp=28cba13f36f6917530badf2560b57c29490c92a1;hb=8f8039fef5dcff6cbc7b156053fd912c9fad2f43;hpb=5b745b2530945a03a3901d3d93d38fcda48fb163 diff --git a/src/maemo/modest-platform.c b/src/maemo/modest-platform.c index 28cba13..12a4c94 100644 --- a/src/maemo/modest-platform.c +++ b/src/maemo/modest-platform.c @@ -590,8 +590,8 @@ entry_changed (GtkEditable *editable, chars = gtk_editable_get_chars (editable, 0, -1); g_return_if_fail (chars != NULL); - /* Dimm OK button */ - if (strlen (chars) == 0) { + /* Dimm OK button. Do not allow also the "/" */ + if (strlen (chars) == 0 || strchr (chars, '/')) { GtkWidget *ok_button; GList *buttons;