commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/forms src/GFInstance.py src/GFObjects/GFBu...


From: Jason Cater
Subject: gnue/forms src/GFInstance.py src/GFObjects/GFBu...
Date: Thu, 30 May 2002 10:33:48 -0400

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/05/30 10:33:48

Modified files:
        forms/src      : GFInstance.py 
        forms/src/GFObjects: GFButton.py GFValue.py 
Added files:
        forms/samples/button/forms: THIS_SAMPLE_IS_BROKEN 

Log message:
        Gave a more meaningful warning message if there are no navigable 
widgets in a form

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/samples/button/forms/THIS_SAMPLE_IS_BROKEN?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/src/GFInstance.py.diff?cvsroot=OldCVS&tr1=1.50&tr2=1.51&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/src/GFObjects/GFButton.py.diff?cvsroot=OldCVS&tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/src/GFObjects/GFValue.py.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text

Patches:
Index: gnue/forms/src/GFInstance.py
diff -c gnue/forms/src/GFInstance.py:1.50 gnue/forms/src/GFInstance.py:1.51
*** gnue/forms/src/GFInstance.py:1.50   Wed May  8 23:03:44 2002
--- gnue/forms/src/GFInstance.py        Thu May 30 10:33:48 2002
***************
*** 596,603 ****
      ui.buildForm(self._form)
      ui.activateForm(self._form)
  
!     
self.dispatchEvent(GFEvent('gotoENTRY',{'object':self._form._currentEntry}))
!     self.dispatchEvent(GFEvent('updateENTRY',self._form._currentEntry))
      self._form.refreshDisplay(self._form)
      self.updateStatus()
      self._ui = ui
--- 596,607 ----
      ui.buildForm(self._form)
      ui.activateForm(self._form)
  
!     currentEntry = self._form._currentEntry
!     if not currentEntry:
!       raise  _('There are no navigable widgets in this form.  Unable to 
display.')
! 
!     self.dispatchEvent(GFEvent('gotoENTRY',{'object':currentEntry}))
!     self.dispatchEvent(GFEvent('updateENTRY',currentEntry))
      self._form.refreshDisplay(self._form)
      self.updateStatus()
      self._ui = ui
Index: gnue/forms/src/GFObjects/GFButton.py
diff -c gnue/forms/src/GFObjects/GFButton.py:1.5 
gnue/forms/src/GFObjects/GFButton.py:1.6
*** gnue/forms/src/GFObjects/GFButton.py:1.5    Tue Apr 16 22:05:18 2002
--- gnue/forms/src/GFObjects/GFButton.py        Thu May 30 10:33:48 2002
***************
*** 8,23 ****
  #
  # GNU Enterprise is distributed in the hope that it will be 
  # useful, but WITHOUT ANY WARRANTY; without even the implied 
! # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
  # PURPOSE. See the GNU General Public License for more details.
  #
! # You should have received a copy of the GNU General Public 
! # License along with program; see the file COPYING. If not, 
! # write to the Free Software Foundation, Inc., 59 Temple Place 
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # Copyright 2000, 2001 Free Software Foundation
! #
  #
  # FILE:
  # GFObjects.py
--- 8,22 ----
  #
  # GNU Enterprise is distributed in the hope that it will be 
  # useful, but WITHOUT ANY WARRANTY; without even the implied 
! # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  # PURPOSE. See the GNU General Public License for more details.
  #
! # You should have received a copy of the GNU General Public
! # License along with program; see the file COPYING. If not,
! # write to the Free Software Foundation, Inc., 59 Temple Place
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # Copyright 2000-2002 Free Software Foundation
  #
  # FILE:
  # GFObjects.py
***************
*** 26,34 ****
  # The majority of the objects that make up a form
  #
  # NOTES:
- #
- # HISTORY:
- # Copyright (c) 2000 Free Software Foundation
  #
  from GFObj import GFObj
  
--- 25,30 ----
Index: gnue/forms/src/GFObjects/GFValue.py
diff -c gnue/forms/src/GFObjects/GFValue.py:1.3 
gnue/forms/src/GFObjects/GFValue.py:1.4
*** gnue/forms/src/GFObjects/GFValue.py:1.3     Sun Sep 16 17:16:24 2001
--- gnue/forms/src/GFObjects/GFValue.py Thu May 30 10:33:48 2002
***************
*** 12,23 ****
  # PURPOSE. See the GNU General Public License for more details.
  #
  # You should have received a copy of the GNU General Public 
! # License along with program; see the file COPYING. If not, 
! # write to the Free Software Foundation, Inc., 59 Temple Place 
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # Copyright 2000. 2001 Free Software Foundation
! #
  #
  # FILE:
  # GFObjects.py
--- 12,22 ----
  # PURPOSE. See the GNU General Public License for more details.
  #
  # You should have received a copy of the GNU General Public 
! # License along with program; see the file COPYING. If not,
! # write to the Free Software Foundation, Inc., 59 Temple Place
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # Copyright 2000-2002 Free Software Foundation
  #
  # FILE:
  # GFObjects.py
***************
*** 26,34 ****
  # The majority of the objects that make up a form
  #
  # NOTES:
- #
- # HISTORY:
- # Copyright (c) 2000 Free Software Foundation
  #
  
  from GFObj import GFObj
--- 25,30 ----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]