This one was the first panel ported that used Drag n' Drop, and we can see how much of an improvement GTK4 is compared to GTK3 when handling DnD.
137 lines
6.1 KiB
XML
137 lines
6.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<template class="CcSearchLocationsDialog" parent="GtkDialog">
|
|
<property name="default_height">400</property>
|
|
<property name="default_width">360</property>
|
|
<property name="modal">True</property>
|
|
<property name="title" translatable="yes">Search Locations</property>
|
|
<property name="use_header_bar">1</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkNotebook">
|
|
<property name="show-border">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="vexpand">True</property>
|
|
<property name="margin-top">35</property>
|
|
<property name="margin-bottom">35</property>
|
|
<property name="margin-start">35</property>
|
|
<property name="margin-end">35</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="wrap">True</property>
|
|
<property name="margin-bottom">35</property>
|
|
<property name="label" translatable="yes">Folders which are searched by system applications, such as Files, Photos and Videos.</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBox" id="places_list">
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="label" translatable="yes">Places</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="vexpand">True</property>
|
|
<property name="margin-top">35</property>
|
|
<property name="margin-bottom">35</property>
|
|
<property name="margin-start">35</property>
|
|
<property name="margin-end">35</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="wrap">True</property>
|
|
<property name="margin-bottom">35</property>
|
|
<property name="label" translatable="yes">Folders which are searched by system applications, such as Files, Photos and Videos.</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBox" id="bookmarks_list">
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="label" translatable="yes">Bookmarks</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="vexpand">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="wrap">True</property>
|
|
<property name="margin-top">35</property>
|
|
<property name="margin-bottom">35</property>
|
|
<property name="margin-start">35</property>
|
|
<property name="margin-end">35</property>
|
|
<property name="label" translatable="yes">Folders which are searched by system applications, such as Files, Photos and Videos.</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBox" id="others_list">
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSeparator">
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="locations_add">
|
|
<property name="halign">center</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="margin-start">6</property>
|
|
<property name="margin-end">6</property>
|
|
<signal name="clicked" handler="add_button_clicked" object="CcSearchLocationsDialog" swapped="yes"/>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="icon-name">list-add-symbolic</property>
|
|
<property name="icon-size">1</property>
|
|
</object>
|
|
</child>
|
|
<style>
|
|
<class name="flat"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSeparator">
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="label" translatable="yes">Other</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|