Show
Ignore:
Timestamp:
04/20/06 10:08:49 (3 years ago)
Author:
jordi
Message:

The Main presenter now pass the last folder used to open a file to the view, so it can change the shown folder on the open dialog. Also, the main presenter saves the last folder to the configuration class.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/DumbMainView.h

    r66 r97  
    2828            ~DumbMainView (); 
    2929 
    30             gchar *openFileDialog (void); 
     30            gchar *openFileDialog (const gchar *lastFolder); 
    3131            gchar *promptPasswordDialog (void); 
    3232            void sensitiveGoToFirstPage (gboolean sensitive); 
     
    5656            gint countTimesShownPasswordPrompt (void); 
    5757            gint getCurrentPage (void); 
     58            const gchar *getLastOpenFileFolder (void); 
    5859            DocumentOutline *getOutline (void); 
    5960            const gchar *getTitle (void); 
     
    8283            DocumentPage *m_DocumentPage; 
    8384            gchar *m_GoToPageText; 
     85            gchar *m_LastOpenFileFolder; 
    8486            gchar *m_OpenFileName; 
    8587            DocumentOutline *m_Outline;