diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2022-03-02 11:02:26 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2022-03-02 11:02:26 +0000 |
commit | e15731fcd4f25d66d81224bb5c4812128d542de7 (patch) | |
tree | 1385275051cff3766f9104be46e9a5195daeb1f0 | |
parent | 2962f7cd2c6d7563c381ffd89021278a63efea49 (diff) | |
download | deluge-e15731fcd4f25d66d81224bb5c4812128d542de7.tar.gz deluge-e15731fcd4f25d66d81224bb5c4812128d542de7.tar.bz2 deluge-e15731fcd4f25d66d81224bb5c4812128d542de7.zip |
[GTK] Fix obscured port number in Connection Manager Add Host
A visual problem with the port spin button meant that the port number
was not fully visible in the entry field.
The problem is related to icon activatable property value set to False
when default is True. Although no icon is used is creates a left-hand
5px space in the entry which narrows the available text space and the
entry does not expand to account for this.
Fixed by removing primary_icon_activatable and
secondary_icon_activatable properies so that default values of True is
used.
-rw-r--r-- | deluge/ui/gtk3/glade/connection_manager.addhost.ui | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/deluge/ui/gtk3/glade/connection_manager.addhost.ui b/deluge/ui/gtk3/glade/connection_manager.addhost.ui index 641a71cc1..12bf9a684 100644 --- a/deluge/ui/gtk3/glade/connection_manager.addhost.ui +++ b/deluge/ui/gtk3/glade/connection_manager.addhost.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.22.1 --> +<!-- Generated with glade 3.22.2 --> <interface> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="adjustment_port"> @@ -16,7 +16,7 @@ <property name="window_position">center-on-parent</property> <property name="destroy_with_parent">True</property> <property name="type_hint">dialog</property> - <child> + <child type="titlebar"> <placeholder/> </child> <child internal-child="vbox"> @@ -98,8 +98,6 @@ <property name="invisible_char">•</property> <property name="activates_default">True</property> <property name="truncate_multiline">True</property> - <property name="primary_icon_activatable">False</property> - <property name="secondary_icon_activatable">False</property> <signal name="paste-clipboard" handler="on_entry_host_paste_clipboard" swapped="no"/> </object> </child> @@ -129,9 +127,8 @@ <property name="max_length">5</property> <property name="invisible_char">•</property> <property name="width_chars">5</property> + <property name="max_width_chars">5</property> <property name="progress_pulse_step">1</property> - <property name="primary_icon_activatable">False</property> - <property name="secondary_icon_activatable">False</property> <property name="adjustment">adjustment_port</property> <property name="climb_rate">1</property> <property name="numeric">True</property> @@ -165,8 +162,6 @@ <property name="visibility">False</property> <property name="invisible_char">•</property> <property name="truncate_multiline">True</property> - <property name="primary_icon_activatable">False</property> - <property name="secondary_icon_activatable">False</property> </object> </child> </object> @@ -186,8 +181,6 @@ <property name="can_focus">True</property> <property name="invisible_char">•</property> <property name="truncate_multiline">True</property> - <property name="primary_icon_activatable">False</property> - <property name="secondary_icon_activatable">False</property> </object> </child> </object> |