[Banshee-List] [PATCH] Track properties button



Hi all,

Pretty trivial patch this one. Basically adds the track properties/metadata editor button to the footer panel.

I've also got the shuffle/repeat stuff working, but it requires some changes to IBasicPlaybackController and friends, so I'm re-working the bits I've modified to make it a bit prettier.

Cheers,
Alex Hixon
Index: src/Core/Nereid/Nereid/PlayerInterface.cs
===================================================================
--- src/Core/Nereid/Nereid/PlayerInterface.cs	(revision 3136)
+++ src/Core/Nereid/Nereid/PlayerInterface.cs	(working copy)
@@ -201,10 +201,15 @@
             status_label.ModifyFg (StateType.Normal, Hyena.Gui.GtkUtilities.ColorBlend (
                 status_label.Style.Foreground (StateType.Normal), status_label.Style.Background (StateType.Normal)));
             
+            ActionButton song_properties_button = new ActionButton
+                (action_service.TrackActions["TrackPropertiesAction"]);
+            song_properties_button.IconSize = IconSize.Menu;
+            song_properties_button.LabelVisible = false;
+            
             //footer_box.PackStart (shuffle_toggle_button, false, false, 0);
             //footer_box.PackStart (repeat_toggle_button, false, false, 0);
             footer_box.PackStart (status_label, true, true, 0);
-            //footer_box.PackStart (song_properties_button, false, false, 0);
+            footer_box.PackStart (song_properties_button, false, false, 0);
 
             Alignment align = new Alignment (0.5f, 0.5f, 1.0f, 1.0f);
             align.TopPadding = 6;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]