┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorOscar Blumberg <[email protected]>2007-02-22 16:45:53 +0000
committerOscar Blumberg <[email protected]>2007-02-22 16:45:53 +0000
commitcefcbf0ef0e960db68021715d1c600b901be8501 (patch)
treeb225829718a48f7920fb14578460fcdb6aae242a /src/dolphinmainwindow.cpp
parentbf50ced73473a225d681de6b62bc05571d969664 (diff)
* 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
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
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 <kaction.h>
@@ -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()