aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2016-08-28 15:49:33 -0400
committerJason Conti <jason.conti@gmail.com>2016-08-28 15:49:33 -0400
commit39810bbf1c3128d0bcaf292e200776173de212cd (patch)
tree98f892e69cf7da00832b22371c4d8cbf1b9b5f60 /data
parent83f8134780499def6fe2973934d5b7b8e015e28f (diff)
downloadayatana-indicator-notifications-39810bbf1c3128d0bcaf292e200776173de212cd.tar.gz
ayatana-indicator-notifications-39810bbf1c3128d0bcaf292e200776173de212cd.tar.bz2
ayatana-indicator-notifications-39810bbf1c3128d0bcaf292e200776173de212cd.zip
* Added back hide_on_activate = false on the notification menuitem
- Enables using space when in keyboard navigation to avoid closing the menu * Added custom close icons for selected and deselected notifications - Since we don't set PRELIGHT, needed a way to show the selected notification during keyboard navigation - gtk-close is deprecated anyway, so might as well use our own - Can be replaced by the icon theme to look more appropriate
Diffstat (limited to 'data')
-rw-r--r--data/icons/Makefile.am2
-rw-r--r--data/icons/indicator-notification-close-deselect.svg79
-rw-r--r--data/icons/indicator-notification-close-select.svg61
3 files changed, 142 insertions, 0 deletions
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index 97f2535..2543305 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -1,6 +1,8 @@
iconsdir = $(INDICATORICONSDIR)
icons_DATA = \
+ indicator-notification-close-select.svg \
+ indicator-notification-close-deselect.svg \
indicator-notification-read.svg \
indicator-notification-unread.svg
diff --git a/data/icons/indicator-notification-close-deselect.svg b/data/icons/indicator-notification-close-deselect.svg
new file mode 100644
index 0000000..3e92220
--- /dev/null
+++ b/data/icons/indicator-notification-close-deselect.svg
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="24"
+ height="24"
+ id="svg3920"
+ version="1.1"
+ inkscape:version="0.48.4 r9939"
+ sodipodi:docname="New document 5">
+ <defs
+ id="defs3922" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="11.2"
+ inkscape:cx="4.1773985"
+ inkscape:cy="15.060459"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="959"
+ inkscape:window-height="576"
+ inkscape:window-x="65"
+ inkscape:window-y="24"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata3925">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(0,-1028.3622)">
+ <path
+ style="fill:#e6ddd5;fill-opacity:1;stroke:#333333;stroke-width:1;stroke-opacity:1"
+ d="M 6.34375 2.84375 C 5.8871312 2.84375 5.4436349 3.0251151 5.09375 3.375 L 3.375 5.09375 C 2.6752302 5.7935198 2.6752302 6.8939802 3.375 7.59375 L 7.78125 12 L 3.375 16.40625 C 2.6752302 17.10602 2.6752302 18.20648 3.375 18.90625 L 5.09375 20.625 C 5.7935198 21.32477 6.8939802 21.32477 7.59375 20.625 L 12 16.21875 L 16.40625 20.625 C 17.10602 21.32477 18.20648 21.32477 18.90625 20.625 L 20.625 18.90625 C 21.32477 18.20648 21.32477 17.10602 20.625 16.40625 L 16.21875 12 L 20.625 7.59375 C 21.32477 6.8939802 21.32477 5.7935198 20.625 5.09375 L 18.90625 3.375 C 18.20648 2.6752302 17.10602 2.6752302 16.40625 3.375 L 12 7.78125 L 7.59375 3.375 C 7.2438651 3.0251151 6.8003688 2.84375 6.34375 2.84375 z "
+ transform="translate(0,1028.3622)"
+ id="rect3928" />
+ <rect
+ style="fill:#333333;fill-opacity:1;stroke:none"
+ id="rect4479"
+ width="3"
+ height="19"
+ x="-728.66187"
+ y="734.63245"
+ ry="0.91624337"
+ transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,0,0)" />
+ <rect
+ ry="0.91624337"
+ y="717.66187"
+ x="742.63245"
+ height="19"
+ width="3"
+ id="rect4487"
+ style="fill:#333333;fill-opacity:1;stroke:none"
+ transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,0,0)" />
+ </g>
+</svg>
diff --git a/data/icons/indicator-notification-close-select.svg b/data/icons/indicator-notification-close-select.svg
new file mode 100644
index 0000000..21f5026
--- /dev/null
+++ b/data/icons/indicator-notification-close-select.svg
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="24"
+ height="24"
+ id="svg3920"
+ version="1.1"
+ inkscape:version="0.48.4 r9939"
+ sodipodi:docname="indicator-notification-close-deselect.svg">
+ <defs
+ id="defs3922" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="11.2"
+ inkscape:cx="4.1773985"
+ inkscape:cy="15.060459"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="959"
+ inkscape:window-height="576"
+ inkscape:window-x="65"
+ inkscape:window-y="24"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata3925">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(0,-1028.3622)">
+ <path
+ style="fill:#e6ddd5;fill-opacity:1;stroke:#333333;stroke-width:1;stroke-opacity:1"
+ d="M 6.34375 2.84375 C 5.8871312 2.84375 5.4436349 3.0251151 5.09375 3.375 L 3.375 5.09375 C 2.6752302 5.7935198 2.6752302 6.8939802 3.375 7.59375 L 7.78125 12 L 3.375 16.40625 C 2.6752302 17.10602 2.6752302 18.20648 3.375 18.90625 L 5.09375 20.625 C 5.7935198 21.32477 6.8939802 21.32477 7.59375 20.625 L 12 16.21875 L 16.40625 20.625 C 17.10602 21.32477 18.20648 21.32477 18.90625 20.625 L 20.625 18.90625 C 21.32477 18.20648 21.32477 17.10602 20.625 16.40625 L 16.21875 12 L 20.625 7.59375 C 21.32477 6.8939802 21.32477 5.7935198 20.625 5.09375 L 18.90625 3.375 C 18.20648 2.6752302 17.10602 2.6752302 16.40625 3.375 L 12 7.78125 L 7.59375 3.375 C 7.2438651 3.0251151 6.8003688 2.84375 6.34375 2.84375 z "
+ transform="translate(0,1028.3622)"
+ id="rect3928" />
+ </g>
+</svg>