mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[#2857] [Notification] Fix issues with SMTP port input
This commit is contained in:
parent
d38b8fc45c
commit
904a51835b
2 changed files with 4 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<glade-interface>
|
||||
<!-- interface-requires gtk+ 2.6 -->
|
||||
<!-- interface-requires gtk+ 2.16 -->
|
||||
<!-- interface-naming-policy toplevel-contextual -->
|
||||
<widget class="GtkWindow" id="window">
|
||||
<child>
|
||||
|
@ -179,7 +179,6 @@
|
|||
<widget class="GtkEntry" id="smtp_host">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="invisible_char">●</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
|
@ -205,12 +204,10 @@
|
|||
<widget class="GtkSpinButton" id="smtp_port">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="max_length">65535</property>
|
||||
<property name="invisible_char">●</property>
|
||||
<property name="max_length">5</property>
|
||||
<property name="width_chars">5</property>
|
||||
<property name="adjustment">25 1 65535 0 10 0</property>
|
||||
<property name="adjustment">25 1 65535 1 10 0</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<property name="snap_to_ticks">True</property>
|
||||
<property name="numeric">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
|
@ -235,7 +232,6 @@
|
|||
<widget class="GtkEntry" id="smtp_user">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="invisible_char">●</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
|
@ -259,7 +255,6 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="visibility">False</property>
|
||||
<property name="invisible_char">●</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
|
@ -401,7 +396,6 @@
|
|||
<widget class="GtkEntry" id="smtp_from">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="invisible_char">●</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
|
|
|
@ -254,7 +254,6 @@ class GtkUI(GtkPluginBase, GtkUiNotifications):
|
|||
"notifications-gtk.conf", DEFAULT_PREFS
|
||||
)
|
||||
self.glade = gtk.glade.XML(get_resource("config.glade"))
|
||||
self.glade.get_widget("smtp_port").set_value(25)
|
||||
self.prefs = self.glade.get_widget("prefs_box")
|
||||
self.prefs.show_all()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue