Skip to content
Snippets Groups Projects
Commit 3c32d511 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Fix deprecated init

parent dffa54f7
No related branches found
No related tags found
No related merge requests found
......@@ -374,7 +374,8 @@ class FileChooserOption(GenericOption):
def __init__(self, *args, filefilter):
GenericOption.__init__(self, *args)
button = Gtk.FileChooserButton(self.label, Gtk.FileChooserAction.OPEN)
button = Gtk.FileChooserButton(title=self.label,
action=Gtk.FileChooserAction.OPEN)
button.set_halign(Gtk.Align.END)
# GTK Bug: The FileChooserButton expands without limit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment