Skip to content

Commit

Permalink
Merge pull request #51 from varkoly/SLE-15-SP2
Browse files Browse the repository at this point in the history
bsc#1176645
  • Loading branch information
varkoly committed Oct 1, 2020
2 parents 3ea24ba + 7642e35 commit 4787244
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions package/yast2-mail.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Sep 30 20:03:51 UTC 2020 - Peter Varkoly <varkoly@suse.com>

- bsc#1176645 - Running Yast2 Mail multiple times creates excess
brackets in postfix configuration
- 4.2.3

-------------------------------------------------------------------
Tue Aug 27 18:06:21 CEST 2019 - schubi@suse.de

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-mail.spec
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-mail
Version: 4.2.2
Version: 4.2.3
Release: 0
Summary: YaST2 - Mail Configuration
License: GPL-2.0-or-later
Expand Down
4 changes: 3 additions & 1 deletion src/include/mail/ui.rb
Expand Up @@ -989,7 +989,9 @@ def OutgoingAuthOptions
config = Builtins.add(config, "password", "")
end

UI.ChangeWidget(Id(:server), :Value, Ops.get_string(config, "server", ""))
server = Ops.get_string(config, "server", "")
server.delete!("[]")
UI.ChangeWidget(Id(:server), :Value, server)
UI.ChangeWidget(Id(:user), :Value, Ops.get_string(config, "user", ""))
UI.ChangeWidget(
Id(:passw),
Expand Down

0 comments on commit 4787244

Please sign in to comment.