[fractal/multi-account: 7/7] 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: 7/7] Show user ids as list labels in the account switcher
- Date: Tue, 20 Jul 2021 21:05:22 +0000 (UTC)
commit c584471f88d4d65debe88360e9deb0fe4504b43e
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]