mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Fix not playing URIs
In case of local files the "filename" variable holds the string that is later assigned to the filename property (no difference which is used), but when playing URIs only filename property holds the string. Passing an undefined value to the label caused an error in this case and prevented playback of URIs.
This commit is contained in:
@@ -136,7 +136,7 @@ class ClapperPlaylistItem extends Gtk.ListBoxRow
|
||||
icon_name: 'open-menu-symbolic',
|
||||
});
|
||||
const label = new Gtk.Label({
|
||||
label: filename,
|
||||
label: this.filename,
|
||||
single_line_mode: true,
|
||||
ellipsize: Pango.EllipsizeMode.END,
|
||||
width_chars: 5,
|
||||
|
Reference in New Issue
Block a user