Hello community, here is the log from the commit of package yast2-network for openSUSE:Factory checked in at 2016-08-25 09:53:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-network (Old) and /work/SRC/openSUSE:Factory/.yast2-network.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-network" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-network/yast2-network.changes 2016-08-22 10:48:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-network.new/yast2-network.changes 2016-08-25 09:53:06.000000000 +0200 @@ -1,0 +2,7 @@ +Fri Aug 19 08:59:14 UTC 2016 - mfi...@suse.com + +- bnc#991382 + - init and store IFPLUGD_PRIORITY properly +- 3.1.167 + +------------------------------------------------------------------- Old: ---- yast2-network-3.1.166.tar.bz2 New: ---- yast2-network-3.1.167.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-network.spec ++++++ --- /var/tmp/diff_new_pack.GMVRAW/_old 2016-08-25 09:53:07.000000000 +0200 +++ /var/tmp/diff_new_pack.GMVRAW/_new 2016-08-25 09:53:07.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-network -Version: 3.1.166 +Version: 3.1.167 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-network-3.1.166.tar.bz2 -> yast2-network-3.1.167.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-3.1.166/package/yast2-network.changes new/yast2-network-3.1.167/package/yast2-network.changes --- old/yast2-network-3.1.166/package/yast2-network.changes 2016-08-19 16:48:53.000000000 +0200 +++ new/yast2-network-3.1.167/package/yast2-network.changes 2016-08-23 09:35:26.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Aug 19 08:59:14 UTC 2016 - mfi...@suse.com + +- bnc#991382 + - init and store IFPLUGD_PRIORITY properly +- 3.1.167 + +------------------------------------------------------------------- Thu Aug 18 08:52:41 UTC 2016 - mfi...@suse.com - bnc#991486 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-3.1.166/package/yast2-network.spec new/yast2-network-3.1.167/package/yast2-network.spec --- old/yast2-network-3.1.166/package/yast2-network.spec 2016-08-19 16:48:53.000000000 +0200 +++ new/yast2-network-3.1.167/package/yast2-network.spec 2016-08-23 09:35:26.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-network -Version: 3.1.166 +Version: 3.1.167 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-3.1.166/src/include/network/lan/address.rb new/yast2-network-3.1.167/src/include/network/lan/address.rb --- old/yast2-network-3.1.166/src/include/network/lan/address.rb 2016-08-19 16:48:53.000000000 +0200 +++ new/yast2-network-3.1.167/src/include/network/lan/address.rb 2016-08-23 09:35:26.000000000 +0200 @@ -1174,12 +1174,18 @@ UI.ChangeWidget( Id("IFPLUGD_PRIORITY"), :Value, - Builtins.tointeger(Ops.get_string(@settings, "IFPLUGD_PRIORITY", "0")) + @settings["IFPLUGD_PRIORITY"].to_i ) nil end + # Stores content of IFPLUGD_PRIORITY widget into internal variables + def store_ifplugd_priority(_key, _event) + ifp_prio = UI.QueryWidget(Id("IFPLUGD_PRIORITY"), :Value).to_s + LanItems.ifplugd_priority = ifp_prio if !ifp_prio.empty? + end + def general_tab type = LanItems.GetCurrentType @@ -1408,7 +1414,8 @@ " then we need a way to decide which interface to take up. Therefore we have to\n" \ " set the priority of each interface. </p>\n" ), - "init" => fun_ref(method(:initIfplugdPriority), "void (string)") + "init" => fun_ref(method(:initIfplugdPriority), "void (string)"), + "store" => fun_ref(method(:store_ifplugd_priority), "void (string, map)") ) Ops.set(wd, ["IFCFGTYPE", "items"], BuildTypesListCWM(NetworkInterfaces.GetDeviceTypes)) @@ -1504,12 +1511,6 @@ ifcfgname = Ops.get_string(LanItems.getCurrentItem, "ifcfg", "") # general tab LanItems.startmode = Ops.get_string(@settings, "STARTMODE", "") - if LanItems.startmode == "ifplugd" - ifp_prio = Builtins.tostring( - UI.QueryWidget(Id("IFPLUGD_PRIORITY"), :Value) - ) - LanItems.ifplugd_priority = ifp_prio if !ifp_prio.nil? - end if SuSEFirewall4Network.IsInstalled zone = Ops.get_string(@settings, "FWZONE", "")