tracker r1151 - in trunk: . data/services src/tracker-search-tool
- From: jamiemcc svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r1151 - in trunk: . data/services src/tracker-search-tool
- Date: Mon, 25 Feb 2008 05:24:47 +0000 (GMT)
Author: jamiemcc
Date: Mon Feb 25 05:24:47 2008
New Revision: 1151
URL: http://svn.gnome.org/viewvc/tracker?rev=1151&view=rev
Log:
missing updates
Modified:
trunk/configure.ac
trunk/data/services/document.metadata
trunk/src/tracker-search-tool/tracker-search-tool.c
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Mon Feb 25 05:24:47 2008
@@ -3,7 +3,7 @@
# This file is part of Tracker.
AC_PREREQ(2.59c)
-AC_INIT([tracker],[0.6.4],[tracker-list gnome org])
+AC_INIT([tracker],[0.6.5],[tracker-list gnome org])
AC_CONFIG_SRCDIR([src/trackerd/trackerd.c])
AM_INIT_AUTOMAKE([dist-bzip2])
Modified: trunk/data/services/document.metadata
==============================================================================
--- trunk/data/services/document.metadata (original)
+++ trunk/data/services/document.metadata Mon Feb 25 05:24:47 2008
@@ -53,3 +53,11 @@
Description=Date document was created
DataType=DateTime
Parent=DC:Date
+
+[Doc:URL]
+DisplayName=URL
+Description=URL to this Doc
+DataType=Indexable
+Weight=20
+Filtered=false
+
Modified: trunk/src/tracker-search-tool/tracker-search-tool.c
==============================================================================
--- trunk/src/tracker-search-tool/tracker-search-tool.c (original)
+++ trunk/src/tracker-search-tool/tracker-search-tool.c Mon Feb 25 05:24:47 2008
@@ -126,12 +126,12 @@
"Appointments",
"Tasks",
"Bookmarks",
-"History",
+"WebHistory",
"Projects",
NULL
};
-static service_info_t services[12] = {
+static service_info_t services[13] = {
{ "Emails", N_("Emails"), "stock_mail", NULL, SERVICE_EMAILS, NULL, FALSE, 0, 0},
{ "Files", N_("All Files"), "system-file-manager", NULL, SERVICE_FILES, NULL, FALSE, 0, 0},
@@ -144,6 +144,7 @@
{ "Development", N_("Development"), "applications-development", NULL, SERVICE_DEVELOPMENT_FILES, NULL, FALSE, 0, 0},
{ "Conversations", N_("Chat Logs"), "stock_help-chat", NULL, SERVICE_CONVERSATIONS, NULL, FALSE, 0, 0},
{ "Applications", N_("Applications"), "system-run", NULL, SERVICE_APPLICATIONS, NULL, FALSE, 0, 0},
+ { "WebHistory", N_("WebHistory"), "text-html", NULL, SERVICE_WEBHISTORY, NULL, FALSE, 0, 0},
{ NULL, NULL, NULL, NULL, -1, NULL, FALSE, 0, 0},
};
@@ -1551,7 +1552,7 @@
if (type != -1) {
for (service = services; service->service; ++service) {
- if (service->service_type == (guint32) type) {
+ if (strcmp(service->service,meta[0]) == 0) {
service->hit_count = atoi (meta[1]);
break;
}
@@ -1948,6 +1949,7 @@
g_hash_table_insert (gsearch->category_table, g_strdup ("Development"), &services[8]);
g_hash_table_insert (gsearch->category_table, g_strdup ("Conversations"), &services[9]);
g_hash_table_insert (gsearch->category_table, g_strdup ("Applications"), &services[10]);
+ g_hash_table_insert (gsearch->category_table, g_strdup ("WebHistory"), &services[11]);
//g_hash_table_insert (gsearch->category_table, g_strdup ("EmailAttachments"), &services[11]);
gsearch->category_store = gtk_list_store_new (NUM_CATEGORY_COLUMNS, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_STRING);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]