[Pkg-owncloud-commits] [php-sabredav] 115/163: Icon for nodes that are not files or collection.

David Prévot taffit at moszumanska.debian.org
Tue May 20 18:55:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag upstream/2.0.0_beta1
in repository php-sabredav.

commit 64a45238fedc8a9dd858f47f20ec8fbfa894a262
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Sat May 3 20:23:24 2014 -0400

    Icon for nodes that are not files or collection.
    
    I hope one day we get a nicer design for the browser.
---
 lib/Sabre/DAV/Browser/Plugin.php             |   1 +
 lib/Sabre/DAV/Browser/assets/icons/other.png | Bin 0 -> 3671 bytes
 2 files changed, 1 insertion(+)

diff --git a/lib/Sabre/DAV/Browser/Plugin.php b/lib/Sabre/DAV/Browser/Plugin.php
index 3cf0b65..dc6461a 100644
--- a/lib/Sabre/DAV/Browser/Plugin.php
+++ b/lib/Sabre/DAV/Browser/Plugin.php
@@ -35,6 +35,7 @@ class Plugin extends DAV\ServerPlugin {
      * @var array
      */
     public $iconMap = array(
+        'Sabre\\DAV\\INode' => 'icons/other',
         'Sabre\\DAV\\IFile' => 'icons/file',
         'Sabre\\DAV\\ICollection' => 'icons/collection',
         'Sabre\\DAVACL\\IPrincipal' => 'icons/principal',
diff --git a/lib/Sabre/DAV/Browser/assets/icons/other.png b/lib/Sabre/DAV/Browser/assets/icons/other.png
new file mode 100644
index 0000000..b3a6142
Binary files /dev/null and b/lib/Sabre/DAV/Browser/assets/icons/other.png differ

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list