[rygel] core: Log rygel's plugins search
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Log rygel's plugins search
- Date: Tue, 25 May 2010 00:33:08 +0000 (UTC)
commit 96d6a916274d84d49ebff0f562ee9f9cdb760f4d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue May 25 03:25:08 2010 +0300
core: Log rygel's plugins search
Specify on debug log where rygel is currently looking for plugins.
src/rygel/rygel-plugin-loader.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-plugin-loader.vala b/src/rygel/rygel-plugin-loader.vala
index 9ae3d07..7c1028d 100644
--- a/src/rygel/rygel-plugin-loader.vala
+++ b/src/rygel/rygel-plugin-loader.vala
@@ -87,6 +87,8 @@ public class Rygel.PluginLoader : Object {
}
private async void load_modules_from_dir (File dir) {
+ debug (_("Searching for modules in folder '%s' .."), dir.get_path ());
+
string attributes = FILE_ATTRIBUTE_STANDARD_NAME + "," +
FILE_ATTRIBUTE_STANDARD_TYPE + "," +
FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE;
@@ -129,6 +131,9 @@ public class Rygel.PluginLoader : Object {
this.load_module_from_file (file_path);
}
}
+
+ debug (_("Finished searching for modules in folder '%s'"),
+ dir.get_path ());
}
private void load_module_from_file (string file_path) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]