gnome-commander r2527 - in branches/gcmd-1-3: . src/tags



Author: epiotr
Date: Tue Apr  7 18:16:37 2009
New Revision: 2527
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2527&view=rev

Log:
Properly report unsuported Doc.* tags

Modified:
   branches/gcmd-1-3/ChangeLog
   branches/gcmd-1-3/src/tags/gnome-cmd-tags.cc

Modified: branches/gcmd-1-3/src/tags/gnome-cmd-tags.cc
==============================================================================
--- branches/gcmd-1-3/src/tags/gnome-cmd-tags.cc	(original)
+++ branches/gcmd-1-3/src/tags/gnome-cmd-tags.cc	Tue Apr  7 18:16:37 2009
@@ -748,13 +748,17 @@
                         ret_val = f->metadata->operator [] (tag).c_str();
                         break;
 
-        case TAG_CHM  : break;
-
         case TAG_DOC  :
 #ifndef HAVE_GSF
+#ifndef HAVE_PDF
                         return _(no_support_for_libgsf_tags_string);
 #endif
+#endif
                         gcmd_tags_libgsf_load_metadata(f);
+                        gcmd_tags_poppler_load_metadata(f);
+                        ret_val = f->metadata->operator [] (tag).c_str();
+                        break;
+
         case TAG_PDF  :
 #ifndef HAVE_PDF
                         return _(no_support_for_poppler_tags_string);
@@ -763,6 +767,8 @@
                         ret_val = f->metadata->operator [] (tag).c_str();
                         break;
 
+        case TAG_CHM  : break;
+
         case TAG_FILE : gcmd_tags_file_load_metadata(f);
                         ret_val = f->metadata->operator [] (tag).c_str();
                         break;



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