paperbox r207 - in trunk: . src



Author: markoa
Date: Wed Oct 15 22:35:09 2008
New Revision: 207
URL: http://svn.gnome.org/viewvc/paperbox?rev=207&view=rev

Log:
Ask for Doc:Title, instead of Doc:Subject

Modified:
   trunk/ChangeLog
   trunk/src/tracker-phone.cc

Modified: trunk/src/tracker-phone.cc
==============================================================================
--- trunk/src/tracker-phone.cc	(original)
+++ trunk/src/tracker-phone.cc	Wed Oct 15 22:35:09 2008
@@ -62,7 +62,7 @@
     static const char* doc_keys[] =
     {
 	"File:Name",
-	"Doc:Subject",
+	"Doc:Title",
 	"Doc:Author",
 	"Doc:Comments",
 	"Doc:PageCount",
@@ -73,7 +73,7 @@
 
     enum {        // keep in sync with doc_keys
         FILE_NAME,
-        SUBJECT,
+        TITLE,
         AUTHOR,
         COMMENTS,
         PAGE_COUNT,
@@ -375,8 +375,8 @@
         document->set_modification_time(file_modified);
         document->set_mtime(modtime);
 
-        if (! is_empty_string(keys[SUBJECT])) {
-            Glib::ustring subject(keys[SUBJECT]);
+        if (! is_empty_string(keys[TITLE])) {
+            Glib::ustring subject(keys[TITLE]);
             document->set_subject(subject);
         } else {
             document->set_subject(document->get_file_name());



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]