project: Remove all visible=True properties
Start the GTK4 port by cleaning up all visible=True properties, since widgets are visible by default on GTK4.
This commit is contained in:
parent
c31640fa12
commit
5bec6e8fdc
6 changed files with 1 additions and 47 deletions
|
@ -10,16 +10,12 @@
|
|||
<property name="search-enabled">False</property>
|
||||
<child>
|
||||
<object class="HdyPreferencesPage">
|
||||
<property name="visible">True</property>
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup" id="group">
|
||||
<property name="visible">True</property>
|
||||
<!-- Translated dynamically: -->
|
||||
<property name="description">Restrict {username} from using the following installed applications.</property>
|
||||
<child>
|
||||
<object class="MctRestrictApplicationsSelector" id="selector">
|
||||
<property name="visible">True</property>
|
||||
</object>
|
||||
<object class="MctRestrictApplicationsSelector" id="selector" />
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
|
|
@ -5,12 +5,10 @@
|
|||
<template class="MctRestrictApplicationsSelector" parent="GtkBox">
|
||||
<child>
|
||||
<object class="GtkListBox" id="listbox">
|
||||
<property name="visible">True</property>
|
||||
<property name="selection-mode">none</property>
|
||||
|
||||
<child type="placeholder">
|
||||
<object class="GtkLabel" id="placeholder">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">No applications found to restrict.</property>
|
||||
</object>
|
||||
</child>
|
||||
|
|
|
@ -5,13 +5,10 @@
|
|||
<template class="MctUserControls" parent="GtkBin">
|
||||
<child>
|
||||
<object class="HdyPreferencesPage">
|
||||
<property name="visible">True</property>
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup">
|
||||
<property name="visible">True</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="description_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="wrap">True</property>
|
||||
<property name="xalign">0.0</property>
|
||||
<property name="yalign">0.0</property>
|
||||
|
@ -28,11 +25,9 @@
|
|||
<!-- Application Usage Restrictions -->
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Application Usage Restrictions</property>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="restrict_web_browsers_row">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Restrict _Web Browsers</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="activatable_widget">restrict_web_browsers_switch</property>
|
||||
|
@ -41,7 +36,6 @@
|
|||
<property name="subtitle_lines">0</property>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="restrict_web_browsers_switch">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="valign">center</property>
|
||||
|
@ -56,7 +50,6 @@
|
|||
|
||||
<child>
|
||||
<object class="HdyActionRow" id="restrict_applications_row">
|
||||
<property name="visible">True</property>
|
||||
<property name="activatable">True</property>
|
||||
<property name="title" translatable="yes">_Restrict Applications</property>
|
||||
<property name="use_underline">True</property>
|
||||
|
@ -66,7 +59,6 @@
|
|||
<property name="action-name">permissions.restrict-applications</property>
|
||||
<child>
|
||||
<object class="GtkImage">
|
||||
<property name="visible">True</property>
|
||||
<property name="icon-name">go-next-symbolic</property>
|
||||
</object>
|
||||
</child>
|
||||
|
@ -81,7 +73,6 @@
|
|||
<!-- Software Installation Restrictions -->
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Software Installation Restrictions</property>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="restrict_software_installation_row">
|
||||
|
@ -94,7 +85,6 @@
|
|||
<property name="subtitle_lines">0</property>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="restrict_software_installation_switch">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="valign">center</property>
|
||||
|
@ -109,7 +99,6 @@
|
|||
|
||||
<child>
|
||||
<object class="HdyActionRow">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Application _Suitability</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="activatable_widget">oars_button</property>
|
||||
|
@ -117,7 +106,6 @@
|
|||
<property name="subtitle_lines">0</property>
|
||||
<child>
|
||||
<object class="GtkMenuButton" id="oars_button">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="valign">center</property>
|
||||
|
@ -125,11 +113,9 @@
|
|||
<property name="popover">oars_popover</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="oars_button_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="label"></property>
|
||||
<property name="expand">True</property>
|
||||
<property name="halign">start</property>
|
||||
|
@ -138,7 +124,6 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkImage">
|
||||
<property name="visible">True</property>
|
||||
<property name="icon-name">pan-down-symbolic</property>
|
||||
<property name="icon-size">4</property><!-- GTK_ICON_SIZE_BUTTON -->
|
||||
</object>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue