diff options
| author | Sebastian Trueg <[email protected]> | 2007-03-20 09:01:22 +0000 |
|---|---|---|
| committer | Sebastian Trueg <[email protected]> | 2007-03-20 09:01:22 +0000 |
| commit | 4af3a2dcb43d053865af282c2492cc60c4b438d2 (patch) | |
| tree | 59afb2b48c642eba14d8f0a72582bd17e344bf0f /src/dolphinmainwindow.cpp | |
| parent | 397b9bd4502a5aeab7da54dfcce0e4faa4a59ee4 (diff) | |
Improved KMetaData integration. The Dolphin info sidebar now uses KMetaData to allow file rating, commenting, and tagging.
This commit is indended to show what can be done with KMetaData in an easy way. The GUI is not perfect yet.
svn path=/trunk/KDE/kdebase/apps/; revision=644510
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index f305468c8..a2bb16b8a 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -29,7 +29,7 @@ #include "dolphinsettingsdialog.h"
#include "dolphinstatusbar.h"
#include "infosidebarpage.h"
-#include "metadataloader.h"
+#include "metadatawidget.h"
#include "mainwindowadaptor.h"
#include "treeviewsidebarpage.h"
#include "urlnavigator.h"
@@ -1058,7 +1058,7 @@ void DolphinMainWindow::init() resize(640, 480);
}
#ifdef HAVE_KMETADATA
- if (!DolphinApplication::app()->metadataLoader()->storageUp())
+ if ( !MetaDataWidget::metaDataAvailable() )
activeView()->statusBar()->setMessage(i18n("Failed to contact Nepomuk service, annotation and tagging are disabled."), DolphinStatusBar::Error);
#endif
}
|
