1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-05-21 12:39:29 +00:00

treewide: Remove visible=True on adwaita widgets

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
Anton Lazarev 2024-01-11 23:06:37 -08:00
parent 8ea553bd0c
commit caecf10cc1
9 changed files with 0 additions and 33 deletions

View file

@ -24,7 +24,6 @@
</child>
<child type="top">
<object class="AdwHeaderBar" id="header_edit">
<property name="visible">True</property>
<child type="end">
<object class="GtkButton" id="apply_btn">
<property name="use-underline">True</property>
@ -52,13 +51,10 @@
</child>
<property name="content">
<object class="AdwPreferencesPage">
<property name="visible">True</property>
<child>
<object class="AdwPreferencesGroup">
<property name="visible">True</property>
<child>
<object class="AdwActionRow">
<property name="visible">True</property>
<property name="title" translatable="yes">Server</property>
<child>
<object class="GtkEntry" id="host">
@ -72,10 +68,8 @@
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="visible">True</property>
<child>
<object class="AdwActionRow">
<property name="visible">True</property>
<property name="title" translatable="yes">Display Name</property>
<property name="subtitle" translatable="yes">Optional</property>
<child>
@ -90,10 +84,8 @@
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="visible">True</property>
<child>
<object class="AdwActionRow">
<property name="visible">True</property>
<property name="title" translatable="yes">User ID</property>
<child>
<object class="GtkEntry" id="user">
@ -105,7 +97,6 @@
</child>
<child>
<object class="AdwActionRow">
<property name="visible">True</property>
<property name="title" translatable="yes">Password</property>
<child>
<object class="GtkEntry" id="password">
@ -124,10 +115,8 @@
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="visible">True</property>
<child>
<object class="AdwActionRow">
<property name="visible">True</property>
<property name="title" translatable="yes">Port</property>
<child>
<object class="GtkEntry" id="port">
@ -142,14 +131,12 @@
</child>
<child>
<object class="AdwComboRow" id="protocol">
<property name="visible">True</property>
<property name="title" translatable="yes">Transport</property>
<signal name="notify::selected-index" handler="on_user_changed" swapped="yes"/>
</object>
</child>
<child>
<object class="AdwComboRow" id="media_encryption">
<property name="visible">True</property>
<property name="title" translatable="yes">Media Encryption</property>
<signal name="notify::selected-index" handler="on_user_changed" swapped="yes"/>
</object>
@ -158,10 +145,8 @@
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="visible">True</property>
<child>
<object class="AdwActionRow">
<property name="visible">True</property>
<property name="title" translatable="yes">Use for Phone Calls</property>
<child>
<object class="GtkSwitch" id="tel_switch">
@ -173,7 +158,6 @@
</child>
<child>
<object class="AdwActionRow">
<property name="visible">True</property>
<property name="title" translatable="yes">Automatically Connect</property>
<child>
<object class="GtkSwitch" id="auto_connect_switch">

View file

@ -3,7 +3,6 @@
<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>
<property name="hide-on-close">True</property>
@ -11,7 +10,6 @@
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<property name="visible">True</property>
<child type="end">
<object class="GtkSpinner" id="spinner"/>
</child>
@ -28,7 +26,6 @@
<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>

View file

@ -3,13 +3,11 @@
<requires lib="gtk" version="4.0"/>
<requires lib="libadwaita" version="1.0"/>
<template class="CallsAccountRow" parent="AdwActionRow">
<property name="visible">True</property>
<property name="title">Title</property>
<property name="subtitle">Subtitle</property>
<property name="activatable">True</property>
<child type="prefix">
<object class="AdwAvatar" id="avatar">
<property name="visible">True</property>
<property name="show-initials">True</property>
<property name="size">48</property>
</object>

View file

@ -10,7 +10,6 @@
<object class="GtkBox">
<child>
<object class="AdwAvatar" id="avatar">
<property name="visible">True</property>
<property name="margin-start">8</property>
<property name="margin_top">8</property>
<property name="margin_bottom">8</property>

View file

@ -9,7 +9,6 @@
<property name="vexpand">True</property>
<child>
<object class="AdwClamp">
<property name="visible">True</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>

View file

@ -14,7 +14,6 @@
<property name="row-spacing">3</property>
<child>
<object class="AdwAvatar" id="avatar">
<property name="visible">True</property>
<property name="valign">center</property>
<property name="size">36</property>
<property name="show-initials">True</property>

View file

@ -10,7 +10,6 @@
<property name="name">empty</property>
<property name="child">
<object class="AdwStatusPage">
<property name="visible">True</property>
<property name="icon-name">call-start-symbolic</property>
<property name="title" translatable="yes">No Recent Calls</property>
</object>
@ -25,7 +24,6 @@
<property name="hscrollbar-policy">never</property>
<child>
<object class="AdwClamp">
<property name="visible">True</property>
<child>
<object class="GtkListBox" id="history">
<property name="margin-start">12</property>

View file

@ -10,11 +10,9 @@
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<property name="visible">True</property>
<property name="centering_policy">strict</property>
<child type="title">
<object class="AdwViewSwitcherTitle" id="title_switcher">
<property name="visible">True</property>
<property name="stack">main_stack</property>
<property name="title" bind-source="CallsMainWindow" bind-property="title" bind-flags="sync-create"/>
</object>
@ -56,7 +54,6 @@
</child>
<child>
<object class="AdwViewSwitcherBar" id="switcher_bar">
<property name="visible">True</property>
<property name="stack">main_stack</property>
<property name="reveal" bind-source="title_switcher" bind-property="title-visible" bind-flags="sync-create"/>
</object>
@ -76,7 +73,6 @@
<property name="default-widget">ussd_cancel_button</property>
<child type="titlebar">
<object class="AdwHeaderBar">
<property name="visible">True</property>
<property name="show-start-title-buttons">False</property>
<property name="show-end-title-buttons">False</property>
<child type="start">

View file

@ -11,7 +11,6 @@
<property name="orientation">vertical</property>
<child>
<object class="AdwClamp">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
@ -22,7 +21,6 @@
<property name="halign">center</property>
<child>
<object class="AdwComboRow" id="origin_list">
<property name="visible">True</property>
<signal name="notify::selected-index" handler="notify_selected_index_cb" swapped="yes"/>
</object>
</child>
@ -59,7 +57,6 @@
<property name="subtitle" translatable="yes">SIP Account</property>
<child type="prefix">
<object class="AdwAvatar">
<property name="visible">True</property>
<property name="show-initials">True</property>
<property name="size">36</property>
</object>