[ekiga/ds-gtk-application] Form UI: Added support for NUMBER entries.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk-application] Form UI: Added support for NUMBER entries.
- Date: Sun, 14 Dec 2014 15:23:33 +0000 (UTC)
commit d118658f13bf5104d27a426b51265922cf1b393c
Author: Damien Sandras <dsandras seconix com>
Date: Sun Dec 14 16:18:41 2014 +0100
Form UI: Added support for NUMBER entries.
lib/engine/gui/gtk-core/form-dialog-gtk.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/gui/gtk-core/form-dialog-gtk.cpp b/lib/engine/gui/gtk-core/form-dialog-gtk.cpp
index ad1e7f1..a9950f2 100644
--- a/lib/engine/gui/gtk-core/form-dialog-gtk.cpp
+++ b/lib/engine/gui/gtk-core/form-dialog-gtk.cpp
@@ -991,6 +991,10 @@ FormDialog::text (const std::string name,
entry = gm_entry_new (PHONE_NUMBER_REGEX);
gtk_entry_set_input_purpose (GTK_ENTRY (entry), GTK_INPUT_PURPOSE_PHONE);
break;
+ case NUMBER:
+ entry = gm_entry_new (NUMBER_REGEX);
+ gtk_entry_set_input_purpose (GTK_ENTRY (entry), GTK_INPUT_PURPOSE_NUMBER);
+ break;
case URI:
entry = gm_entry_new (BASIC_URI_REGEX);
gtk_entry_set_input_purpose (GTK_ENTRY (entry), GTK_INPUT_PURPOSE_URL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]