diff options
author | Hendrik Jaeger <henk@frustcomp> | 2011-08-01 22:33:34 +0200 |
---|---|---|
committer | Hendrik Jaeger <henk@frustcomp> | 2011-08-01 22:33:34 +0200 |
commit | 0dbc5232d356dc29592eb5bbd60130d969e27190 (patch) | |
tree | 3ec3c5c3ea727ac63ad870bdf089e6a20cb7766c | |
parent | ade2394acae3feaf3ad38cde310d69570032bff0 (diff) |
On branch master
Changes to be committed:
modified: bin/grux.rb
-rwxr-xr-x | bin/grux.rb | 28 |
1 files changed, 14 insertions, 14 deletions
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 |