diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-01-10 18:04:50 +0100 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-01-10 18:04:50 +0100 |
commit | 3a1bf21052b1f9939ef574a4dfa6d4c1fe74df5d (patch) | |
tree | c3cf5fe5a75ce639de41befab9cc75da62a89d0b /src/sound-service-dbus.c | |
parent | 3c02b69b2d0801d8a72c6016a41192b601ce4f2f (diff) | |
download | ayatana-indicator-sound-3a1bf21052b1f9939ef574a4dfa6d4c1fe74df5d.tar.gz ayatana-indicator-sound-3a1bf21052b1f9939ef574a4dfa6d4c1fe74df5d.tar.bz2 ayatana-indicator-sound-3a1bf21052b1f9939ef574a4dfa6d4c1fe74df5d.zip |
make indicator-sound's schema and path naming consistent with other indicators.
indicator-sound uses a different schema prefix ("/com/canonical/indicators" vs "/com/canonical/indicator") and different path prefix ("/apps/indicators" vs "/com/canonical/indicator") than other indicators use. When I asked ronoc about the latter, he confirmed it's an error and suggested that the former be fixed at the same time to make indicator naming more consistent.
Diffstat (limited to 'src/sound-service-dbus.c')
-rw-r--r-- | src/sound-service-dbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound-service-dbus.c b/src/sound-service-dbus.c index b69f081..5650002 100644 --- a/src/sound-service-dbus.c +++ b/src/sound-service-dbus.c @@ -378,7 +378,7 @@ static gboolean sound_service_dbus_blacklist_player (SoundServiceDbus* self, gchar *str; GVariantBuilder builder; - our_settings = g_settings_new ("com.canonical.indicators.sound"); + our_settings = g_settings_new ("com.canonical.indicator.sound"); the_black_list = g_settings_get_value (our_settings, "blacklisted-media-players"); g_variant_iter_init (&iter, the_black_list); @@ -459,7 +459,7 @@ static gboolean sound_service_dbus_is_blacklisted (SoundServiceDbus *self, g_return_val_if_fail (player_name != NULL, FALSE); g_return_val_if_fail (IS_SOUND_SERVICE_DBUS (self), FALSE); - our_settings = g_settings_new ("com.canonical.indicators.sound"); + our_settings = g_settings_new ("com.canonical.indicator.sound"); the_black_list = g_settings_get_value (our_settings, "blacklisted-media-players"); g_variant_iter_init (&iter, the_black_list); |