Changed user_id for owner_id in audio timelines creation

This commit is contained in:
Manuel Cortez 2016-06-30 08:21:25 -05:00
parent 8caf879b5c
commit 2426ed782e

View File

@ -273,8 +273,9 @@ class Controller(object):
if user_id == None:
commonMessages.no_user_exist()
return
print user_id
if buffertype == "audio":
buffer = buffers.audioBuffer(parent=self.window.tb, name="{0}_audio".format(user_id,), composefunc="compose_audio", session=self.session, endpoint="get", parent_endpoint="audio", full_list=True, count=self.session.settings["buffers"]["count_for_audio_buffers"], user_id=user_id)
buffer = buffers.audioBuffer(parent=self.window.tb, name="{0}_audio".format(user_id,), composefunc="compose_audio", session=self.session, endpoint="get", parent_endpoint="audio", full_list=True, count=self.session.settings["buffers"]["count_for_audio_buffers"], owner_id=user_id)
# Translators: {0} will be replaced with an user.
name_ = _(u"{0}'s audios").format(user,)
elif buffertype == "wall":