Changeset 36 for trunk/src/MainPter.cxx

Show
Ignore:
Timestamp:
04/12/06 06:33:09 (3 years ago)
Author:
jordi
Message:

I've forgoten the rotate left and rotate right sensitivity. I've added the two functions to the main view's interface and gtk shell. Also added to the test suite.

Now the gtk shell can change the sensitiveness of the widgets.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/MainPter.cxx

    r35 r36  
    5252{ 
    5353    delete m_Document; 
     54    delete m_View; 
    5455    delete m_DocumentPage; 
    55     delete m_View; 
    5656} 
    5757 
     
    8080        } 
    8181        view.sensitiveGoToPage (TRUE); 
     82        view.sensitiveRotateRight (TRUE); 
     83        view.sensitiveRotateLeft (TRUE); 
    8284        view.sensitiveZoomIn (TRUE); 
    8385        view.sensitiveZoomOut (TRUE); 
     
    9597        view.sensitiveGoToPage (FALSE); 
    9698        view.sensitiveGoToPreviousPage (FALSE); 
     99        view.sensitiveRotateRight (FALSE); 
     100        view.sensitiveRotateLeft (FALSE); 
    97101        view.sensitiveZoomIn (FALSE); 
    98102        view.sensitiveZoomOut (FALSE);