Remove old tab related code

I have relocated all of these features to ocarina.body, so the old code
in __init__.py is no longer needed.
This commit is contained in:
Bryan Schumaker 2010-11-25 23:19:55 -05:00
parent 03e2aa58de
commit 32ba199d18
1 changed files with 0 additions and 27 deletions

View File

@ -19,12 +19,6 @@ if __bug__ > 0:
if __dev__ == True:
__vers__ += "-dev"
# Lazy loaded modules
tabs = None
# Function override variables
get_tabs = None
def startup():
libsaria.startup()
@ -35,24 +29,3 @@ def startup():
def exit(widget, event):
gtk.main_quit()
libsaria.shutdown()
def get_tabs_once():
global tabs
global get_tabs
import tabs
tabs.init()
get_tabs = get_tabs_rest
return tabs.tabs
def get_tabs_rest():
global tabs
return tabs.tabs
get_tabs = get_tabs_once
def add_tab(text, content):
global tabs
tabs.append_page(content, text)
def remove_tab(text):
global tabs
tabs.remove_page(text)