From 3c32d51174b28ab6ae9946f5019a4fed100a71fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sun, 18 Nov 2018 21:31:58 +0100 Subject: [PATCH] Fix deprecated init --- gajim/options_dialog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gajim/options_dialog.py b/gajim/options_dialog.py index c78026bac..6c2345095 100644 --- a/gajim/options_dialog.py +++ b/gajim/options_dialog.py @@ -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