From 8bccb42881c2843841af170e8f6e031288fc8312 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 2 Jun 2020 12:50:59 +0200 Subject: make it work with strict pragma --- draksnapshot-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'draksnapshot-config') diff --git a/draksnapshot-config b/draksnapshot-config index 91ac3ca..1f29101 100755 --- a/draksnapshot-config +++ b/draksnapshot-config @@ -250,7 +250,7 @@ sub add { my $alrd_exsts = defined $o_iter; $browse->signal_connect(clicked => sub { - my $file_dlg = Gtk3::FileChooserDialog->new(N("Path selection"), $dlg, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, N("Cancel") => GTK_RESPONSE_CANCEL, N("OK") => GTK_RESPONSE_OK); + my $file_dlg = Gtk3::FileChooserDialog->new(N("Path selection"), $dlg, 'select_folder', N("Cancel") => 'cancel', N("OK") => 'ok'); $file_dlg->set_modal(1); $file_dlg->set_transient_for($dlg); $file_dlg->show; -- cgit v1.2.1