Show
Ignore:
Timestamp:
04/14/06 15:05:24 (3 years ago)
Author:
jordi
Message:

Added the reload action to the GTK's MainView?.

Also I fixed a weird bug (although I don't really know if it's mine) that deleted the m_FileName of the IDocument when reloaded the new file.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/MainPterTest.cxx

    r63 r64  
    570570    // Reload the document. 
    571571    m_MainPter->reloadActivated (); 
     572    CPPUNIT_ASSERT_EQUAL (0,  
     573            g_ascii_strcasecmp ("/tmp/test.pdf", m_View->getTitle ())); 
    572574    CPPUNIT_ASSERT_EQUAL (2, m_View->getCurrentPage ());  
    573575    CPPUNIT_ASSERT_EQUAL (90, m_Document->getRotation ());