You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.6 KiB
73 lines
2.6 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<interface> |
|
<template class="UserEntryRow" parent="GtkListBoxRow"> |
|
<property name="selectable">false</property> |
|
<style> |
|
<class name="account-switcher-row"/> |
|
</style> |
|
<child> |
|
<object class="GtkBox"> |
|
<property name="spacing">10</property> |
|
<child> |
|
<object class="AvatarWithSelection" id="account_avatar"> |
|
<property name="size">40</property> |
|
<binding name="data"> |
|
<lookup name="avatar-data" type="User"> |
|
<lookup name="user" type="Session"> |
|
<lookup name="session">UserEntryRow</lookup> |
|
</lookup> |
|
</lookup> |
|
</binding> |
|
</object> |
|
</child> |
|
<child> |
|
<object class="GtkBox"> |
|
<property name="spacing">3</property> |
|
<property name="orientation">vertical</property> |
|
<child> |
|
<object class="GtkLabel" id="display_name"> |
|
<property name="xalign">0.0</property> |
|
<property name="hexpand">True</property> |
|
<binding name="label"> |
|
<lookup name="display-name" type="User"> |
|
<lookup name="user" type="Session"> |
|
<lookup name="session">UserEntryRow</lookup> |
|
</lookup> |
|
</lookup> |
|
</binding> |
|
</object> |
|
</child> |
|
<child> |
|
<object class="GtkLabel" id="user_id"> |
|
<property name="xalign">0.0</property> |
|
<property name="hexpand">True</property> |
|
<binding name="label"> |
|
<lookup name="user-id" type="User"> |
|
<lookup name="user" type="Session"> |
|
<lookup name="session">UserEntryRow</lookup> |
|
</lookup> |
|
</lookup> |
|
</binding> |
|
<style> |
|
<class name="dim-label"/> |
|
<class name="caption"/> |
|
</style> |
|
</object> |
|
</child> |
|
</object> |
|
</child> |
|
<child> |
|
<object class="GtkButton"> |
|
<property name="icon-name">applications-system-symbolic</property> |
|
<property name="valign">center</property> |
|
<property name="halign">center</property> |
|
<signal name="clicked" handler="show_account_settings" swapped="true"/> |
|
<style> |
|
<class name="circular"/> |
|
</style> |
|
</object> |
|
</child> |
|
</object> |
|
</child> |
|
</template> |
|
</interface>
|
|
|