From 39810bbf1c3128d0bcaf292e200776173de212cd Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Sun, 28 Aug 2016 15:49:33 -0400 Subject: * 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 --- data/icons/Makefile.am | 2 + .../indicator-notification-close-deselect.svg | 79 ++++++++++++++++++++++ data/icons/indicator-notification-close-select.svg | 61 +++++++++++++++++ 3 files changed, 142 insertions(+) create mode 100644 data/icons/indicator-notification-close-deselect.svg create mode 100644 data/icons/indicator-notification-close-select.svg (limited to 'data') 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 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + 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 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + -- cgit v1.2.3