From: Philipp Zabel Date: Fri, 26 Feb 2010 22:12:14 +0000 (+0100) Subject: Bridge relay UI: set hildon-input-mode property X-Git-Tag: v0.0.4-1~1 X-Git-Url: https://vcs.maemo.org/git/?p=tor-status;a=commitdiff_plain;h=6285424d8b4add615b60052c9c115d0dfa347828 Bridge relay UI: set hildon-input-mode property --- diff --git a/src/status-area-applet-tor.vala b/src/status-area-applet-tor.vala index 8301f94..9daec7f 100644 --- a/src/status-area-applet-tor.vala +++ b/src/status-area-applet-tor.vala @@ -414,8 +414,8 @@ class TorStatusMenuItem : HD.StatusMenuItem { size_group.add_widget (label); hbox.pack_start (label, false, false, 0); var ip_entry = new Hildon.Entry (Hildon.SizeType.FINGER_HEIGHT); - Hildon.gtk_entry_set_input_mode (ip_entry, Hildon.GtkInputMode.NUMERIC | - Hildon.GtkInputMode.SPECIAL); + ip_entry.set ("hildon-input-mode", Hildon.GtkInputMode.NUMERIC | + Hildon.GtkInputMode.SPECIAL); hbox.pack_start (ip_entry, true, true, 0); content.pack_start (hbox, false, false, 0); @@ -425,7 +425,7 @@ class TorStatusMenuItem : HD.StatusMenuItem { size_group.add_widget (label); hbox.pack_start (label, false, false, 0); var port_entry = new Hildon.Entry (Hildon.SizeType.FINGER_HEIGHT); - Hildon.gtk_entry_set_input_mode (port_entry, Hildon.GtkInputMode.NUMERIC); + port_entry.set ("hildon-input-mode", Hildon.GtkInputMode.NUMERIC); hbox.pack_start (port_entry, true, true, 0); content.pack_start (hbox, true, true, 0); @@ -435,7 +435,7 @@ class TorStatusMenuItem : HD.StatusMenuItem { size_group.add_widget (label); hbox.pack_start (label, false, false, 0); var fingerprint_entry = new Hildon.Entry (Hildon.SizeType.FINGER_HEIGHT); - Hildon.gtk_entry_set_input_mode (fingerprint_entry, Hildon.GtkInputMode.HEXA); + fingerprint_entry.set ("hildon-input-mode", Hildon.GtkInputMode.HEXA); hbox.pack_start (fingerprint_entry, true, true, 0); content.pack_start (hbox, true, true, 0);