[rygel/rygel-0-16] mpris: Use less scary warning
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-16] mpris: Use less scary warning
- Date: Mon, 14 Jan 2013 12:25:34 +0000 (UTC)
commit d52f44122309439ed3f2762ebe2af16154e60b6a
Author: Jens Georg <jensg openismus com>
Date: Tue Dec 18 22:49:41 2012 +0100
mpris: Use less scary warning
If DBus is not available, just say we're deactivating the plug-in instead of
showing that scary critical.
src/plugins/mpris/rygel-mpris-plugin-factory.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/mpris/rygel-mpris-plugin-factory.vala b/src/plugins/mpris/rygel-mpris-plugin-factory.vala
index 4e3c695..1b7ba83 100644
--- a/src/plugins/mpris/rygel-mpris-plugin-factory.vala
+++ b/src/plugins/mpris/rygel-mpris-plugin-factory.vala
@@ -39,8 +39,8 @@ public void module_init (PluginLoader loader) {
try {
plugin_factory = new MPRIS.PluginFactory (loader);
} catch (IOError error) {
- critical ("Failed to fetch list of MPRIS services: %s\n",
- error.message);
+ message (_("Module '%s' could not connect to D-Bus session bus. "+
+ "Ignoringâ", MPRIS.Plugin.MODULE_NAME));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]