zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #04222
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 282: Add missing symlink and stuff.
------------------------------------------------------------
revno: 282
committer: Siegfried-Angel Gevatter Pujals <siegfried@xxxxxxxxxxxx>
branch nick: bluebird
timestamp: Sun 2011-10-09 14:24:25 +0200
message:
Add missing symlink and stuff.
added:
src/ext-fts.vala@
modified:
extensions/fts.vala
src/engine.vala
--
lp:~zeitgeist/zeitgeist/bluebird
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird
Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/fts.vala'
--- extensions/fts.vala 2011-10-09 11:56:22 +0000
+++ extensions/fts.vala 2011-10-09 12:24:25 +0000
@@ -31,7 +31,7 @@
}
[DBus (name = "org.gnome.zeitgeist.SimpleIndexer")]
- public interface Siin : Object
+ public interface RemoteSimpleIndexer : Object
{
[DBus (signature = "a(asaasay)u")]
public abstract Variant search (
@@ -43,33 +43,35 @@
class SearchEngine: Extension, RemoteSearchEngine
{
-
- private Siin siin;
+
+ private RemoteSimpleIndexer siin;
private uint registration_id;
-
+
SearchEngine ()
{
Object ();
}
-
+
construct
{
try
{
- siin = Bus.get_proxy_sync (BusType.SESSION, "org.gnome.zeitgeist.Index",
- "/org/gnome/zeitgeist/index/activity");
- warning ("=============================================");
var connection = Bus.get_sync (BusType.SESSION, null);
registration_id = connection.register_object<RemoteSearchEngine> (
"/org/gnome/zeitgeist/index/activity", this);
+
+ // Get SimpleIndexer
+ siin = Bus.get_proxy_sync (BusType.SESSION,
+ "org.gnome.zeitgeist.Index",
+ "/org/gnome/zeitgeist/index/activity");
}
catch (Error err)
{
warning ("%s", err.message);
}
}
-
- public Variant search (string query_string, Variant time_range,
+
+ public Variant search (string query_string, Variant time_range,
Variant filter_templates, uint offset, uint count, uint result_type)
{
return siin.search (query_string, time_range, filter_templates,
=== modified file 'src/engine.vala'
--- src/engine.vala 2011-10-09 10:42:33 +0000
+++ src/engine.vala 2011-10-09 12:24:25 +0000
@@ -570,7 +570,6 @@
}
database.end_transaction ();
extension_collection.call_post_insert_events (events, sender);
- debug("Inserted %lld events", events.length);
return event_ids;
}
=== added symlink 'src/ext-fts.vala'
=== target is u'../extensions/fts.vala'