Stacked sound player works
[gregoa/zavai.git] / src / app_music.vala
index d066e3c54d4f918afe57c5e190d7caa85f0ee285..8d79e84768da3c238cfec1e22f1af8808e823b6e 100644 (file)
@@ -73,7 +73,7 @@ public class Player : Gtk.VBox
 {
     protected Gtk.Label l_status;
     protected PlayPauseButton b_playpause;
-    protected Gtk.Button b_stop;
+    //protected Gtk.Button b_stop;
     protected Gtk.Button b_prev;
     protected Gtk.Button b_next;
 
@@ -82,15 +82,15 @@ public class Player : Gtk.VBox
         l_status = new Gtk.Label("");
         //l_date.modify_font(Pango.FontDescription.from_string("Sans 40"));
         b_playpause = new PlayPauseButton();
-        b_stop = new Gtk.Button.from_stock(Gtk.STOCK_MEDIA_STOP);
-        b_stop.clicked += (b) => { audio.musicplayer.stop(); };
+        //b_stop = new Gtk.Button.from_stock(Gtk.STOCK_MEDIA_STOP);
+        //b_stop.clicked += (b) => { audio.musicplayer.stop(); };
         b_prev = new Gtk.Button.from_stock(Gtk.STOCK_MEDIA_PREVIOUS);
         b_next = new Gtk.Button.from_stock(Gtk.STOCK_MEDIA_NEXT);
         pack_start(l_status, false, false, 0);
         var buttons = new Gtk.HButtonBox();
         buttons.add(b_prev);
         buttons.add(b_playpause);
-        buttons.add(b_stop);
+        //buttons.add(b_stop);
         buttons.add(b_next);
         pack_start(buttons, false, false, 0);