projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f22ffa4
)
mpris: Use less scary warning
author
Jens Georg
<jensg@openismus.com>
Tue, 18 Dec 2012 21:49:41 +0000
(22:49 +0100)
committer
Jens Georg
<jensg@openismus.com>
Tue, 18 Dec 2012 22:00:57 +0000
(23:00 +0100)
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
patch
|
blob
|
history
diff --git
a/src/plugins/mpris/rygel-mpris-plugin-factory.vala
b/src/plugins/mpris/rygel-mpris-plugin-factory.vala
index
ea302db
..
d996d2c
100644
(file)
--- 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)
);
}
}