diff --git a/lib/sugar/graphics/toolbox.py b/lib/sugar/graphics/toolbox.py index e4e831a0..4171d003 100644 --- a/lib/sugar/graphics/toolbox.py +++ b/lib/sugar/graphics/toolbox.py @@ -89,3 +89,9 @@ class Toolbox(gtk.VBox): def set_current_toolbar(self, index): self._notebook.set_current_page(index) + + def get_current_toolbar(self): + return self._notebook.get_current_page() + + current_toolbar = property(get_current_toolbar, set_current_toolbar) +