diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-06-02 12:50:59 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-06-02 12:51:11 +0200 |
commit | 8bccb42881c2843841af170e8f6e031288fc8312 (patch) | |
tree | 3e8a7f872d6452e45734bf5c3abef03762551c29 /draksnapshot-config | |
parent | 0f74633de1706c220343d759b39915f1dd3cff1a (diff) | |
download | draksnapshot-8bccb42881c2843841af170e8f6e031288fc8312.tar draksnapshot-8bccb42881c2843841af170e8f6e031288fc8312.tar.gz draksnapshot-8bccb42881c2843841af170e8f6e031288fc8312.tar.bz2 draksnapshot-8bccb42881c2843841af170e8f6e031288fc8312.tar.xz draksnapshot-8bccb42881c2843841af170e8f6e031288fc8312.zip |
make it work with strict pragma
Diffstat (limited to 'draksnapshot-config')
-rwxr-xr-x | draksnapshot-config | 2 |
1 files changed, 1 insertions, 1 deletions
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; |