diff --git a/safeeyes/BreakScreen.py b/safeeyes/BreakScreen.py index 80eaef8..8287036 100644 --- a/safeeyes/BreakScreen.py +++ b/safeeyes/BreakScreen.py @@ -173,9 +173,9 @@ class BreakScreen(object): toolbar = builder.get_object("toolbar") separator = Gtk.SeparatorToolItem() - toolbar.add(separator) - toolbar.child_set(separator, expand=True) + separator.set_expand(True) separator.show() + toolbar.add(separator) for tray_action in tray_actions: toolbar_button = None diff --git a/safeeyes/glade/break_screen.glade b/safeeyes/glade/break_screen.glade index 11dc95d..7ceccf4 100644 --- a/safeeyes/glade/break_screen.glade +++ b/safeeyes/glade/break_screen.glade @@ -187,7 +187,7 @@ - + True False vertical diff --git a/setup.py b/setup.py index 9c02704..6e32a60 100644 --- a/setup.py +++ b/setup.py @@ -5,6 +5,7 @@ import setuptools requires = [ 'babel', + 'dbus-python', 'psutil', 'PyGObject', 'python-xlib'