From ca331e85efe2a74a6b9b5a5ff0fbcd10a36758ce Mon Sep 17 00:00:00 2001 From: Marvin W <git@larma.de> Date: Tue, 16 Jan 2018 16:17:42 +0100 Subject: Render avatar on demand --- main/data/manage_accounts/account_row.ui | 6 +++--- main/data/manage_accounts/dialog.ui | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'main/data/manage_accounts') diff --git a/main/data/manage_accounts/account_row.ui b/main/data/manage_accounts/account_row.ui index 3887c51b..965171a7 100644 --- a/main/data/manage_accounts/account_row.ui +++ b/main/data/manage_accounts/account_row.ui @@ -9,9 +9,9 @@ <property name="column-spacing">6</property> <property name="visible">True</property> <child> - <object class="GtkImage" id="image"> - <property name="height_request">40</property> - <property name="width_request">40</property> + <object class="DinoUiAvatarImage" id="image"> + <property name="height">40</property> + <property name="width">40</property> <property name="visible">True</property> </object> </child> diff --git a/main/data/manage_accounts/dialog.ui b/main/data/manage_accounts/dialog.ui index 2dc2762b..8d50d449 100644 --- a/main/data/manage_accounts/dialog.ui +++ b/main/data/manage_accounts/dialog.ui @@ -102,11 +102,12 @@ <class name="image-button"/> </style> <child> - <object class="GtkImage" id="image"> - <property name="height_request">50</property> - <property name="width_request">50</property> + <object class="DinoUiAvatarImage" id="image"> + <property name="height">50</property> + <property name="width">50</property> <property name="xalign">1</property> <property name="visible">True</property> + <property name="allow_gray">False</property> </object> </child> </object> -- cgit v1.2.3-70-g09d2