mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 20:44:50 +00:00
Gtkui: Add an alignment container to radio buttons in interface preferences
This commit is contained in:
parent
65f3c12d2d
commit
a754f1303f
@ -2,6 +2,19 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="2.16"/>
|
<requires lib="gtk+" version="2.16"/>
|
||||||
<!-- interface-naming-policy toplevel-contextual -->
|
<!-- interface-naming-policy toplevel-contextual -->
|
||||||
|
<object class="GtkAdjustment" id="adjustment_cache_expiry">
|
||||||
|
<property name="lower">1</property>
|
||||||
|
<property name="upper">32000</property>
|
||||||
|
<property name="value">60</property>
|
||||||
|
<property name="step_increment">1</property>
|
||||||
|
<property name="page_increment">10</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkAdjustment" id="adjustment_cache_size">
|
||||||
|
<property name="upper">999999</property>
|
||||||
|
<property name="value">100</property>
|
||||||
|
<property name="step_increment">1</property>
|
||||||
|
<property name="page_increment">10</property>
|
||||||
|
</object>
|
||||||
<object class="GtkAdjustment" id="adjustment_share_ratio">
|
<object class="GtkAdjustment" id="adjustment_share_ratio">
|
||||||
<property name="lower">0.5</property>
|
<property name="lower">0.5</property>
|
||||||
<property name="upper">100</property>
|
<property name="upper">100</property>
|
||||||
@ -22,19 +35,6 @@
|
|||||||
<property name="step_increment">1</property>
|
<property name="step_increment">1</property>
|
||||||
<property name="page_increment">10</property>
|
<property name="page_increment">10</property>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkAdjustment" id="adjustment_cache_expiry">
|
|
||||||
<property name="lower">1</property>
|
|
||||||
<property name="upper">32000</property>
|
|
||||||
<property name="value">60</property>
|
|
||||||
<property name="step_increment">1</property>
|
|
||||||
<property name="page_increment">10</property>
|
|
||||||
</object>
|
|
||||||
<object class="GtkAdjustment" id="adjustment_cache_size">
|
|
||||||
<property name="upper">999999</property>
|
|
||||||
<property name="value">100</property>
|
|
||||||
<property name="step_increment">1</property>
|
|
||||||
<property name="page_increment">10</property>
|
|
||||||
</object>
|
|
||||||
<object class="GtkAdjustment" id="adjustment_spin_daemon_port">
|
<object class="GtkAdjustment" id="adjustment_spin_daemon_port">
|
||||||
<property name="upper">65535</property>
|
<property name="upper">65535</property>
|
||||||
<property name="step_increment">1</property>
|
<property name="step_increment">1</property>
|
||||||
@ -473,13 +473,20 @@
|
|||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkFrame" id="frame_client_mode">
|
<object class="GtkFrame" id="frame_app_mode">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="label_xalign">0</property>
|
<property name="label_xalign">0</property>
|
||||||
<property name="shadow_type">none</property>
|
<property name="shadow_type">none</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkHBox" id="hbox_client_mode">
|
<object class="GtkAlignment" id="alignment_app_mode">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="top_padding">2</property>
|
||||||
|
<property name="left_padding">15</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkHBox" id="hbox_app_mode">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<child>
|
<child>
|
||||||
@ -519,6 +526,8 @@
|
|||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
<child type="label">
|
<child type="label">
|
||||||
<object class="GtkLabel" id="label_client_mode">
|
<object class="GtkLabel" id="label_client_mode">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
@ -585,6 +594,35 @@
|
|||||||
<property name="position">1</property>
|
<property name="position">1</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCheckButton" id="piecesbar_toggle">
|
||||||
|
<property name="use_action_appearance">False</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="tooltip_text" translatable="yes">Besides being experimental, using the pieces bar
|
||||||
|
will increase the bandwidth used between client
|
||||||
|
and daemon(does not apply in classic mode).
|
||||||
|
Use at your own risk if you wish to help us debug
|
||||||
|
this new feature.</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
<signal name="toggled" handler="on_piecesbar_toggle_toggled" swapped="no"/>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="label62">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Show a pieces bar in the torrent's
|
||||||
|
status tab (<b>EXPERIMENTAL!!!</b>)</property>
|
||||||
|
<property name="use_markup">True</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">2</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkExpander" id="piecebar_colors_expander">
|
<object class="GtkExpander" id="piecebar_colors_expander">
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
@ -821,35 +859,6 @@
|
|||||||
<property name="position">2</property>
|
<property name="position">2</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
|
||||||
<object class="GtkCheckButton" id="piecesbar_toggle">
|
|
||||||
<property name="use_action_appearance">False</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="receives_default">False</property>
|
|
||||||
<property name="tooltip_text" translatable="yes">Besides being experimental, using the pieces bar
|
|
||||||
will increase the bandwidth used between client
|
|
||||||
and daemon(does not apply in classic mode).
|
|
||||||
Use at your own risk if you wish to help us debug
|
|
||||||
this new feature.</property>
|
|
||||||
<property name="draw_indicator">True</property>
|
|
||||||
<signal name="toggled" handler="on_piecesbar_toggle_toggled" swapped="no"/>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="label62">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="label" translatable="yes">Show a pieces bar in the torrent's
|
|
||||||
status tab (<b>EXPERIMENTAL!!!</b>)</property>
|
|
||||||
<property name="use_markup">True</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">True</property>
|
|
||||||
<property name="fill">True</property>
|
|
||||||
<property name="position">2</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user