Changeset 2716

Show
Ignore:
Timestamp:
01/18/2007 08:10:19 AM (2 years ago)
Author:
paul
Message:

Merged in that recent activation fix to the stable branch, updated the
change log, and Dabo 0.7.2 is imminent.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/stable/AUTHORS

    r2412 r2716  
    1111    Stefano Masini 
    1212    Adi J. Sieker 
     13    Carl Karsten 
     14    Nate Lowrie 
     15    Uwe Grauer 
     16    Simen Haugen 
    1317 
    1418 
  • branches/stable/ChangeLog

    r2683 r2716  
    22 
    33=============================================================================== 
    4 Dabo 0.7.2 (2007-01-15) (Revision 2683): 
     4Dabo 0.7.2 (2007-01-18) (Revision 2716): 
    55 
    66Additions, all minor, backported to stable only to keep compatibility with the  
     
    1313+ Fixed the stable branch to work with wxPython 2.7 and 2.8, which was a fairly 
    1414  large backport of relevant changes from the development trunk. 
     15+ Fixed a form activation problem that would happen in some cases on Windows,  
     16  particularly with the Class Designer. 
    1517+ Fixed incremental search in dGrid, which was broken by earlier unicode fixes. 
    1618+ dBizobj.onSaveNew() user hook never being called. Fixed. 
  • branches/stable/dabo/ui/uiwx/dFormMixin.py

    r2693 r2716  
    129129                self._skipActivate = False 
    130130            else: 
    131                 dabo.ui.callAfter(self.raiseEvent, dEvents.Activate, evt) 
     131                # Restore the saved size and position, which can't happen  
     132                # in __init__ because we may not have our name yet. 
     133                try: 
     134                    restoredSP = self.restoredSP 
     135                except: 
     136                    restoredSP = False 
     137                if not restoredSP: 
     138                    if self.SaveRestorePosition: 
     139                        self.restoreSizeAndPosition() 
     140                 
     141                self.raiseEvent(dEvents.Activate, evt) 
    132142                self._skipActivate = (self.Application.Platform == "Win") 
    133143        else: 
     
    137147             
    138148    def __onActivate(self, evt):  
    139         # Restore the saved size and position, which can't happen  
    140         # in __init__ because we may not have our name yet. 
    141         try: 
    142             restoredSP = self.restoredSP 
    143         except: 
    144             restoredSP = False 
    145         if not restoredSP: 
    146             if self.SaveRestorePosition: 
    147                 self.restoreSizeAndPosition() 
    148          
    149149        # If the ShowStatusBar property was set to True, this will create it 
    150150        sb = self.StatusBar 
  • trunk/ChangeLog

    r2684 r2716  
    22 
    33=============================================================================== 
    4 Dabo 0.7.2 (2007-01-15) (Revision 2683): 
     4Dabo 0.7.2 (2007-01-18) (Revision 2716): 
    55 
    66Additions, all minor, backported to stable only to keep compatibility with the  
     
    1313+ Fixed the stable branch to work with wxPython 2.7 and 2.8, which was a fairly 
    1414  large backport of relevant changes from the development trunk. 
     15+ Fixed a form activation problem that would happen in some cases on Windows,  
     16  particularly with the Class Designer. 
    1517+ Fixed incremental search in dGrid, which was broken by earlier unicode fixes. 
    1618+ dBizobj.onSaveNew() user hook never being called. Fixed.