Show
Ignore:
Timestamp:
04/11/06 11:10:26 (3 years ago)
Author:
jordi
Message:

The main presenter now can open files and changes the window's title to show the file name or the document's title, if it has title. Also changes the the control's sensitiveness.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/DumbDocument.cxx

    r23 r24  
    2828    IDocument () 
    2929{ 
     30    m_Loaded = FALSE; 
    3031} 
    3132 
     
    3738DumbDocument::isLoaded () 
    3839{ 
    39     return false; 
     40    return m_Loaded; 
    4041} 
    4142 
     
    4445                        GError **error) 
    4546{ 
    46     return false; 
     47    setFileName (filename); 
     48    m_Loaded = TRUE; 
     49    return m_Loaded; 
    4750} 
    4851