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