tracker r2769 - in trunk: . src/libtracker-data
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2769 - in trunk: . src/libtracker-data
- Date: Wed, 7 Jan 2009 15:52:55 +0000 (UTC)
Author: carlosg
Date: Wed Jan 7 15:52:55 2009
New Revision: 2769
URL: http://svn.gnome.org/viewvc/tracker?rev=2769&view=rev
Log:
2009-01-07 Carlos Garnacho <carlos imendio com>
* src/libtracker-data/tracker-data-update.c
(tracker_data_update_create_service): Do not set Enabled=0 in any
case, since it fails for non-local files, again.
Modified:
trunk/ChangeLog
trunk/src/libtracker-data/tracker-data-update.c
Modified: trunk/src/libtracker-data/tracker-data-update.c
==============================================================================
--- trunk/src/libtracker-data/tracker-data-update.c (original)
+++ trunk/src/libtracker-data/tracker-data-update.c Wed Jan 7 15:52:55 2009
@@ -165,7 +165,7 @@
TrackerDBResultSet *result_set;
guint32 volume_id = 0;
gchar *id_str, *service_type_id_str, *path, *volume_id_str;
- gboolean is_dir, is_symlink, enabled;
+ gboolean is_dir, is_symlink;
if (!service) {
return FALSE;
@@ -209,16 +209,6 @@
volume_id_str, /* Aux ID */
NULL);
- enabled = is_dir ?
- tracker_service_get_show_service_directories (service) :
- tracker_service_get_show_service_files (service);
-
- if (!enabled) {
- tracker_db_interface_execute_query (iface, NULL,
- "Update services set Enabled = 0 where ID = %d",
- service_id);
- }
-
g_free (id_str);
g_free (service_type_id_str);
g_free (volume_id_str);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]