[fractal/multi-account: 5/5] Show user ids as list labels in the account switcher
- From: Alejandro Domínguez <aledomu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/multi-account: 5/5] Show user ids as list labels in the account switcher
- Date: Wed, 14 Jul 2021 17:37:07 +0000 (UTC)
commit e14753a7e7a5282e55c5119c05f25433d1069b92
Author: Alejandro Domínguez <adomu net-c com>
Date: Tue Jul 13 21:21:12 2021 +0200
Show user ids as list labels in the account switcher
data/resources/ui/sidebar-account-switcher-item.ui | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/data/resources/ui/sidebar-account-switcher-item.ui
b/data/resources/ui/sidebar-account-switcher-item.ui
index 4a50944d..5a8ca60b 100644
--- a/data/resources/ui/sidebar-account-switcher-item.ui
+++ b/data/resources/ui/sidebar-account-switcher-item.ui
@@ -5,7 +5,15 @@
<object class="GtkBox">
<child>
<object class="GtkLabel">
- <property name="label">User</property>
+ <binding name="label">
+ <lookup name="display-name" type="User">
+ <lookup name="user" type="Session">
+ <lookup name="child" type="GtkStackPage">
+ <lookup name="item">GtkListItem</lookup>
+ </lookup>
+ </lookup>
+ </lookup>
+ </binding>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]