After his death she uploaded voice files of his final message on to the internet.
Taimour Abdulwahab died in the explosion on 11 December 2010 in the Bryggargatan area of the Swedish capital.
Nasserdine Menni, whose age is unknown, is on trial at the High Court in Glasgow charged with conspiring with Abdulwahab and others to further terrorist aims, which included the use of explosive devices in the commission of an act of terrorism directed against members of the Swedish public, with intent to murder them.
The court heard earlier that Abdulwahab e-mailed audio files to his wife Mona Thwany on the day of his death in which he confessed he was a terrorist and had been to the Middle East for jihad.
She accepted that she had uploaded the files, one in English, a second in Swedish and a third in Arabic, on to YouTube. Advocate depute Andrew Miller asked: “Did you have any prior knowledge of any intention on the part of your husband to carry out any terrorist act in Sweden?”
Ms Thwany, 29, who lived with her husband in Luton, replied: “No.”
Menni is also charged with transferring money to or for the use of Abdulwahab, in the knowledge it would be used for the purposes of terrorism. It is alleged he conspired with Abdulwahab and others between 1 January 2003 and 8 March 2011.
He denies all of the charges against him. The trial before Lord Matthews continues.