Added a field to recorder service that can be overwritten to display another title#596
Added a field to recorder service that can be overwritten to display another title#596TurRil wants to merge 3 commits intoteltek:masterfrom
Conversation
|
I'm not sure that modifying the variable in the You can test this PR with the below plugin |
|
from testing i seems this only affects manually recorded mediapackages, the title in the events panel in the recorder UI is changed only and seems to work well. |
…a title other than the mediapackage title.
f9cd248 to
2d4b13e
Compare
| event_type.set_text("") | ||
| if status.get_text(): | ||
| status.set_text("") | ||
| title.set_text(_(self.recorder.title_standin)) |
There was a problem hiding this comment.
hey sorry! this is almost there.
i think you forgot to call self.recorder.set_title_standin(self, title) here
There was a problem hiding this comment.
I think not, it looks like the set_title_standin() function is meant to be called through a plugin (and if not the behaviour should be the same as before this PR)
@TurRil can you confirm?
| self.__create_drawing_areas_func = None | ||
| self.__handle_recover_id = None | ||
| self.autorecover = autorecover | ||
| self.title_standin = None |
There was a problem hiding this comment.
This should not be added to the recorder service.
See if you can add it to the classui/mainwindow instead (to keep ui logic on the ui)
| event_type.set_text("") | ||
| if status.get_text(): | ||
| status.set_text("") | ||
| title.set_text(_(self.recorder.title_standin)) |
There was a problem hiding this comment.
I think not, it looks like the set_title_standin() function is meant to be called through a plugin (and if not the behaviour should be the same as before this PR)
@TurRil can you confirm?
As a plugin I want to be able to display another title in the recorder UI so that when a user sees the galicaster screen their name could be displayed correctly.