gnome-control-center/panels/search/cc-search-panel.ui
2023-05-30 08:36:22 +00:00

53 lines
2.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcSearchPanel" parent="CcPanel">
<child type="content">
<object class="AdwPreferencesPage">
<child>
<object class="AdwPreferencesGroup">
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">App Search</property>
<property name="subtitle" translatable="yes">Include app-provided search results.</property>
<property name="activatable-widget">main_switch</property>
<child type="suffix">
<object class="GtkSwitch" id="main_switch">
<property name="valign">center</property>
</object>
</child>
</object>
</child>
<child>
<object class="CcListRow" id="settings_row">
<property name="title" translatable="yes">Search Locations</property>
<property name="subtitle" translatable="yes">Folders which are searched by system apps.</property>
<property name="activatable">True</property>
<property name="show-arrow">True</property>
<signal name="activated" handler="settings_row_activated" object="CcSearchPanel" swapped="yes"/>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup" id="search_group">
<property name="title" translatable="yes">Search Results</property>
<property name="description" translatable="yes">Results are displayed according to the list order.</property>
<child>
<object class="GtkListBox" id="list_box">
<property name="selection-mode">none</property>
<signal name="keynav-failed" handler="keynav_failed_cb" object="CcSearchPanel" swapped="yes"/>
<accessibility>
<relation name="labelled-by">search_group</relation>
</accessibility>
<style>
<class name="boxed-list"/>
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>