diff options
Diffstat (limited to 'panels/search/cc-search-locations-dialog.ui')
-rw-r--r-- | panels/search/cc-search-locations-dialog.ui | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/panels/search/cc-search-locations-dialog.ui b/panels/search/cc-search-locations-dialog.ui new file mode 100644 index 0000000..20ad732 --- /dev/null +++ b/panels/search/cc-search-locations-dialog.ui @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <template class="CcSearchLocationsDialog" parent="AdwPreferencesWindow"> + <property name="modal">True</property> + <property name="hide-on-close">True</property> + <property name="search-enabled">False</property> + <property name="title" translatable="yes">Search Locations</property> + <child> + <object class="AdwPreferencesPage"> + <child> + <object class="AdwPreferencesGroup"> + <property name="description" translatable="yes">Folders which are searched by system applications, such as Files, Photos and Videos.</property> + </object> + </child> + <child> + <object class="AdwPreferencesGroup" id="places_group"> + <property name="title" translatable="yes">Places</property> + <child> + <object class="GtkListBox" id="places_list"> + <property name="selection-mode">none</property> + <signal name="keynav-failed" handler="keynav_failed_cb" object="CcSearchLocationsDialog" swapped="yes"/> + <accessibility> + <relation name="labelled-by">places_group</relation> + </accessibility> + <style> + <class name="boxed-list"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="AdwPreferencesGroup" id="bookmarks_group"> + <property name="title" translatable="yes">Bookmarks</property> + <child> + <object class="GtkListBox" id="bookmarks_list"> + <property name="selection-mode">none</property> + <signal name="keynav-failed" handler="keynav_failed_cb" object="CcSearchLocationsDialog" swapped="yes"/> + <accessibility> + <relation name="labelled-by">bookmarks_group</relation> + </accessibility> + <style> + <class name="boxed-list"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="AdwPreferencesGroup" id="others_group"> + <property name="title" translatable="yes">Others</property> + <property name="header-suffix"> + <object class="GtkButton" id="locations_add"> + <property name="valign">center</property> + <property name="child"> + <object class="AdwButtonContent"> + <property name="icon-name">list-add-symbolic</property> + <property name="label" translatable="yes">Add Location</property> + </object> + </property> + <signal name="clicked" handler="add_button_clicked" object="CcSearchLocationsDialog" swapped="yes"/> + <style> + <class name="flat"/> + </style> + </object> + </property> + <child> + <object class="GtkListBox" id="others_list"> + <property name="selection-mode">none</property> + <signal name="keynav-failed" handler="keynav_failed_cb" object="CcSearchLocationsDialog" swapped="yes"/> + <accessibility> + <relation name="labelled-by">others_group</relation> + </accessibility> + <style> + <class name="boxed-list"/> + </style> + </object> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |