mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-04 15:43:28 +00:00
[#2857] [Notification] Fix issues with SMTP port input
This commit is contained in:
parent
d38b8fc45c
commit
904a51835b
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<glade-interface>
|
<glade-interface>
|
||||||
<!-- interface-requires gtk+ 2.6 -->
|
<!-- interface-requires gtk+ 2.16 -->
|
||||||
<!-- interface-naming-policy toplevel-contextual -->
|
<!-- interface-naming-policy toplevel-contextual -->
|
||||||
<widget class="GtkWindow" id="window">
|
<widget class="GtkWindow" id="window">
|
||||||
<child>
|
<child>
|
||||||
@ -179,7 +179,6 @@
|
|||||||
<widget class="GtkEntry" id="smtp_host">
|
<widget class="GtkEntry" id="smtp_host">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="invisible_char">●</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">1</property>
|
<property name="left_attach">1</property>
|
||||||
@ -205,12 +204,10 @@
|
|||||||
<widget class="GtkSpinButton" id="smtp_port">
|
<widget class="GtkSpinButton" id="smtp_port">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="max_length">65535</property>
|
<property name="max_length">5</property>
|
||||||
<property name="invisible_char">●</property>
|
|
||||||
<property name="width_chars">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="climb_rate">1</property>
|
||||||
<property name="snap_to_ticks">True</property>
|
|
||||||
<property name="numeric">True</property>
|
<property name="numeric">True</property>
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
@ -235,7 +232,6 @@
|
|||||||
<widget class="GtkEntry" id="smtp_user">
|
<widget class="GtkEntry" id="smtp_user">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="invisible_char">●</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">1</property>
|
<property name="left_attach">1</property>
|
||||||
@ -259,7 +255,6 @@
|
|||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="visibility">False</property>
|
<property name="visibility">False</property>
|
||||||
<property name="invisible_char">●</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">1</property>
|
<property name="left_attach">1</property>
|
||||||
@ -401,7 +396,6 @@
|
|||||||
<widget class="GtkEntry" id="smtp_from">
|
<widget class="GtkEntry" id="smtp_from">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="invisible_char">●</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">1</property>
|
<property name="left_attach">1</property>
|
||||||
|
@ -254,7 +254,6 @@ class GtkUI(GtkPluginBase, GtkUiNotifications):
|
|||||||
"notifications-gtk.conf", DEFAULT_PREFS
|
"notifications-gtk.conf", DEFAULT_PREFS
|
||||||
)
|
)
|
||||||
self.glade = gtk.glade.XML(get_resource("config.glade"))
|
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 = self.glade.get_widget("prefs_box")
|
||||||
self.prefs.show_all()
|
self.prefs.show_all()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user