]> git.netwichtig.de Git - user/henk/code/ruby/grux.git/commitdiff
On branch master
authorHendrik Jaeger <henk@frustcomp>
Mon, 1 Aug 2011 20:33:34 +0000 (22:33 +0200)
committerHendrik Jaeger <henk@frustcomp>
Mon, 1 Aug 2011 20:33:34 +0000 (22:33 +0200)
Changes to be committed:

      modified:   bin/grux.rb

bin/grux.rb

index 1304d9a2fe22330ebcaa4389c0900b9d4422e6b7..faf07fe4544704a8702693fef48b1d3fb79959dc 100755 (executable)
@@ -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