Commit 3c32d511 authored by Philipp Hörist's avatar Philipp Hörist

Fix deprecated init

parent dffa54f7
......@@ -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,
# GTK Bug: The FileChooserButton expands without limit
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment