projects
/
tor-status
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eaa2453
)
Bridge relay UI: set hildon-input-mode property
author
Philipp Zabel
<philipp.zabel@gmail.com>
Fri, 26 Feb 2010 22:12:14 +0000
(23:12 +0100)
committer
Philipp Zabel
<philipp.zabel@gmail.com>
Sun, 28 Feb 2010 18:34:04 +0000
(19:34 +0100)
src/status-area-applet-tor.vala
patch
|
blob
|
history
diff --git
a/src/status-area-applet-tor.vala
b/src/status-area-applet-tor.vala
index
8301f94
..
9daec7f
100644
(file)
--- 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);
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);
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);
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);
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);
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);
hbox.pack_start (fingerprint_entry, true, true, 0);
content.pack_start (hbox, true, true, 0);