From 0dbc5232d356dc29592eb5bbd60130d969e27190 Mon Sep 17 00:00:00 2001 From: Hendrik Jaeger Date: Mon, 1 Aug 2011 22:33:34 +0200 Subject: On branch master Changes to be committed: modified: bin/grux.rb --- bin/grux.rb | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to '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 -- cgit v1.2.3