1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-13 16:07:36 +00:00

account-overview: Reindent ui file

This was done to avoid the diff noise in the previous commit introducing
the in app notifications to the account overview.
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-12-15 14:07:54 +01:00
parent 2a9791a9a3
commit cc8da717b1

View file

@ -36,57 +36,56 @@
<property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkStack" id="stack">
<property name="visible">True</property>
<property name="vexpand">True</property>
<property name="transition-type">crossfade</property>
<!-- First child type: No accounts present: Show a blurb and a Add button -->
<child>
<object class="HdyStatusPage" id="intro">
<object class="GtkStack" id="stack">
<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>
<property name="vexpand">True</property>
<property name="transition-type">crossfade</property>
<!-- First child type: No accounts present: Show a blurb and a Add button -->
<child>
<object class="GtkButton" id="add_btn">
<object class="HdyStatusPage" id="intro">
<property name="visible">True</property>
<property name="margin">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>
<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="visible">True</property>
<property name="margin">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>
<packing>
<property name="name">intro-page</property>
</packing>
</child>
<!-- Second child type: Some accounts present: Show a Listbox to manage accounts -->
<child>
<object class="GtkListBox" id="overview">
<property name="visible">True</property>
<property name="selection-mode">none</property>
<!-- placeholder -->
<child type="placeholder"/>
</object>
<packing>
<property name="name">overview-page</property>
</packing>
</child>
</object>
<packing>
<property name="name">intro-page</property>
</packing>
</child>
<!-- Second child type: Some accounts present: Show a Listbox to manage accounts -->
<child>
<object class="GtkListBox" id="overview">
<property name="visible">True</property>
<property name="selection-mode">none</property>
<!-- placeholder -->
<child type="placeholder"/>
</object>
<packing>
<property name="name">overview-page</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>