summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-06-02 12:50:59 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-06-02 12:51:11 +0200
commit8bccb42881c2843841af170e8f6e031288fc8312 (patch)
tree3e8a7f872d6452e45734bf5c3abef03762551c29
parent0f74633de1706c220343d759b39915f1dd3cff1a (diff)
downloaddraksnapshot-8bccb42881c2843841af170e8f6e031288fc8312.tar
draksnapshot-8bccb42881c2843841af170e8f6e031288fc8312.tar.gz
draksnapshot-8bccb42881c2843841af170e8f6e031288fc8312.tar.bz2
draksnapshot-8bccb42881c2843841af170e8f6e031288fc8312.tar.xz
draksnapshot-8bccb42881c2843841af170e8f6e031288fc8312.zip
make it work with strict pragma
-rwxr-xr-xdraksnapshot-config2
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;