This update brings some new features and bug fixes:
diff --git a/src/Services/Indicator.vala b/src/Services/Indicator.vala
index 0f4fb7b..54c5234 100644
--- a/src/Services/Indicator.vala
+++ b/src/Services/Indicator.vala
@@ -65,7 +65,7 @@ public class SoundIndicatorPlayer : GLib.Object {
app = Byte.instance;
connection = conn;
- Byte.player.current_track_changed.connect_after ((track) => {
+ Byte.player.current_track_changed.connect ((track) => {
Variant property;
if (Byte.player.player_state == Gst.State.PLAYING) {
property = "Playing";
diff --git a/src/Views/Playlist.vala b/src/Views/Playlist.vala
index e3afa6a..dc8d075 100644
--- a/src/Views/Playlist.vala
+++ b/src/Views/Playlist.vala
@@ -167,7 +167,7 @@ public class Views.Playlist : Gtk.EventBox {
/* Items */
var edit_menuitem = new Widgets.ModelButton (_("Edit Details"), "edit-symbolic", _("Edit Details"));
var cover_menuitem = new Widgets.ModelButton (_("Set new Cover"), "image-x-generic-symbolic", _("Set new Cover"));
- var delete_menuitem = new Widgets.ModelButton (_("Delete"), "edit-delete-symbolic", _("Delete"));
+ var delete_menuitem = new Widgets.ModelButton (_("Delete"), "user-trash-symbolic", _("Delete"));
var menu_grid = new Gtk.Grid ();
menu_grid.margin_top = 6;
diff --git a/src/Widgets/MediaControl.vala b/src/Widgets/MediaControl.vala
index 0ede5e3..2dd418e 100644
--- a/src/Widgets/MediaControl.vala
+++ b/src/Widgets/MediaControl.vala
@@ -253,7 +253,7 @@ public class Widgets.MediaControl : Gtk.Revealer {
try {
image_cover.pixbuf = new Gdk.Pixbuf.from_file_at_size (cover_path, 38, 38);
} catch (Error e) {
- image_cover.pixbuf = new Gdk.Pixbuf.from_file_at_size ("/usr/share/com.github.alainm23.byte/track-default-cover.svg", 38, 38);
+ image_cover.pixbuf = new Gdk.Pixbuf.from_resource_at_scale ("/com/github/alainm23/byte/track-default-cover.svg", 38, 38, true);
}
var track_grid = new Gtk.Grid ();
diff --git a/src/Widgets/TrackAlbumRow.vala b/src/Widgets/TrackAlbumRow.vala
index 24acbbd..e3a0dd3 100644
--- a/src/Widgets/TrackAlbumRow.vala
+++ b/src/Widgets/TrackAlbumRow.vala
@@ -200,7 +200,7 @@ public class Widgets.TrackAlbumRow : Gtk.ListBoxRow {
try {
image_cover.pixbuf = new Gdk.Pixbuf.from_file_at_size (cover_path, 38, 38);
} catch (Error e) {
- image_cover.pixbuf = new Gdk.Pixbuf.from_file_at_size ("/usr/share/com.github.alainm23.byte/track-default-cover.svg", 38, 38);
+ image_cover.pixbuf = new Gdk.Pixbuf.from_resource_at_scale ("/com/github/alainm23/byte/track-default-cover.svg", 38, 38, true);
}
var track_grid = new Gtk.Grid ();
diff --git a/src/Widgets/TrackRow.vala b/src/Widgets/TrackRow.vala
index 910c447..adb2b34 100644
--- a/src/Widgets/TrackRow.vala
+++ b/src/Widgets/TrackRow.vala
@@ -323,7 +323,7 @@ public class Widgets.TrackRow : Gtk.ListBoxRow {
try {
image_cover.pixbuf = new Gdk.Pixbuf.from_file_at_size (cover_path, 38, 38);
} catch (Error e) {
- image_cover.pixbuf = new Gdk.Pixbuf.from_file_at_size ("/usr/share/com.github.alainm23.byte/track-default-cover.svg", 38, 38);
+ image_cover.pixbuf = new Gdk.Pixbuf.from_resource_at_scale ("/com/github/alainm23/byte/track-default-cover.svg", 38, 38, true);
}
var track_grid = new Gtk.Grid ();