[rygel] mpris: Use less scary warning



commit aed8f03358bda570df896bce4e24bfd4462d902b
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 ea302db..d996d2c 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]