Changes between Version 20 and Version 21 of Development/Plugins/WebUi/Examples


Ignore:
Timestamp:
09/23/2008 07:47:07 PM (13 years ago)
Author:
mvoncken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/Plugins/WebUi/Examples

    v20 v21  
    101101 
    102102    def disable(self): 
    103         api.config_page_manager.unregister('df') 
     103        api.config_page_manager.deregister('df') 
    104104 
    105105}}} 
     
    121121We added a page, but the user can't navigate to it, let's fix that : 
    122122 
    123 Add 2 lines for register/unregister of the menu-items. 
     123Add 2 lines for register/deregister of the menu-items. 
    124124{{{ 
    125125#!python 
     
    129129 
    130130    def disable(self): 
    131         api.config_page_manager.unregister('df') 
    132         api.menu_manager.unregister_admin_page("df") #<--top menu 
     131        api.config_page_manager.deregister('df') 
     132        api.menu_manager.deregister_admin_page("df") #<--top menu 
    133133}}} 
    134134 
     
    151151 
    152152}}} 
    153  
    154  
    155 == Notes/Future ==  
    156  * all webui unregister_* methods will be renamed to deregister_*