Help the user by making the LinkedIn verification code input numeric only.
authorAndrew Flegg <andrew@bleb.org>
Thu, 10 Jun 2010 10:42:35 +0000 (11:42 +0100)
committerAndrew Flegg <andrew@bleb.org>
Thu, 10 Jun 2010 10:42:35 +0000 (11:42 +0100)
package/debian/changelog
package/src/org/maemo/hermes/engine/linkedin/provider.py

index 03620db..c84efdd 100644 (file)
@@ -1,3 +1,10 @@
+hermes (0.8.1) unstable; urgency=low
+
+  * Make LinkedIn verification box numbers only.
+  * ...
+
+ -- Andrew Flegg <andrew@bleb.org>  Thu, 10 Jun 2010 11:25:21 +0100
+
 hermes (0.8.0) unstable; urgency=low
 
   * Enormous refactor to support additional services, with Gravatar
index d10a946..9edb025 100644 (file)
@@ -97,6 +97,7 @@ class Provider(org.maemo.hermes.engine.provider.Provider):
         note.add_button(_("Validate"), gtk.RESPONSE_OK)
         input = hildon.Entry(gtk.HILDON_SIZE_FINGER_HEIGHT)
         input.set_property('is-focus', False)
+        input.set_property('hildon-input-mode', gtk.HILDON_GTK_INPUT_MODE_NUMERIC)
         note.set_title(_("Verification code from web browser"))
         note.vbox.add(input)