X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/adec466cf2ac13926a6ba536c18171370eb0c1e4..2b59f9d35c81a9d25e87a4d9c48ee1097756a3bb:/appinfo/app.php diff --git a/appinfo/app.php b/appinfo/app.php index 704b2c7..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', 'tomboy-grey.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'); ?>