diff options
author | Bastien Nocera <hadess@hadess.net> | 2010-08-18 11:42:33 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2010-08-19 17:53:51 +0100 |
commit | b16ac1059155f155b7f2a783adc4338abbdb300d (patch) | |
tree | 0753dd5917e5fc3f21a287ead3882d757701406e | |
parent | 5ca74f4350a74775422c7f009df05ad8663ee351 (diff) | |
download | gnome-control-center-gnome-2-28.tar.gz |
Fix enrolling with Upek Eikon II fingerprint readergnome-2-28
The upeke2 driver in libfprint (and the device) requires 5
enrollment stages, but the UI has a hard-coded maximum of 3.
Increase the maximum to 5.
https://bugzilla.gnome.org/show_bug.cgi?id=627249
-rw-r--r-- | capplets/about-me/gnome-about-me-fingerprint.c | 2 | ||||
-rw-r--r-- | capplets/about-me/gnome-about-me-fingerprint.ui | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/capplets/about-me/gnome-about-me-fingerprint.c b/capplets/about-me/gnome-about-me-fingerprint.c index dbd9f8fbd..2f32254c7 100644 --- a/capplets/about-me/gnome-about-me-fingerprint.c +++ b/capplets/about-me/gnome-about-me-fingerprint.c @@ -25,7 +25,7 @@ #include "capplet-util.h" /* This must match the number of images on the 2nd page in the UI file */ -#define MAX_ENROLL_STAGES 3 +#define MAX_ENROLL_STAGES 5 static DBusGProxy *manager = NULL; static DBusGConnection *connection = NULL; diff --git a/capplets/about-me/gnome-about-me-fingerprint.ui b/capplets/about-me/gnome-about-me-fingerprint.ui index d94a5e85f..7f1543363 100644 --- a/capplets/about-me/gnome-about-me-fingerprint.ui +++ b/capplets/about-me/gnome-about-me-fingerprint.ui @@ -219,6 +219,26 @@ </packing> </child> <child> + <object class="GtkImage" id="image4"> + <property name="visible">True</property> + <property name="stock">gtk-no</property> + <property name="icon-size">6</property> + </object> + <packing> + <property name="position">4</property> + </packing> + </child> + <child> + <object class="GtkImage" id="image5"> + <property name="visible">True</property> + <property name="stock">gtk-no</property> + <property name="icon-size">6</property> + </object> + <packing> + <property name="position">5</property> + </packing> + </child> + <child> <placeholder/> </child> </object> |