commit-gnue
[Top][All Lists]
Advanced

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

gnue forms/src/uidrivers/gtk2/UIdriver.py integ...


From: Jason Cater
Subject: gnue forms/src/uidrivers/gtk2/UIdriver.py integ...
Date: Wed, 18 Sep 2002 20:17:35 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/09/18 20:17:34

Modified files:
        forms/src/uidrivers/gtk2: UIdriver.py 
Added files:
        integrator     : AUTHORS COPYING ChangeLog INSTALL README TODO 
        integrator/doc/technotes: 00000.txt index.html index.txt 
        integrator/scripts: gnue-integrator.in gnue-loader.in 
        integrator/src : GIClient.py GIConfig.py GIParser.py 

Log message:
        initial structure for integrator

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/uidrivers/gtk2/UIdriver.py.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/AUTHORS?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/COPYING?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/ChangeLog?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/INSTALL?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/README?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/TODO?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/doc/technotes/00000.txt?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/doc/technotes/index.html?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/doc/technotes/index.txt?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/scripts/gnue-integrator.in?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/scripts/gnue-loader.in?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/src/GIClient.py?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/src/GIConfig.py?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/integrator/src/GIParser.py?rev=1.1

Patches:
Index: gnue/forms/src/uidrivers/gtk2/UIdriver.py
diff -c gnue/forms/src/uidrivers/gtk2/UIdriver.py:1.9 
gnue/forms/src/uidrivers/gtk2/UIdriver.py:1.10
*** gnue/forms/src/uidrivers/gtk2/UIdriver.py:1.9       Tue Sep 17 11:27:45 2002
--- gnue/forms/src/uidrivers/gtk2/UIdriver.py   Wed Sep 18 20:17:34 2002
***************
*** 54,60 ****
  
  import gtk
  
! ## check if we really imported gtk 2.0 
  if not hasattr(gtk,"keysyms"):
    print _("Import error: You need pygtk 2.0 to use the gtk2 user" +\
            " interface driver.")
--- 54,60 ----
  
  import gtk
  
! ## check if we really imported gtk 2.0
  if not hasattr(gtk,"keysyms"):
    print _("Import error: You need pygtk 2.0 to use the gtk2 user" +\
            " interface driver.")
***************
*** 555,565 ****
    # _setStatusBar
    #
    def _setStatusBar(self,tip, statusValue, insertValue, currentRecord, 
maxRecord, currentPage, maxPage):
!    
      if tip:
        self.statusBar1.push(self.statusBar1.get_context_id("tip"),str(tip))
      #$self.statusBar.push(self.statusBar.get_context_id("status bar"),"Shri 
Harih")
!     #$self.statusBar.get_context_id("")  
      if statusValue:
        context_id=self.statusBar2.get_context_id("statusValue")
        self.statusBar2.push(context_id,statusValue)
--- 555,565 ----
    # _setStatusBar
    #
    def _setStatusBar(self,tip, statusValue, insertValue, currentRecord, 
maxRecord, currentPage, maxPage):
! 
      if tip:
        self.statusBar1.push(self.statusBar1.get_context_id("tip"),str(tip))
      #$self.statusBar.push(self.statusBar.get_context_id("status bar"),"Shri 
Harih")
!     #$self.statusBar.get_context_id("")
      if statusValue:
        context_id=self.statusBar2.get_context_id("statusValue")
        self.statusBar2.push(context_id,statusValue)
***************
*** 576,583 ****
        context_id=self.statusBar5.get_context_id("currentPage_and_maxPage")
        messg="%s/%s"%(currentPage,maxPage)
        self.statusBar5.push(context_id,messg)
!       
!     None 
  
  
      #
--- 576,583 ----
        context_id=self.statusBar5.get_context_id("currentPage_and_maxPage")
        messg="%s/%s"%(currentPage,maxPage)
        self.statusBar5.push(context_id,messg)
! 
!     None
  
  
      #
***************
*** 757,763 ****
    def menuExitEvent(self):
     self.dispatchEvent(GFEvent('requestEXIT'))
  
!  
    #
    # promptForRecordNumber
    #
--- 757,763 ----
    def menuExitEvent(self):
     self.dispatchEvent(GFEvent('requestEXIT'))
  
! 
    #
    # promptForRecordNumber
    #
***************
*** 766,772 ****
    def promptForRecordNumber(self, event= None):
      dlg =gtk.Dialog(_("Which 
record"),self.mainWindow,gtk.DIALOG_MODAL|gtk.DIALOG_DESTROY_WITH_PARENT, \
                                             (_("_JUMP"),  
gtk.RESPONSE_OK,_("_CANCEL"),gtk.RESPONSE_CANCEL ))
!  
      label=gtk.Label(_("Enter record number to jump to"))
      entry=gtk.Entry()
      table=gtk.Table(2,1)
--- 766,772 ----
    def promptForRecordNumber(self, event= None):
      dlg =gtk.Dialog(_("Which 
record"),self.mainWindow,gtk.DIALOG_MODAL|gtk.DIALOG_DESTROY_WITH_PARENT, \
                                             (_("_JUMP"),  
gtk.RESPONSE_OK,_("_CANCEL"),gtk.RESPONSE_CANCEL ))
! 
      label=gtk.Label(_("Enter record number to jump to"))
      entry=gtk.Entry()
      table=gtk.Table(2,1)




reply via email to

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