1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-17 16:05:36 +00:00
Purism-Calls/src/ui/account-overview.ui

109 lines
5 KiB
Text
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<requires lib="libadwaita" version="1.0"/>
<template class="CallsAccountOverview" parent="AdwWindow">
<property name="visible">True</property>
<property name="default-width">380</property>
<property name="default-height">660</property>
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="AdwHeaderBar">
<property name="title" translatable="yes">VoIP Accounts</property>
<property name="show-close-button">True</property>
<property name="visible">True</property>
<child>
<object class="GtkSpinner" id="spinner"/>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
</object>
</child>
<child>
<object class="GtkOverlay">
<child type="overlay">
<object class="CallsInAppNotification" id="in_app_notification">
<property name="can-target">False</property>
<property name="visible">True</property>
</object>
</child>
<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="visible">True</property>
<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"/>
<child type="placeholder"/>
<style>
<class name="content"/>
</style>
</object>
</property>
</object>
</child>
</object>
</property>
</object>
</child>
</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>
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
</object>
</interface>