mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +00:00
f6e1bb2d70
* Reformat GTK *.ui files Remove useless comments since we're mostly editing those files by hand now. Wrap multi-line text values in CDATA to avoid automated formatters changing whitespace there in any way. Collapse empty elements. * Switch from plain `GtkLabel`s to `GtkFrame`s for sections Frames are reported as groupings by assistive technologies. * Fix minor usability issues * Make value labels labelled and selectable
114 lines
5.3 KiB
XML
114 lines
5.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="transmission-gtk">
|
|
<requires lib="gtk" version="4.0"/>
|
|
<object class="GtkDialog" id="RelocateDialog">
|
|
<property name="title" translatable="1">Set Torrent Location</property>
|
|
<child internal-child="content_area">
|
|
<object class="GtkBox" id="dialog_layout">
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">6</property>
|
|
<property name="css-classes">tr-dialog-content</property>
|
|
<property name="vexpand">1</property>
|
|
<child>
|
|
<object class="GtkBox" id="dialog_content_layout">
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkFrame">
|
|
<child type="label">
|
|
<object class="GtkLabel" id="set_location_section_label">
|
|
<property name="label" translatable="1">Location</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkGrid" id="set_location_section_layout">
|
|
<property name="row-spacing">6</property>
|
|
<property name="column-spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel" id="new_location_label">
|
|
<property name="halign">start</property>
|
|
<property name="label" translatable="1">Torrent _location:</property>
|
|
<property name="use-underline">1</property>
|
|
<property name="mnemonic-widget">new_location_button</property>
|
|
<property name="xalign">0</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="gtkmm__CustomObject_10PathButton" id="new_location_button">
|
|
<property name="hexpand">1</property>
|
|
<property name="action">select-folder</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton" id="move_data_radio">
|
|
<property name="label" translatable="1">_Move from the current folder</property>
|
|
<property name="valign">center</property>
|
|
<property name="use-underline">1</property>
|
|
<property name="active">1</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">1</property>
|
|
<property name="column-span">2</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton" id="find_data_radio">
|
|
<property name="label" translatable="1">Local data is _already there</property>
|
|
<property name="valign">center</property>
|
|
<property name="use-underline">1</property>
|
|
<property name="group">move_data_radio</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">2</property>
|
|
<property name="column-span">2</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child internal-child="action_area">
|
|
<object class="GtkBox" id="dialog_buttons">
|
|
<property name="css-classes">tr-button-box</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkButton" id="cancel_button">
|
|
<property name="label" translatable="1">_Cancel</property>
|
|
<property name="focusable">1</property>
|
|
<property name="receives-default">1</property>
|
|
<property name="use-underline">1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="apply_button">
|
|
<property name="label" translatable="1">_Apply</property>
|
|
<property name="focusable">1</property>
|
|
<property name="receives-default">1</property>
|
|
<property name="use-underline">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<action-widgets>
|
|
<action-widget response="cancel">cancel_button</action-widget>
|
|
<action-widget response="apply">apply_button</action-widget>
|
|
</action-widgets>
|
|
</object>
|
|
</interface>
|