[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r9292 - trunk/gnue-navigator/src
From: |
reinhard |
Subject: |
[gnue] r9292 - trunk/gnue-navigator/src |
Date: |
Fri, 12 Jan 2007 11:22:19 -0600 (CST) |
Author: reinhard
Date: 2007-01-12 11:22:18 -0600 (Fri, 12 Jan 2007)
New Revision: 9292
Modified:
trunk/gnue-navigator/src/UIwx.py
trunk/gnue-navigator/src/UIwx26.py
Log:
Removed a few unused functions.
Modified: trunk/gnue-navigator/src/UIwx.py
===================================================================
--- trunk/gnue-navigator/src/UIwx.py 2007-01-12 17:20:16 UTC (rev 9291)
+++ trunk/gnue-navigator/src/UIwx.py 2007-01-12 17:22:18 UTC (rev 9292)
@@ -244,7 +244,6 @@
def _runForm(self, formfile, parameters):
- try:
#
# Create the instance
#
@@ -271,22 +270,7 @@
instance.run_from_file(formfile, parameters)
instance.activate()
- except IOError, mesg:
- self.handleError(_("Unable to open file\n\n %s")%mesg)
- except Exceptions.ConnectionError, mesg:
- self.handleError(\
- _("Error while communicating with datasource.\n\n %s") %mesg)
-
- def setTitle(self, title):
- self.frame.SetTitle ("GNUe Navigator: %s (form)" % title )
-
- def setMenuBar(self, *arg, **parm):
- self.frame.SetMenuBar (*arg, **parm)
-
- def setToolBar(self, *arg, **parm):
- self.frame.SetToolBar (*arg, **parm)
-
ID_EXIT = wxNewId()
ID_FAV_ORG = wxNewId()
ID_FAV_ADD = wxNewId()
Modified: trunk/gnue-navigator/src/UIwx26.py
===================================================================
--- trunk/gnue-navigator/src/UIwx26.py 2007-01-12 17:20:16 UTC (rev 9291)
+++ trunk/gnue-navigator/src/UIwx26.py 2007-01-12 17:22:18 UTC (rev 9292)
@@ -70,6 +70,7 @@
self.connections.setLoginHandler(ui.UILoginHandler())
self.__instance = instance
+ self.__instance.keepalive(True)
app = wx.GetApp() or wx.App()
self.frame = wx.Frame(None, -1, "GNUe Navigator", size=wx.Size(600,400))
@@ -211,15 +212,6 @@
self.__current_form = self.__instance.run_from_file(formfile, parameters)
- def setTitle(self, title):
- self.frame.SetTitle ("GNUe Navigator: %s (form)" % title )
-
- def setMenuBar(self, *arg, **parm):
- self.frame.SetMenuBar (*arg, **parm)
-
- def setToolBar(self, *arg, **parm):
- self.frame.SetToolBar (*arg, **parm)
-
ID_EXIT = wx.NewId()
ID_ABOUT = wx.NewId()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r9292 - trunk/gnue-navigator/src,
reinhard <=