mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
187f537fec
Signed-off-by: B. Watson <yalhcru@gmail.com>
18 lines
852 B
Diff
18 lines
852 B
Diff
diff -Naur youtube-viewer-3.7.4/bin/gtk3-youtube-viewer youtube-viewer-3.7.4.patched/bin/gtk3-youtube-viewer
|
|
--- youtube-viewer-3.7.4/bin/gtk3-youtube-viewer 2020-02-11 22:35:13.000000000 -0500
|
|
+++ youtube-viewer-3.7.4.patched/bin/gtk3-youtube-viewer 2020-03-05 17:02:07.819892140 -0500
|
|
@@ -638,11 +638,11 @@
|
|
undef $history{lc($line)};
|
|
}
|
|
|
|
- require List::Util;
|
|
+ require List::MoreUtils;
|
|
|
|
# Keep only the most recent non-duplicated entries
|
|
- @history = reverse(List::Util::uniq(reverse(@history)));
|
|
- @search_history = List::Util::uniq(@search_history);
|
|
+ @history = reverse(List::MoreUtils::uniq(reverse(@history)));
|
|
+ @search_history = List::MoreUtils::uniq(@search_history);
|
|
|
|
# Set entry completion
|
|
$completion = Gtk3::EntryCompletion->new;
|