Skip to content

Commit

Permalink
Merge pull request #149 from yast/avoid-no-widget-message
Browse files Browse the repository at this point in the history
Avoid "No widget..." error messages
  • Loading branch information
imobachgs committed Mar 30, 2021
2 parents 1e140a6 + ef7a38e commit f70a085
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions package/yast2-firewall.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Mar 29 10:14:23 UTC 2021 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Do not display "No widget..." error messages when opening
a firewall zone widget (bsc#1184115).
- 4.3.11

-------------------------------------------------------------------
Fri Feb 12 14:31:50 UTC 2021 - Ancor Gonzalez Sosa <ancor@suse.com>

Expand Down
10 changes: 5 additions & 5 deletions package/yast2-firewall.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-firewall
Version: 4.3.10
Version: 4.3.11
Release: 0
Summary: YaST2 - Firewall Configuration
Group: System/YaST
Expand All @@ -28,13 +28,13 @@ Source0: %{name}-%{version}.tar.bz2

BuildRequires: perl-XML-Writer update-desktop-files yast2-testsuite
BuildRequires: yast2-devtools >= 4.2.2
# Y2Firewall::Firewalld#modified_from_default
BuildRequires: yast2 >= 4.3.17
# CWM::AbstractWidget#displayed?
BuildRequires: yast2 >= 4.3.60
BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake)
BuildRequires: rubygem(%rb_default_ruby_abi:rspec)

# Y2Firewall::Firewalld#modified_from_default
Requires: yast2 >= 4.3.17
# CWM::AbstractWidget#displayed?
Requires: yast2 >= 4.3.60
Requires: yast2-ruby-bindings >= 1.0.0

# ButtonBox widget
Expand Down
2 changes: 1 addition & 1 deletion src/lib/y2firewall/widgets/services_table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def items
def services=(services)
old_services = @services
@services = services
change_items(items)
change_items(items) if displayed?

return if Yast::UI.TextMode

Expand Down

0 comments on commit f70a085

Please sign in to comment.