Author: bklaas
Date: Mon Nov 24 13:03:07 2008
New Revision: 3432
URL: http://svn.slimdevices.com?rev=3432&root=Jive&view=rev
Log:
Bug: 10115
Description: do not allow a window title to have style 'albumtitle' when the
underlying menu is 'albummenu'
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL:
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=3432&root=Jive&r1=3431&r2=3432&view=diff
==============================================================================
---
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
(original)
+++
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
Mon Nov 24 13:03:07 2008
@@ -947,6 +947,13 @@
-- update the window properties
step.menu:setStyle(step.db:menuStyle())
+ local titleBar = step.window:getTitleWidget()
+ -- styling both the menu and title with icons is
problematic to the layout
+ if step.db:menuStyle() == 'albummenu' and
titleBar:getStyle() == 'albumtitle' then
+ titleBar:setWidget('icon', nil)
+ step.window:setTitleStyle('title')
+ end
+
if data.window then
-- if a titleStyle is being sent, we need to
setTitleWidget completely
if data.window.titleStyle or
data.window['icon-id'] then
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins