Show
Ignore:
Timestamp:
06/10/06 11:43:58 (2 years ago)
Author:
jordi
Message:

Added the action to print to the main menu and made its sensitivity to work.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/DumbMainView.cxx

    r210 r212  
    4646    m_SensitiveGoToPage = TRUE; 
    4747    m_SensitiveGoToPreviousPage = TRUE; 
     48    m_SensitivePrint = TRUE; 
    4849    m_SensitiveReload = TRUE; 
    4950    m_SensitiveRotateLeft = TRUE; 
     
    177178 
    178179void 
     180DumbMainView::sensitivePrint (gboolean sensitive) 
     181{ 
     182    m_SensitivePrint = sensitive; 
     183} 
     184 
     185void 
    179186DumbMainView::sensitiveReload (gboolean sensitive) 
    180187{ 
     
    397404{ 
    398405    return m_SensitiveGoToPreviousPage; 
     406} 
     407 
     408gboolean 
     409DumbMainView::isSensitivePrint () 
     410{ 
     411    return m_SensitivePrint; 
    399412} 
    400413