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

View File

@@ -3,7 +3,6 @@
<requires lib="gtk" version="4.0"/> <requires lib="gtk" version="4.0"/>
<requires lib="libadwaita" version="1.0"/> <requires lib="libadwaita" version="1.0"/>
<template class="CallsAccountOverview" parent="AdwWindow"> <template class="CallsAccountOverview" parent="AdwWindow">
<property name="visible">True</property>
<property name="default-width">380</property> <property name="default-width">380</property>
<property name="default-height">660</property> <property name="default-height">660</property>
<property name="hide-on-close">True</property> <property name="hide-on-close">True</property>
@@ -11,7 +10,6 @@
<object class="AdwToolbarView"> <object class="AdwToolbarView">
<child type="top"> <child type="top">
<object class="AdwHeaderBar"> <object class="AdwHeaderBar">
<property name="visible">True</property>
<child type="end"> <child type="end">
<object class="GtkSpinner" id="spinner"/> <object class="GtkSpinner" id="spinner"/>
</child> </child>
@@ -28,7 +26,6 @@
<property name="name">intro-page</property> <property name="name">intro-page</property>
<property name="child"> <property name="child">
<object class="AdwStatusPage" id="intro"> <object class="AdwStatusPage" id="intro">
<property name="visible">True</property>
<property name="title" translatable="yes">Add VoIP Accounts</property> <property name="title" translatable="yes">Add VoIP Accounts</property>
<property name="icon-name">system-users-symbolic</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="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="gtk" version="4.0"/>
<requires lib="libadwaita" version="1.0"/> <requires lib="libadwaita" version="1.0"/>
<template class="CallsAccountRow" parent="AdwActionRow"> <template class="CallsAccountRow" parent="AdwActionRow">
<property name="visible">True</property>
<property name="title">Title</property> <property name="title">Title</property>
<property name="subtitle">Subtitle</property> <property name="subtitle">Subtitle</property>
<property name="activatable">True</property> <property name="activatable">True</property>
<child type="prefix"> <child type="prefix">
<object class="AdwAvatar" id="avatar"> <object class="AdwAvatar" id="avatar">
<property name="visible">True</property>
<property name="show-initials">True</property> <property name="show-initials">True</property>
<property name="size">48</property> <property name="size">48</property>
</object> </object>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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