projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
77bf877
)
Use hildon API to set numeric mode
author
Sergio Villar Senin
<svillar@igalia.com>
Thu, 12 Mar 2009 19:07:48 +0000
(19:07 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Thu, 12 Mar 2009 19:07:48 +0000
(19:07 +0000)
pmo-trunk-r7993
src/hildon2/modest-number-editor.c
patch
|
blob
|
history
diff --git
a/src/hildon2/modest-number-editor.c
b/src/hildon2/modest-number-editor.c
index
086b636
..
2184f46
100644
(file)
--- a/
src/hildon2/modest-number-editor.c
+++ b/
src/hildon2/modest-number-editor.c
@@
-221,9
+221,8
@@
modest_number_editor_init (ModestNumberEditor *editor)
G_CALLBACK (modest_number_editor_entry_focusout),
editor);
G_CALLBACK (modest_number_editor_entry_focusout),
editor);
-
- g_object_set (G_OBJECT (editor),
- "hildon-input-mode", HILDON_GTK_INPUT_MODE_NUMERIC, NULL);
+ hildon_gtk_entry_set_input_mode (GTK_ENTRY (editor),
+ HILDON_GTK_INPUT_MODE_NUMERIC);
modest_number_editor_set_range (editor, G_MININT, G_MAXINT);
}
modest_number_editor_set_range (editor, G_MININT, G_MAXINT);
}