From cefcbf0ef0e960db68021715d1c600b901be8501 Mon Sep 17 00:00:00 2001 From: Oscar Blumberg Date: Thu, 22 Feb 2007 16:45:53 +0000 Subject: * Starts to add Nepomuk supports to dolphin (currently, only annotations are supported) * Little changes in InfoSidebarPage (no more multiple label for infos & Q3Layout>QLayout) * Support infos for multiple files (only total size, what else ?) svn path=/trunk/KDE/kdebase/apps/; revision=636272 --- src/dolphinmainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 2cf524bbd..adc7d17ce 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -36,6 +36,7 @@ #include "dolphin_generalsettings.h" #include "viewpropertiesdialog.h" #include "viewproperties.h" +#include "metadataloader.h" #include "mainwindowadaptor.h" #include @@ -952,6 +953,9 @@ void DolphinMainWindow::init() // assure a proper default size if Dolphin runs the first time resize(640, 480); } + + if (!DolphinApplication::app()->metadataLoader()->storageUp()) + activeView()->statusBar()->setMessage(i18n("Failed to contact Nepomuk service, annotation and tagging are disabled."), DolphinStatusBar::Error); } void DolphinMainWindow::loadSettings() -- cgit v1.3