X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/3780cf15a59c48b3d71e8ec27e3bdacd8a119460..adec466cf2ac13926a6ba536c18171370eb0c1e4:/appinfo/app.php diff --git a/appinfo/app.php b/appinfo/app.php index 3e319df..704b2c7 100755 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -1,13 +1,15 @@ 'grauphel', - 'order' => 2342, - 'href' => OCP\Util::linkTo( 'grauphel', 'index.php' ), - 'icon' => OCP\Util::imagePath( 'grauphel', 'notes.png' ), - 'name' => 'Tomboy notes' -)); +OCP\App::addNavigationEntry( + array( + 'id' => 'grauphel', + 'order' => 2342, + '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'); +?>