[fractal/multi-account: 5/5] Show user ids as list labels in AccountSwitcher
- 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 AccountSwitcher
- Date: Tue, 13 Jul 2021 19:21:24 +0000 (UTC)
commit ec4ca694ca85678c0fa534d609f98663692c03e8
Author: Alejandro Domínguez <adomu net-c com>
Date: Tue Jul 13 21:21:12 2021 +0200
Show user ids as list labels in AccountSwitcher
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]