[gnome-control-center/wip/feborges/avatar-chooser: 86/90] user-accounts: Make face images bigger
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/feborges/avatar-chooser: 86/90] user-accounts: Make face images bigger
- Date: Wed, 31 Jan 2018 14:58:06 +0000 (UTC)
commit d10b58c81728b15a8dbc66d572cb82d497d54006
Author: Felipe Borges <felipeborges gnome org>
Date: Fri Jan 5 16:19:42 2018 +0100
user-accounts: Make face images bigger
Now we present 72x72 faces in a 4x4 grid.
https://bugzilla.gnome.org/show_bug.cgi?id=792243
panels/user-accounts/um-photo-dialog.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/panels/user-accounts/um-photo-dialog.c b/panels/user-accounts/um-photo-dialog.c
index 50171f6..600c583 100644
--- a/panels/user-accounts/um-photo-dialog.c
+++ b/panels/user-accounts/um-photo-dialog.c
@@ -39,7 +39,8 @@
#include "cc-crop-area.h"
#include "um-utils.h"
-#define ROW_SPAN 6
+#define ROW_SPAN 5
+#define AVATAR_PIXEL_SIZE 72
struct _UmPhotoDialog {
GtkWidget *photo_popup;
@@ -361,6 +362,7 @@ menu_item_for_filename (UmPhotoDialog *um,
icon = g_file_icon_new (file);
g_object_unref (file);
image = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_DIALOG);
+ gtk_image_set_pixel_size (GTK_IMAGE (image), AVATAR_PIXEL_SIZE);
g_object_unref (icon);
menuitem = gtk_menu_item_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]