From: Hendrik Jaeger Date: Mon, 1 Aug 2011 20:33:34 +0000 (+0200) Subject: On branch master X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=0dbc5232d356dc29592eb5bbd60130d969e27190;p=user%2Fhenk%2Fcode%2Fruby%2Fgrux.git On branch master Changes to be committed: modified: bin/grux.rb --- diff --git a/bin/grux.rb b/bin/grux.rb index 1304d9a..faf07fe 100755 --- a/bin/grux.rb +++ b/bin/grux.rb @@ -169,18 +169,18 @@ class Grux::ClientWin < Gtk::VBox @statusBar.push( @statusBar.get_context_id( "playback" ), "Skipped playback by #{offset} song#{offset.abs >= 1 ? "s" : ''}" ) true end - true + true end end def handle_playback_status( status ) @playbackState = status @stateLbl.text = case status - when 0 then "stopped" - when 1 then "playing" - when 2 then "paused" - else "unknown" - end + when 0 then "stopped" + when 1 then "playing" + when 2 then "paused" + else "unknown" + end true end @@ -324,17 +324,17 @@ class Grux::ClientWin < Gtk::VBox @rpt1Btn.signal_handler_block( @rpt1BtnClkdHndlr ) do @rpt1Btn.active = if( @currentconfig[:"playlist.repeat_one"] == "1" ) - true - else - false - end + true + else + false + end end @rptBtn.signal_handler_block( @rptBtnClkdHndlr ) do @rptBtn.active = if @currentconfig[:"playlist.repeat_all"] == "1" - true - else - false - end + true + else + false + end end true end