Skip to content

Commit c016952

Browse files
committed
- Display channel icons in square (160x160) format. (fixes #261)
1 parent 8667b70 commit c016952

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/gtk-youtube-viewer

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#-------------------------------------------------------
1616
# GTK YouTube Viewer
1717
# Created on: 12 September 2010
18-
# Latest edit on: 11 July 2019
18+
# Latest edit on: 27 July 2019
1919
# https://github.com/trizen/youtube-viewer
2020
#-------------------------------------------------------
2121

@@ -2424,7 +2424,7 @@ sub set_thumbnail {
24242424
my ($entry, $liststore, $iter) = @{$_[0]};
24252425

24262426
my $thumb_url = $yv_utils->get_thumbnail_url($entry, $CONFIG{thumbnail_type});
2427-
my $pixbuf = get_pixbuf_thumbnail($thumb_url);
2427+
my $pixbuf = get_pixbuf_thumbnail($thumb_url, ($yv_utils->is_channel($entry) ? (160, 160) : ()));
24282428
$liststore->set_value($iter, 1, $pixbuf);
24292429

24302430
return 0;

0 commit comments

Comments
 (0)