ChatView: make sure name is updated
Connect to the changed signals of the Call/CM/Person so that we can
update the name displayed in case it changes. Notabely, this is the
case with Ring usernames, which are in certain cases resolved after
the view is first displayed.
Other changes:
- remove unnecessary initial_text_recording class variable
- disconnect from webview "ready" signal on dispose in case its called
after this object is destroyed
- move code so that everything is arranged in the build_view to prevent
the same code being done in different places depending on whether
we're displaying a call/CM/Person
Reviewed-by: Alexandre Viau <alexandre.viau@savoirfairelinux.com>
Change-Id: I233cfc6203a6b135ce2cf9855baf278ea187d900
1 file changed