Remove support for the old deprecated toolbar

- removed deprecated imports from the activity module, use the
  widgets module instead
- removed the ActivityToolbox class
- removed the Stop button from the ActivityToolbar
- removed set_toolbar/get_toolbar API from the window module

Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Daniel Drake <dsd@laptop.org>
This commit is contained in:
Simon Schampijer
2012-01-11 19:52:11 +01:00
parent ec7b363a70
commit b5de7ef332
3 changed files with 1 additions and 57 deletions
-12
View File
@@ -285,15 +285,3 @@ class Window(Gtk.Window):
enable_fullscreen_mode = GObject.property(type=object,
setter=set_enable_fullscreen_mode, getter=get_enable_fullscreen_mode)
# DEPRECATED
def set_toolbox(self, toolbar_box):
warnings.warn('use toolbar_box instead of toolbox', DeprecationWarning)
self.set_toolbar_box(toolbar_box)
def get_toolbox(self):
warnings.warn('use toolbar_box instead of toolbox', DeprecationWarning)
return self._toolbar_box
toolbox = property(get_toolbox, set_toolbox)