Few small CSS optimizations for new Adwaita theme

This commit is contained in:
Rafał Dzięgiel
2021-08-02 16:56:04 +02:00
parent 56ca13b370
commit 62fab289b7
3 changed files with 26 additions and 19 deletions

View File

@@ -28,6 +28,7 @@ class ClapperPlaylistWidget extends Gtk.ListBox
});
this.activeRowId = -1;
this.repeatMode = RepeatMode.NONE;
this.add_css_class('playlist');
this.connect('row-activated', this._onRowActivated.bind(this));
}
@@ -254,6 +255,7 @@ class ClapperPlaylistItem extends Gtk.ListBoxRow
}
this.filename = filename || uri;
this.set_tooltip_text(this.filename);
this.add_css_class('playlistrow');
const box = new Gtk.Box({
orientation: Gtk.Orientation.HORIZONTAL,