mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +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
87 lines
3.7 KiB
XML
87 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="transmission-gtk">
|
|
<requires lib="gtk" version="4.0"/>
|
|
<object class="GtkDialog" id="AddTrackerDialog">
|
|
<property name="modal">1</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="url_section_label">
|
|
<property name="label" translatable="1">Tracker</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkGrid" id="url_section_layout">
|
|
<property name="row-spacing">6</property>
|
|
<property name="column-spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel" id="url_label">
|
|
<property name="label" translatable="1">_Announce URL:</property>
|
|
<property name="use-underline">1</property>
|
|
<property name="mnemonic-widget">url_entry</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="url_entry">
|
|
<property name="width-request">400</property>
|
|
<property name="focusable">1</property>
|
|
<property name="hexpand">1</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">0</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="open_button">
|
|
<property name="label" translatable="1">_Add</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="accept">open_button</action-widget>
|
|
</action-widgets>
|
|
</object>
|
|
</interface>
|