Remove trailing whitespaces.

This commit is contained in:
Pascal Obry
2017-04-10 16:59:35 +02:00
parent 76daa583b3
commit efcd48f1d9
7 changed files with 130 additions and 132 deletions

View File

@@ -23,7 +23,7 @@ You need rhythmbox-client installed to use this script
USAGE
* require this script from your main lua file
]]
local dt = require "darktable"
require "official/yield"
@@ -65,14 +65,14 @@ local function playSlideshowMusic(_, old_view, new_view)
if (new_view.id == "slideshow") then
playCommand = 'rhythmbox-client --play-uri="'..filename..'"'
--dt.print_error(playCommand)
dt.control.execute( playCommand)
dt.control.execute( playCommand)
else
if (old_view and old_view.id == "slideshow") then
stopCommand = "rhythmbox-client --pause"
--dt.print_error(stopCommand)
dt.control.execute( stopCommand)
dt.control.execute( stopCommand)
end
end
end
@@ -80,7 +80,7 @@ end
-- Preferences
dt.preferences.register("slideshowMusic", "SlideshowMusic", "file", _("Slideshow background music file"), "", "")
dt.preferences.register("slideshowMusic",
dt.preferences.register("slideshowMusic",
"PlaySlideshowMusic",
"bool",
_("Play slideshow background music"),