/[cvs]/nfo/projects/netfraggle/bin/fraggleMain.py
ViewVC logotype

Diff of /nfo/projects/netfraggle/bin/fraggleMain.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by joko, Mon Aug 30 13:55:12 2004 UTC revision 1.8 by xabbu, Sun Sep 5 10:09:26 2004 UTC
# Line 3  Line 3 
3    
4  # $Id$  # $Id$
5  # $Log$  # $Log$
6    # Revision 1.8  2004/09/05 10:09:26  xabbu
7    # + Bug that menues where displayed incorrectly on nt like os resolved.
8    # + Removed OS dependend menu creation in faggleMain -> moved to fraggleViewPort
9    # + Modules configuration dialog can be displayed by selecting Files->Modules now
10    #
11  # Revision 1.7  2004/08/30 13:55:12  joko  # Revision 1.7  2004/08/30 13:55:12  joko
12  # + caching phpsessionid here  # + caching phpsessionid here
13  #  #
# Line 39  class BoaApp(wxApp): Line 44  class BoaApp(wxApp):
44  class fraggleMainWin(fraggleViewport):  class fraggleMainWin(fraggleViewport):
45      def _init_coll_menu1_Items(self, parent):      def _init_coll_menu1_Items(self, parent):
46    
47          if os.name == 'posix':          
48              fraggleViewport._init_coll_menu1_Items(self, parent)              fraggleViewport._init_coll_menu1_Items(self, parent)
49          elif os.name == 'nt':        
             parent.Append(wxID_FRAGGLEVIEWPORTMENU1FPREFS, '&Configure Netfraggle', "", wxITEM_NORMAL)  
             parent.Append(wxID_FRAGGLEVIEWPORTMENU1ITEMS1, '&Exit Netfraggle', "", wxITEM_NORMAL)  
   
         EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1FPREFS, self.OnMenu1items0Menu)  
         EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU1ITEMS1, self.OnMenu1items1Menu)  
50    
51      def _init_coll_menu2_Items(self, parent):      def _init_coll_menu2_Items(self, parent):
52    
53          if os.name == 'posix':        
54              fraggleViewport._init_coll_menu2_Items(self, parent)              fraggleViewport._init_coll_menu2_Items(self, parent)
55          elif os.name == 'nt':          
             parent.Append(wxID_FRAGGLEVIEWPORTMENU2CONT, '&Contents', "", wxITEM_NORMAL)  
             parent.Append(wxID_FRAGGLEVIEWPORTMENU2ABOUT, '&About', "", wxITEM_NORMAL)  
               
         EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU2CONT, self.OnMenu2items0Menu)  
         EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU2ABOUT, self.OnMenu2items1Menu)  
56    
57  def main():  def main():
58      global engine, phpsessionid      global engine, phpsessionid

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed