Fix Gtk issues on Ubuntu 14.04

Fix #265
This commit is contained in:
Gobinath 2019-01-21 11:38:28 -05:00
parent 77d8aa25b3
commit dc6bee31d6
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -187,7 +187,7 @@
</packing>
</child>
<child>
<object class="GtkBox">
<object class="GtkBox" id="box_top_panel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>

View File

@ -5,6 +5,7 @@ import setuptools
requires = [
'babel',
'dbus-python',
'psutil',
'PyGObject',
'python-xlib'