From e549b15e57cc75c7ed72ab6bdc4b6023e3f08b70 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Thu, 7 Jul 2022 15:35:59 +0100 Subject: don't ask for URLs, so you get URLs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit otherwise, dragging a `` from Firefox got us a pseudo-link to the image, not the `a/@href`… --- lib/URLQueue/MainController.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/URLQueue/MainController.pm b/lib/URLQueue/MainController.pm index dbd5503..cd3a287 100644 --- a/lib/URLQueue/MainController.pm +++ b/lib/URLQueue/MainController.pm @@ -28,10 +28,10 @@ sub new { my $self=$class->SUPER::new($glade_file); my $target_list=Gtk2::TargetList->new(); - $target_list->add_uri_targets(1); + #$target_list->add_uri_targets(1); $target_list->add_text_targets(2); $self->{input}->drag_dest_set('all', - [qw(default copy move link private ask)], + [qw(link)], ); $self->{input}->drag_dest_set_target_list($target_list); $self->set_icon('green'); -- cgit v1.2.3