Skip to content

Commit

Permalink
fix mpris
Browse files Browse the repository at this point in the history
  • Loading branch information
Alain M committed Nov 4, 2019
1 parent 75cf844 commit f09af38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Services/Indicator.vala
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ public class Services.Indicator : GLib.Object {
uint player_id;

public void initialize () {
owner_id = Bus.own_name (BusType.SESSION, "org.mpris.MediaPlayer2.Byte", GLib.BusNameOwnerFlags.NONE, on_bus_acquired, on_name_acquired, on_name_lost);
owner_id = Bus.own_name (BusType.SESSION, "org.mpris.MediaPlayer2.com.github.alainm23.byte", GLib.BusNameOwnerFlags.NONE, on_bus_acquired, on_name_acquired, on_name_lost);
if (owner_id == 0) {
warning ("Could not initialize MPRIS session.\n");
warning ("Could not initialize MPRIS session.\n");
}

Byte.instance.main_window.destroy.connect (() => {
Expand Down
2 changes: 1 addition & 1 deletion src/Services/Scan.vala
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public class Services.Scan : GLib.Object {
_ ("Open"), Gtk.ResponseType.ACCEPT);

var filter = new Gtk.FileFilter ();
filter.set_filter_name (_ ("Folder"));
filter.set_filter_name (_("Folder"));
filter.add_mime_type ("inode/directory");

chooser.add_filter (filter);
Expand Down

0 comments on commit f09af38

Please sign in to comment.