summaryrefslogtreecommitdiff
path: root/bin/grux.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bin/grux.rb')
-rwxr-xr-xbin/grux.rb28
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