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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user