From 781447c5a0d82c625ddd8e6fb2ab01eae720d330 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Tue, 29 Oct 2013 17:16:45 -0700 Subject: Rename MediaPlayer.launch() ot activate() --- src/media-player.vala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/media-player.vala') diff --git a/src/media-player.vala b/src/media-player.vala index 7326708..7e0d2a7 100644 --- a/src/media-player.vala +++ b/src/media-player.vala @@ -118,17 +118,17 @@ public class MediaPlayer: Object { } /** - * Launch the associated media player. + * Activate the associated media player. * * Note: this will _not_ call attach(), because it doesn't know on which dbus-name the player will appear. * Use attach() to attach this object to a running instance of the player. */ - public void launch () { + public void activate () { try { this.appinfo.launch (null, null); } catch (Error e) { - warning ("unable to launch %s: %s", appinfo.get_name (), e.message); + warning ("unable to activate %s: %s", appinfo.get_name (), e.message); } if (this.proxy == null) @@ -144,7 +144,7 @@ public class MediaPlayer: Object { } else if (this.state != "Launching") { this.play_when_attached = true; - this.launch (); + this.activate (); } } -- cgit v1.2.3