Index: src/squeezeplay/share/applets/ImageViewer/ImageViewerApplet.lua =================================================================== --- src/squeezeplay/share/applets/ImageViewer/ImageViewerApplet.lua (revision 8660) +++ src/squeezeplay/share/applets/ImageViewer/ImageViewerApplet.lua (working copy) @@ -782,14 +782,6 @@ end }, { - text = self:string("IMAGE_VIEWER_ROTATION"), - sound = "WINDOWSHOW", - callback = function(event, menuItem) - self:defineRotation(menuItem) - return EVENT_CONSUME - end - }, - { text = self:string("IMAGE_VIEWER_ZOOM"), sound = "WINDOWSHOW", callback = function(event, menuItem) @@ -807,6 +799,17 @@ }, } + if System:hasDeviceRotation() then + table.insert(settingsMenu, 5, { + text = self:string("IMAGE_VIEWER_ROTATION"), + sound = "WINDOWSHOW", + callback = function(event, menuItem) + self:defineRotation(menuItem) + return EVENT_CONSUME + end + }) + end + -- no need for a source setting on baby - we don't have any choice if System:hasLocalStorage() then table.insert(settingsMenu, 1, {