diff --git a/MANIFEST.in b/MANIFEST.in index 62d5e78b6..80f440197 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,6 +2,7 @@ global-exclude __pycache__ *.pyc *.pyo recursive-include qutebrowser *.py recursive-include qutebrowser/html *.html +recursive-include qutebrowser/img *.svg recursive-include qutebrowser/test *.py recursive-include qutebrowser/javascript *.js graft icons diff --git a/qutebrowser/browser/dirbrowser.py b/qutebrowser/browser/dirbrowser.py index e82eba958..61c3e4bd6 100644 --- a/qutebrowser/browser/dirbrowser.py +++ b/qutebrowser/browser/dirbrowser.py @@ -57,8 +57,8 @@ def dirbrowser(urlstring): # pylint: disable=no-member # https://bitbucket.org/logilab/pylint/issue/490/ - folder = resource_filename('img/folder.png') - file = resource_filename('img/file.png') + folder = resource_filename('img/folder.svg') + file = resource_filename('img/file.svg') if os.path.dirname(urlstring) == urlstring: parent = None diff --git a/qutebrowser/html/dirbrowser.html b/qutebrowser/html/dirbrowser.html index ca9d4e658..a312ff913 100644 --- a/qutebrowser/html/dirbrowser.html +++ b/qutebrowser/html/dirbrowser.html @@ -26,6 +26,7 @@ ul { ul > li { background-repeat: no-repeat; + background-size: 22px; line-height: 22px; padding-left: 25px; } diff --git a/qutebrowser/img/file.png b/qutebrowser/img/file.png deleted file mode 100644 index a258c7c2e..000000000 Binary files a/qutebrowser/img/file.png and /dev/null differ diff --git a/qutebrowser/img/file.svg b/qutebrowser/img/file.svg new file mode 100644 index 000000000..532f98bbc --- /dev/null +++ b/qutebrowser/img/file.svg @@ -0,0 +1,548 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Generic Text + + + text + plaintext + regular + document + + + + + + Jakub Steiner + + + http://jimmac.musichall.cz + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/qutebrowser/img/folder.png b/qutebrowser/img/folder.png deleted file mode 100644 index 07784f88e..000000000 Binary files a/qutebrowser/img/folder.png and /dev/null differ diff --git a/qutebrowser/img/folder.svg b/qutebrowser/img/folder.svg new file mode 100644 index 000000000..79b25c305 --- /dev/null +++ b/qutebrowser/img/folder.svg @@ -0,0 +1,424 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Folder Icon + + + + Jakub Steiner + + + + http://jimmac.musichall.cz + + + folder + directory + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +