1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-05 19:39:37 +00:00
Purism-Calls/src/ui/account-overview.ui

91 lines
4.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CallsAccountOverview" parent="AdwWindow">
<property name="default-width">380</property>
<property name="default-height">660</property>
<property name="hide-on-close">True</property>
<child>
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<child type="end">
<object class="GtkSpinner" id="spinner"/>
</child>
</object>
</child>
<property name="content">
<object class="AdwToastOverlay" id="toast_overlay">
<property name="child">
<object class="GtkStack" id="stack">
<property name="vexpand">True</property>
<property name="transition-type">crossfade</property>
<child>
<object class="GtkStackPage">
<property name="name">intro-page</property>
<property name="child">
<object class="AdwStatusPage" id="intro">
<property name="title" translatable="yes">Add VoIP Accounts</property>
<property name="icon-name">system-users-symbolic</property>
<property name="description" translatable="yes">You can add VoIP account here. It will allow you to place and receive VoIP calls using the SIP protocol. This feature is still relatively new and not yet feature complete (i.e. no encrypted media).</property>
<child>
<object class="GtkButton" id="add_btn">
<property name="margin-start">6</property>
<property name="margin-end">6</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<property name="halign">center</property>
<property name="use-underline">True</property>
<property name="label" translatable="yes">_Add Account</property>
<signal name="clicked" handler="on_add_account_clicked" swapped="yes"/>
<style>
<class name="suggested-action"/>
</style>
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">overview-page</property>
<property name="child">
<object class="GtkListBox" id="overview">
<property name="selection-mode">none</property>
<property name="margin-top">18</property>
<property name="margin-bottom">18</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<signal name="row-activated" handler="on_account_row_activated" swapped="no"/>
<style>
<class name="boxed-list"/>
</style>
</object>
</property>
</object>
</child>
</object>
</property>
</object>
</property>
</object>
</child>
</template>
<object class="GtkListBoxRow" id="add_row">
<property name="child">
<object class="GtkLabel">
<property name="label" translatable="yes">_Add Account</property>
<property name="use-underline">True</property>
<property name="margin-top">9</property>
<property name="margin-bottom">9</property>
</object>
</property>
</object>
<object class="AdwWindow" id="account_window">
<property name="visible">False</property>
<property name="default-width">380</property>
<property name="default-height">660</property>
<property name="hide-on-close">True</property>
</object>
</interface>