Author: fmueller Date: Wed Jul 27 04:57:06 2011 New Revision: 9460 URL: http://svn.slimdevices.com/jive?rev=9460&view=rev Log: Bug: n/a Description: Fix issue with text on second line not showing in Network Health label
Modified: 7.6/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua Modified: 7.6/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua URL: http://svn.slimdevices.com/jive/7.6/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua?rev=9460&r1=9459&r2=9460&view=diff ============================================================================== --- 7.6/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua (original) +++ 7.6/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua Wed Jul 27 04:57:06 2011 @@ -861,8 +861,10 @@ self.labels = {} self.labels["NETWORK_STATUS"] = { --- text = self:string("NETWORK_STATUS", '-'), - text = self:string("NETWORK_STATUS", tostring(self:string("NET_HEALTH_HINT"))), +-- For some reason (I have no idea why) the second line is not show anymore in this label +-- and since the second line is the important one the quick fix is to swap the two lines +-- text = self:string("NETWORK_STATUS", tostring(self:string("NET_HEALTH_HINT"))), + text = self:string(tostring(self:string("NET_HEALTH_HINT")), ''), style = 'item_info', } menu:addItem(self.labels["NETWORK_STATUS"]) @@ -930,7 +932,10 @@ myItem.style = "item_info_red" end - self.networkHealthMenu:setText(self.labels[index], self:string(index, msgStr)) +-- For some reason (I have no idea why) the second line is not show anymore in this label +-- and since the second line is the important one the quick fix is to swap the two lines +-- self.networkHealthMenu:setText(self.labels[index], self:string(index, msgStr)) + self.networkHealthMenu:setText(self.labels[index], self:string(msgStr, '')) self.networkHealthMenu:setSelectedIndex(1) -- TODO: needed? _______________________________________________ Jive-checkins mailing list Jive-checkins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/jive-checkins