]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/infosidebarpage.cpp
Draw dragged items. Better conditions (more accurate to our behavior, hey ! we have...
[dolphin.git] / src / infosidebarpage.cpp
index 7d7545ccd2e13d6f321e4b0690fae77e566725c2..1bdc677506ee1f7d9b684b6683e29af986456b32 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "infosidebarpage.h"
 
-#include <config-kmetadata.h>
+#include <config-nepomuk.h>
 
 #include <kfileplacesmodel.h>
 #include <klocale.h>
@@ -172,7 +172,7 @@ void InfoSidebarPage::showItemInfo()
                                            K3Icon::NoGroup,
                                            K3Icon::SizeEnormous);
         m_preview->setPixmap(icon);
-        m_nameLabel->setText(i18n("%1 items selected", selectedItems.count()));
+        m_nameLabel->setText(i18np("%1 item selected", "%1 items selected", selectedItems.count()));
     } else if (!applyBookmark(file)) {
         // try to get a preview pixmap from the item...
         KUrl::List list;
@@ -274,9 +274,9 @@ void InfoSidebarPage::showMetaInfo()
             addInfoLine(text, i18n("Size:"), sizeText);
             addInfoLine(text, i18n("Modified:"), fileItem.timeString());
 
-            // TODO: deactivate showing additional meta information, as the system
-            // hangs when retrieving the meta information of a zipped file
-            /*const KFileMetaInfo metaInfo(fileItem.url());
+            // TODO: See convertMetaInfo below, find a way to display only interesting information
+            // in a readable way
+            const KFileMetaInfo metaInfo(fileItem.url());
             if (metaInfo.isValid()) {
                 const QHash<QString, KFileMetaInfoItem>& items = metaInfo.items();
                 QHash<QString, KFileMetaInfoItem>::const_iterator it = items.constBegin();
@@ -290,7 +290,7 @@ void InfoSidebarPage::showMetaInfo()
                     }
                     ++it;
                 }
-            }*/
+            }
         }
 
         if (MetaDataWidget::metaDataAvailable()) {