--- nfo/projects/netfraggle/bin/fraggleViewport.py 2004/08/27 03:25:44 1.13 +++ nfo/projects/netfraggle/bin/fraggleViewport.py 2004/08/27 04:39:06 1.14 @@ -1,7 +1,10 @@ #Boa:MDIParent:fraggleViewport -# $Id: fraggleViewport.py,v 1.13 2004/08/27 03:25:44 joko Exp $ +# $Id: fraggleViewport.py,v 1.14 2004/08/27 04:39:06 joko Exp $ # $Log: fraggleViewport.py,v $ +# Revision 1.14 2004/08/27 04:39:06 joko +# cleanup +# # Revision 1.13 2004/08/27 03:25:44 joko # added FraggleTaskBarMenu # @@ -54,7 +57,7 @@ def _init_coll_FraggleTaskBarMenu_Items(self, parent): # generated method, don't edit - restore = parent.Append(helpString='Restore', + parent.Append(helpString='Restore', id=wxID_FRAGGLEVIEWPORTFRAGGLETASKBARMENUITEMSRESTORE, item='Restore', kind=wxITEM_NORMAL) parent.Append(helpString='Sync enabled', @@ -63,12 +66,6 @@ parent.Append(helpString='Exit', id=wxID_FRAGGLEVIEWPORTFRAGGLETASKBARMENUITEMSEXIT, item='Exit', kind=wxITEM_NORMAL) - #EVT_MENU_OPEN(restore, - # self.OnFraggleTaskBarMenuItemsrestoreMenu) - #EVT_MENU_OPEN(restore, wxID_FRAGGLEVIEWPORTFRAGGLETASKBARMENUITEMSRESTORE, - # self.OnFraggleTaskBarMenuItemsrestoreMenu) - #EVT_MENU(self, wxID_FRAGGLEVIEWPORTFRAGGLETASKBARMENUITEMSEXIT, - # self.OnFraggleTaskBarMenuItemsexitMenu) def _init_coll_menu2_Items(self, parent): # generated method, don't edit @@ -130,7 +127,7 @@ # new as of 2004-08-26: TopicFrame # new as of 2004-08-27: pass configList to TopicFrame self.topicFrame = FraggleTopicFrame.create(self, self.preferencesCtl.configList) - self.topicFrame.Move(wxPoint(10, 10)) + self.topicFrame.Move(wxPoint(5, 5)) #frame.Show() #frame.Destroy() @@ -151,9 +148,6 @@ EVT_MENU(self.tbicon, wxID_FRAGGLEVIEWPORTFRAGGLETASKBARMENUITEMSRESTORE, self.OnTaskBarAppRestore) EVT_MENU(self.tbicon, wxID_FRAGGLEVIEWPORTFRAGGLETASKBARMENUITEMSEXIT, self.OnTaskBarAppExit) - #EVT_BUTTON(self.updateButton, wxID_FRAGGLETOPICFRAMEUPDATEBUTTON, - # self.OnUpdateButtonButton) - def __init__(self, parent): self._init_ctrls(parent) self.__init_preferences__()