2017-03-02 14:37:32 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
2022-02-14 13:55:59 +00:00
|
|
|
<requires lib="gtk" version="4.0"/>
|
2017-03-02 14:37:32 +00:00
|
|
|
<template class="DinoUiManageAccountsDialog">
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="title" translatable="1">Accounts</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
<property name="width-request">700</property>
|
|
|
|
<property name="height-request">400</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
<property name="modal">True</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
<child type="titlebar">
|
2022-02-14 13:55:59 +00:00
|
|
|
<object class="GtkHeaderBar"/>
|
2017-03-02 14:37:32 +00:00
|
|
|
</child>
|
2022-02-14 13:55:59 +00:00
|
|
|
<child internal-child="content_area">
|
|
|
|
<object class="GtkBox">
|
|
|
|
<child>
|
|
|
|
<object class="GtkStack" id="main_stack">
|
2017-03-02 14:37:32 +00:00
|
|
|
<child>
|
2022-02-14 13:55:59 +00:00
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">accounts_exist</property>
|
|
|
|
<property name="child">
|
2017-03-02 14:37:32 +00:00
|
|
|
<object class="GtkBox">
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="focusable">1</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="margin-start">15</property>
|
|
|
|
<property name="margin-end">15</property>
|
|
|
|
<property name="margin-top">15</property>
|
|
|
|
<property name="margin-bottom">15</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
<property name="spacing">20</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
<child>
|
2017-05-09 14:09:06 +00:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="width-request">250</property>
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="vexpand">1</property>
|
|
|
|
<property name="hexpand">0</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
<child>
|
2017-05-09 14:09:06 +00:00
|
|
|
<object class="GtkScrolledWindow">
|
2022-02-14 13:55:59 +00:00
|
|
|
<!-- <property name="shadow-type">in</property>-->
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="vexpand">1</property>
|
|
|
|
<property name="child">
|
2017-05-09 14:09:06 +00:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="account_list">
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="vexpand">1</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2022-02-14 13:55:59 +00:00
|
|
|
</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2022-02-14 13:55:59 +00:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="css-classes">toolbar</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
<style>
|
|
|
|
<class name="inline-toolbar"/>
|
|
|
|
</style>
|
2017-03-02 14:37:32 +00:00
|
|
|
<child>
|
2022-02-14 13:55:59 +00:00
|
|
|
<object class="GtkButton" id="add_account_button">
|
2017-05-09 14:09:06 +00:00
|
|
|
<property name="icon-name">list-add-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2022-02-14 13:55:59 +00:00
|
|
|
<object class="GtkButton" id="remove_account_button">
|
2017-05-09 14:09:06 +00:00
|
|
|
<property name="icon-name">list-remove-symbolic</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2017-05-09 14:09:06 +00:00
|
|
|
<object class="GtkGrid" id="settings_list">
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="vexpand">1</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
<property name="column-spacing">10</property>
|
|
|
|
<property name="row-spacing">5</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
<child>
|
2017-05-09 14:09:06 +00:00
|
|
|
<object class="GtkBox">
|
2018-01-04 20:13:44 +00:00
|
|
|
<property name="halign">end</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
<child>
|
2022-02-14 13:55:59 +00:00
|
|
|
<object class="GtkBox"/>
|
2017-05-09 14:09:06 +00:00
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="image_button">
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="has-frame">False</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
2023-01-24 17:59:46 +00:00
|
|
|
<object class="DinoUiAvatarPicture" id="picture">
|
|
|
|
<property name="height-request">50</property>
|
|
|
|
<property name="width-request">50</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-02-14 13:55:59 +00:00
|
|
|
<layout>
|
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">0</property>
|
|
|
|
<property name="row-span">2</property>
|
|
|
|
</layout>
|
2017-05-09 14:09:06 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="jid_label">
|
|
|
|
<property name="xalign">0</property>
|
2018-01-04 20:13:44 +00:00
|
|
|
<property name="yalign">1</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
<attributes>
|
2022-02-14 13:55:59 +00:00
|
|
|
<attribute name="weight" value="PANGO_WEIGHT_BOLD"></attribute>
|
2017-05-09 14:09:06 +00:00
|
|
|
</attributes>
|
2022-02-14 13:55:59 +00:00
|
|
|
<layout>
|
|
|
|
<property name="column">1</property>
|
|
|
|
<property name="row">0</property>
|
|
|
|
</layout>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2017-05-09 14:09:06 +00:00
|
|
|
<object class="GtkLabel" id="state_label">
|
|
|
|
<property name="xalign">0</property>
|
2018-01-04 20:13:44 +00:00
|
|
|
<property name="yalign">0</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
2022-02-14 13:55:59 +00:00
|
|
|
<layout>
|
|
|
|
<property name="column">1</property>
|
|
|
|
<property name="row">1</property>
|
|
|
|
</layout>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2017-05-09 14:09:06 +00:00
|
|
|
<object class="GtkSwitch" id="active_switch">
|
|
|
|
<property name="halign">end</property>
|
|
|
|
<property name="valign">center</property>
|
2022-02-14 13:55:59 +00:00
|
|
|
<layout>
|
|
|
|
<property name="column">2</property>
|
|
|
|
<property name="row">0</property>
|
|
|
|
<property name="row-span">2</property>
|
|
|
|
</layout>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2017-05-09 14:09:06 +00:00
|
|
|
<object class="GtkLabel">
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="label" translatable="1">Password</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
<property name="xalign">1</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
<style>
|
2017-05-09 14:09:06 +00:00
|
|
|
<class name="dim-label"/>
|
2017-03-02 14:37:32 +00:00
|
|
|
</style>
|
2022-02-14 13:55:59 +00:00
|
|
|
<layout>
|
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">2</property>
|
|
|
|
</layout>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2017-06-16 12:29:02 +00:00
|
|
|
<object class="DinoUiUtilEntryLabelHybrid" id="password_hybrid">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="width_request">200</property>
|
|
|
|
<property name="visibility">False</property>
|
2022-02-14 13:55:59 +00:00
|
|
|
<layout>
|
|
|
|
<property name="column">1</property>
|
|
|
|
<property name="row">2</property>
|
2024-03-19 08:29:36 +00:00
|
|
|
<property name="column-span">1</property>
|
|
|
|
</layout>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="password_change_btn">
|
|
|
|
<property name="label">⚙️</property>
|
|
|
|
<layout>
|
|
|
|
<property name="column">2</property>
|
|
|
|
<property name="row">2</property>
|
|
|
|
<property name="column-span">1</property>
|
2022-02-14 13:55:59 +00:00
|
|
|
</layout>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2017-05-09 14:09:06 +00:00
|
|
|
<object class="GtkLabel">
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="label" translatable="1">Local alias</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
<property name="xalign">1</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
2022-02-14 13:55:59 +00:00
|
|
|
<layout>
|
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">3</property>
|
|
|
|
</layout>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2017-06-16 12:29:02 +00:00
|
|
|
<object class="DinoUiUtilEntryLabelHybrid" id="alias_hybrid">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="width_request">200</property>
|
2022-02-14 13:55:59 +00:00
|
|
|
` <layout>
|
|
|
|
<property name="column">1</property>
|
|
|
|
<property name="row">3</property>
|
|
|
|
<property name="column-span">2</property>
|
|
|
|
</layout>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2022-02-14 13:55:59 +00:00
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">no_accounts</property>
|
|
|
|
<property name="child">
|
2017-05-09 14:09:06 +00:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">10</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="icon-name">system-users-symbolic</property>
|
|
|
|
<property name="pixel-size">72</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="label" translatable="1">No accounts configured</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="no_accounts_add">
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="label" translatable="1">Add an account</property>
|
2017-05-09 14:09:06 +00:00
|
|
|
<property name="halign">center</property>
|
|
|
|
<style>
|
|
|
|
<class name="text-button"/>
|
|
|
|
<class name="suggested-action"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
2022-02-14 13:55:59 +00:00
|
|
|
</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2022-02-14 13:55:59 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
2017-03-02 14:37:32 +00:00
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|