From 788bfe5b500c33d182dd1c7c48a49b1232e7a57e Mon Sep 17 00:00:00 2001 From: Bastien Nocera <hadess@hadess.net> Date: Wed, 18 Aug 2010 11:42:33 +0100 Subject: [PATCH] Fix enrolling with Upek Eikon II fingerprint reader https://bugzilla.gnome.org/show_bug.cgi?id=627249 --- capplets/about-me/gnome-about-me-fingerprint.c | 2 +- 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 b285503..88b1d4f 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 d94a5e8..7f15433 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> -- 1.7.0.1