index 48c3ff5ef0f3e1b33b48b0f0e63b3337bf61031d..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_DT_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;