gnome-control-center/panels/search/cc-search-locations-dialog.ui
Automeris naranja 4b1147add9 search-locations-dialog: Add ellipsis to the "Add Location" button
"Use an ellipsis (…) at the end of a label if further input or confirmation
is required from the user before the action can be carried out"

https://developer.gnome.org/hig/guidelines/writing-style.html
2023-10-03 14:26:26 +00:00

91 lines
4.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<template class="CcSearchLocationsDialog" parent="AdwWindow">
<property name="modal">True</property>
<property name="width-request">360</property>
<property name="height-request">294</property>
<property name="default-width">640</property>
<property name="default-height">576</property>
<property name="hide-on-close">True</property>
<property name="title" translatable="yes">Search Locations</property>
<property name="content">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar"/>
</child>
<property name="content">
<object class="AdwPreferencesPage">
<property name="description" translatable="yes">Folders which are searched by system apps, such as Files, Photos and Videos.</property>
<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>
</property>
</object>
</property>
</template>
</interface>