[gnome-control-center] user-accounts: Remove use of images in fingerprint
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user-accounts: Remove use of images in fingerprint
- Date: Sat, 7 May 2011 18:11:27 +0000 (UTC)
commit 3980a44ebbc2cbf96c7675132ff2e10978326673
Author: Bastien Nocera <hadess hadess net>
Date: Sat May 7 19:10:35 2011 +0100
user-accounts: Remove use of images in fingerprint
gtk_assistant_set_page_header_image() is deprecated, stop using
it in the fingerprint setup assistant.
panels/user-accounts/um-fingerprint-dialog.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/panels/user-accounts/um-fingerprint-dialog.c b/panels/user-accounts/um-fingerprint-dialog.c
index 8593517..f25f72f 100644
--- a/panels/user-accounts/um-fingerprint-dialog.c
+++ b/panels/user-accounts/um-fingerprint-dialog.c
@@ -530,7 +530,6 @@ enroll_fingerprints (GtkWindow *parent,
const char *filename;
char *msg;
GError *error = NULL;
- GdkPixbuf *pixbuf;
gchar *title;
device = NULL;
@@ -625,17 +624,12 @@ enroll_fingerprints (GtkWindow *parent,
gtk_assistant_set_page_complete (GTK_ASSISTANT (ass), WID("page1"), TRUE);
- pixbuf = um_user_render_icon (user, FALSE, 48);
title = g_strdup_printf (_("Enrolling fingerprints for\n<b><big>%s</big></b>"), um_user_get_real_name (user));
- gtk_assistant_set_page_header_image (GTK_ASSISTANT (ass), WID("page1"), pixbuf);
gtk_assistant_set_page_title (GTK_ASSISTANT (ass), WID("page1"), title);
- gtk_assistant_set_page_header_image (GTK_ASSISTANT (ass), WID("page2"), pixbuf);
gtk_assistant_set_page_title (GTK_ASSISTANT (ass), WID("page2"), title);
- gtk_assistant_set_page_header_image (GTK_ASSISTANT (ass), WID("page3"), pixbuf);
gtk_assistant_set_page_title (GTK_ASSISTANT (ass), WID("page3"), title);
gtk_container_forall (GTK_CONTAINER (ass), align_image, NULL);
- g_object_unref (pixbuf);
g_free (title);
/* Page 2 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]