diff options
author | Michael Terry <michael.terry@canonical.com> | 2014-04-01 17:08:28 -0400 |
---|---|---|
committer | Michael Terry <michael.terry@canonical.com> | 2014-04-01 17:08:28 -0400 |
commit | 47ca0f8c9af7c41e884ff696c0ee05addd9f0ae8 (patch) | |
tree | b2e281944d19f0cb82a85bab0450d3708adb4592 /src/media-player-list-greeter.vala | |
parent | 0bc794899a7d4500d76b2a9ec3c6f311d6c25312 (diff) | |
download | ayatana-indicator-sound-47ca0f8c9af7c41e884ff696c0ee05addd9f0ae8.tar.gz ayatana-indicator-sound-47ca0f8c9af7c41e884ff696c0ee05addd9f0ae8.tar.bz2 ayatana-indicator-sound-47ca0f8c9af7c41e884ff696c0ee05addd9f0ae8.zip |
Go back to useing correct name for unity greeter (especially in media player)
Diffstat (limited to 'src/media-player-list-greeter.vala')
-rw-r--r-- | src/media-player-list-greeter.vala | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/media-player-list-greeter.vala b/src/media-player-list-greeter.vala index a36e970..4842dc3 100644 --- a/src/media-player-list-greeter.vala +++ b/src/media-player-list-greeter.vala @@ -29,12 +29,9 @@ public class MediaPlayerListGreeter : MediaPlayerList { HashTable<string, MediaPlayerUser> players = new HashTable<string, MediaPlayerUser>(str_hash, str_equal); public MediaPlayerListGreeter () { - var bus_name = Environment.get_variable ("UNITY_GREETER_DBUS_NAME"); - if (bus_name == null) - bus_name = "com.canonical.UnityGreeter"; Bus.get_proxy.begin<UnityGreeterList> ( BusType.SESSION, - bus_name, + "com.canonical.UnityGreeter", "/list", DBusProxyFlags.NONE, null, |