index 97ef5618e56cb0747dc71d70749fff00bf29d883..b378c0b5a96500a7cff365b687094ea387c7c171 100644 (file)
SessionPlaybackDialogImpl::SessionPlaybackDialogImpl()
: _delay(100, 1, 5000, 10, 100), _delayentry(_delay)
{
- this->_desktop = SP_ACTIVE_DESKTOP;
+ this->_desktop = this->getDesktop();
this->_sm = this->_desktop->whiteboard_session_manager();
this->_sfp = this->_sm->session_player();
this->_openfile.set_text(this->_sfp->filename());
switch (result) {
case Gtk::RESPONSE_OK:
this->_sm->clearDocument();
- sp_document_done(sp_desktop_document(this->_desktop));
+ sp_document_done(sp_desktop_document(this->_desktop), SP_VERB_NONE,
+ /* TODO: annotate */ "session-player.cpp:186");
this->_sm->loadSessionFile(sessionfiledlg.get_filename());
this->_openfile.set_text(this->_sfp->filename());
break;