public MuinsheeActions(Banshee.Playlist.PlaylistSource queue) : base("muinshee") { this.queue = queue; AddImportant ( new ActionEntry ( "PlaySongAction", null, Catalog.GetString ("Play _Song"), "S", Catalog.GetString ("Add a song to the playlist"), OnPlaySong ), new ActionEntry ( "PlayAlbumAction", null, Catalog.GetString ("Play _Album"), "A", Catalog.GetString ("Add an album to the playlist"), OnPlayAlbum ) ); this["PlaySongAction"].IconName = "audio-x-generic"; this["PlayAlbumAction"].IconName = "media-optical"; // TODO disable certain actions // Actions.TrackActions.UpdateActions (false, false, "SearchMenu"); AddUiFromFile ("GlobalUI.xml"); }
public MuinsheeActions(Banshee.Playlist.PlaylistSource queue) : base("muinshee") { this.queue = queue; AddImportant( new ActionEntry( "PlaySongAction", Stock.Add, Catalog.GetString("Play _Song"), "S", Catalog.GetString("Add a song to the playlist"), OnPlaySong ), new ActionEntry( "PlayAlbumAction", null, Catalog.GetString("Play _Album"), "A", Catalog.GetString("Add an album to the playlist"), OnPlayAlbum ) ); this["PlayAlbumAction"].IconName = "media-optical"; // TODO disable certain actions // Actions.TrackActions.UpdateActions (false, false, "SearchMenu"); AddUiFromFile("GlobalUI.xml"); }