[fractal/multi-account: 8/8] 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: 8/8] Show user ids as list labels in the account switcher
- Date: Mon, 19 Jul 2021 22:25:35 +0000 (UTC)
commit f57e72af720a5ed96984cd706e8ba3c6af78f07b
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]