Fix enrolling with Upek Eikon II fingerprint reader
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
This commit is contained in:
parent
e578202ab2
commit
58a4b4a252
2 changed files with 21 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -218,6 +218,26 @@
|
|||
<property name="position">3</property>
|
||||
</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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue