fractal/src/account_switcher/mod.ui

48 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="AccountSwitcher" parent="GtkPopover">
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkListBox" id="sessions">
<property name="activate_on_single_click">true</property>
<signal name="row-activated" handler="select_row" swapped="yes"/>
</object>
</child>
<child>
<object class="GtkSeparator"/>
</child>
<child>
<object class="GtkButton">
<property name="action-name">app.new-session</property>
<property name="child">
<object class="GtkBox">
<property name="spacing">10</property>
<child>
<object class="GtkImage">
<property name="name">new-login-icon</property>
<property name="icon-name">list-add-symbolic</property>
<property name="pixel-size">16</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="use-underline">true</property>
<property name="label" translatable="yes">_Add Account</property>
</object>
</child>
</object>
</property>
<style>
<class name="account-switcher-row"/>
<class name="flat"/>
</style>
</object>
</child>
</object>
</child>
</template>
</interface>