Dont use deprecated method to set tooltip alignment

This commit is contained in:
lovetox 2016-09-25 23:07:46 +02:00
parent 80bf5183c9
commit c126d36d6b
1 changed files with 2 additions and 1 deletions

View File

@ -292,7 +292,8 @@ class StatusTable:
image.set_from_file(f)
break
spacer = Gtk.Label(label=self.spacer_label)
image.set_alignment(1, 0.5)
image.set_halign(Gtk.Align.FILL)
image.set_valign(Gtk.Align.CENTER)
if indent:
self.table.attach(spacer, 1, self.current_row, 1, 1)
self.table.attach(image, 2, self.current_row, 1, 1)