diff options
author | Marvin W <git@larma.de> | 2018-01-16 16:17:42 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2018-01-28 00:38:47 +0100 |
commit | ca331e85efe2a74a6b9b5a5ff0fbcd10a36758ce (patch) | |
tree | 9c8f9487904b8f59fc7edfc658e64914e4eac579 /main/data | |
parent | 03a349bfafe7e65abdbb692707e3361a9fdc57f4 (diff) | |
download | dino-ca331e85efe2a74a6b9b5a5ff0fbcd10a36758ce.tar.gz dino-ca331e85efe2a74a6b9b5a5ff0fbcd10a36758ce.zip |
Render avatar on demand
Diffstat (limited to 'main/data')
-rw-r--r-- | main/data/add_conversation/list_row.ui | 7 | ||||
-rw-r--r-- | main/data/contact_details_dialog.ui | 7 | ||||
-rw-r--r-- | main/data/conversation_selector/conversation_row.ui | 6 | ||||
-rw-r--r-- | main/data/manage_accounts/account_row.ui | 6 | ||||
-rw-r--r-- | main/data/manage_accounts/dialog.ui | 7 | ||||
-rw-r--r-- | main/data/occupant_list_item.ui | 6 |
6 files changed, 21 insertions, 18 deletions
diff --git a/main/data/add_conversation/list_row.ui b/main/data/add_conversation/list_row.ui index b9c3a47b..4b3e409f 100644 --- a/main/data/add_conversation/list_row.ui +++ b/main/data/add_conversation/list_row.ui @@ -9,9 +9,10 @@ <property name="column-spacing">10</property> <property name="visible">True</property> <child> - <object class="GtkImage" id="image"> - <property name="height_request">30</property> - <property name="width_request">30</property> + <object class="DinoUiAvatarImage" id="image"> + <property name="allow_gray">False</property> + <property name="height">30</property> + <property name="width">30</property> <property name="visible">True</property> </object> </child> diff --git a/main/data/contact_details_dialog.ui b/main/data/contact_details_dialog.ui index 8ce7306d..4058bc77 100644 --- a/main/data/contact_details_dialog.ui +++ b/main/data/contact_details_dialog.ui @@ -33,10 +33,11 @@ <property name="column-spacing">10</property> <property name="visible">True</property> <child> - <object class="GtkImage" id="avatar"> - <property name="height_request">50</property> - <property name="width_request">50</property> + <object class="DinoUiAvatarImage" id="avatar"> + <property name="height">50</property> + <property name="width">50</property> <property name="visible">True</property> + <property name="allow_gray">False</property> </object> <packing> <property name="left_attach">0</property> diff --git a/main/data/conversation_selector/conversation_row.ui b/main/data/conversation_selector/conversation_row.ui index 4c73e341..fa5df4e4 100644 --- a/main/data/conversation_selector/conversation_row.ui +++ b/main/data/conversation_selector/conversation_row.ui @@ -15,9 +15,9 @@ <property name="margin-right">14</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/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> diff --git a/main/data/occupant_list_item.ui b/main/data/occupant_list_item.ui index b3689262..e2b35ad6 100644 --- a/main/data/occupant_list_item.ui +++ b/main/data/occupant_list_item.ui @@ -12,9 +12,9 @@ <property name="column-spacing">10</property> <property name="visible">True</property> <child> - <object class="GtkImage" id="image"> - <property name="height_request">30</property> - <property name="width_request">30</property> + <object class="DinoUiAvatarImage" id="image"> + <property name="height">30</property> + <property name="width">30</property> <property name="visible">True</property> </object> </child> |