X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/2b5ff5d48b4ec80e0e0e18188689edefaeefe91d..b4d015eda88f8b01d968cab9be74a6cee3b52066:/appinfo/app.php diff --git a/appinfo/app.php b/appinfo/app.php index c80d95b..afbc787 100755 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -1,15 +1,17 @@ getNavigationManager()->add( array( 'id' => 'grauphel', 'order' => 2342, 'href' => \OCP\Util::linkToRoute('grauphel.gui.index'), - 'icon' => OCP\Util::imagePath('grauphel', 'notes.png'), + 'icon' => \OCP\Util::imagePath('grauphel', 'app.svg'), 'name' => 'Tomboy notes' ) ); -\OC_Search::registerProvider('OCA\Grauphel\Search\Provider'); + +\OC::$server->getSearch()->registerProvider( + 'OCA\Grauphel\Search\Provider', array('apps' => array('grauphel')) +); + \OCP\Util::addscript('grauphel', 'loader'); ?>