X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/1d7387a458d893664e2537ec811bc053d95600b7..adec466cf2ac13926a6ba536c18171370eb0c1e4:/appinfo/app.php diff --git a/appinfo/app.php b/appinfo/app.php index 3da4f00..704b2c7 100755 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -5,9 +5,11 @@ OCP\App::addNavigationEntry( 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', 'tomboy-grey.png'), 'name' => 'Tomboy notes' ) ); +\OC_Search::registerProvider('OCA\Grauphel\Search\Provider'); +\OCP\Util::addscript('grauphel', 'loader'); ?>