graphs are modal now

This commit is contained in:
Damien Elmes 2011-03-27 15:56:30 +09:00
parent 76633d9cce
commit 91f11d0647

View file

@ -29,7 +29,6 @@ class DialogManager(object):
self._dialogs = { self._dialogs = {
"AddCards": (addcards.AddCards, None), "AddCards": (addcards.AddCards, None),
"CardList": (cardlist.EditDeck, None), "CardList": (cardlist.EditDeck, None),
"Graphs": (self.graphProxy, None)
} }
def open(self, name, *args): def open(self, name, *args):
@ -54,11 +53,6 @@ class DialogManager(object):
instance.close() instance.close()
self.close(n) self.close(n)
# since we load the graphs dynamically, we need a proxy for this
def graphProxy(self, *args):
import graphs
return graphs.intervalGraph(*args)
dialogs = DialogManager() dialogs = DialogManager()
# Splash screen # Splash screen