Dont use deprecated method to set tooltip alignment
This commit is contained in:
parent
80bf5183c9
commit
c126d36d6b
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue