diff --git a/package/yast2-ruby-bindings.changes b/package/yast2-ruby-bindings.changes index 0d31e380..a53921cb 100644 --- a/package/yast2-ruby-bindings.changes +++ b/package/yast2-ruby-bindings.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 2 14:03:19 UTC 2017 - jreidinger@suse.com + +- fix calling YaST CLI (bsc#1033993) +- 3.2.12 + ------------------------------------------------------------------- Mon Apr 10 11:50:04 UTC 2017 - jreidinger@suse.com diff --git a/package/yast2-ruby-bindings.spec b/package/yast2-ruby-bindings.spec index 4cdbb8de..3a8e980a 100644 --- a/package/yast2-ruby-bindings.spec +++ b/package/yast2-ruby-bindings.spec @@ -17,7 +17,7 @@ Name: yast2-ruby-bindings -Version: 3.2.11 +Version: 3.2.12 Url: https://github.com/yast/yast-ruby-bindings Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff --git a/src/y2start/y2start b/src/y2start/y2start index 2a68fec9..648e084a 100755 --- a/src/y2start/y2start +++ b/src/y2start/y2start @@ -48,7 +48,8 @@ hostname = "" if hostname == "(none)" hostname = " @ #{hostname}" unless hostname.empty? title = "YaST2 - #{args[:client_name]}#{hostname}" -Yast::UI.SetApplicationTitle(title) +# set title only if it is not CLI (bsc#1033993) +Yast::UI.SetApplicationTitle(title) if args[:client_options][:params].empty? Yast::WFM.CallFunction(args[:client_name], args[:client_options][:params])