diff options
Diffstat (limited to 'panels/search/cc-search-panel.ui')
-rw-r--r-- | panels/search/cc-search-panel.ui | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/panels/search/cc-search-panel.ui b/panels/search/cc-search-panel.ui new file mode 100644 index 0000000..7876fe8 --- /dev/null +++ b/panels/search/cc-search-panel.ui @@ -0,0 +1,57 @@ +<?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">Application Search</property> + <property name="subtitle" translatable="yes">Include application-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="AdwActionRow" id="settings_row"> + <property name="title" translatable="yes">Search Locations</property> + <property name="subtitle" translatable="yes">Folders which are searched by system applications.</property> + <property name="activatable">True</property> + <signal name="activated" handler="settings_row_activated" object="CcSearchPanel" swapped="no"/> + <child type="suffix"> + <object class="GtkImage"> + <property name="icon-name">go-next-symbolic</property> + </object> + </child> + </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> |