From e4bf77f46267730d5c2e771b5dcef6a338eaf88e Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Thu, 20 Aug 2020 09:32:00 +0200 Subject: Add blacklist hints for recent application names. --- data/org.ayatana.indicator.notifications.gschema.xml.in.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data') diff --git a/data/org.ayatana.indicator.notifications.gschema.xml.in.in b/data/org.ayatana.indicator.notifications.gschema.xml.in.in index 95eb284..c7b6277 100644 --- a/data/org.ayatana.indicator.notifications.gschema.xml.in.in +++ b/data/org.ayatana.indicator.notifications.gschema.xml.in.in @@ -5,6 +5,11 @@ <_summary>Discard notifications by application name <_description>If an application name is in the blacklist, all notifications matching the application name will be discarded. + + [] + Recent application names to suggest for the blacklist + Keeps track of recent application names so we can suggest them in the settings. + false <_summary>Clear notifications on middle click -- cgit v1.2.3 From 82ca9185e9894121cc1d13bb06e7dc0e09dfd01b Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Thu, 20 Aug 2020 09:35:44 +0200 Subject: Add our own do-not-disturb setting. * Remove the MATE specific code from indicator-notifications-settings. * When do-not-disturb is set the indicator will try to set do-not-disturb on all supported desktops (currently only MATE). --- data/org.ayatana.indicator.notifications.gschema.xml.in.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data') diff --git a/data/org.ayatana.indicator.notifications.gschema.xml.in.in b/data/org.ayatana.indicator.notifications.gschema.xml.in.in index c7b6277..db9777a 100644 --- a/data/org.ayatana.indicator.notifications.gschema.xml.in.in +++ b/data/org.ayatana.indicator.notifications.gschema.xml.in.in @@ -15,6 +15,11 @@ <_summary>Clear notifications on middle click <_description>Normally when middle clicking the notification icon, the unread status will be toggled if the queue is not empty. With this option enabled, the notification queue will be cleared instead. + + false + Enable do-not-disturb mode + On supported desktops enables do-not-disturb mode on the notification daemon. + false <_summary>Hide the indicator -- cgit v1.2.3 From 8f195248f8b7ca0cc6c87c02188c4ed360964143 Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Thu, 20 Aug 2020 09:38:41 +0200 Subject: Add do-not-disturb mode read/unread icons. --- data/icons/Makefile.am | 4 +- .../ayatana-indicator-notification-read-dnd.svg | 155 +++++++++++++++ .../ayatana-indicator-notification-unread-dnd.svg | 218 +++++++++++++++++++++ 3 files changed, 376 insertions(+), 1 deletion(-) create mode 100644 data/icons/ayatana-indicator-notification-read-dnd.svg create mode 100644 data/icons/ayatana-indicator-notification-unread-dnd.svg (limited to 'data') diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am index 13251ac..47d1ac1 100644 --- a/data/icons/Makefile.am +++ b/data/icons/Makefile.am @@ -4,6 +4,8 @@ icons_DATA = \ ayatana-indicator-notification-close-select.svg \ ayatana-indicator-notification-close-deselect.svg \ ayatana-indicator-notification-read.svg \ - ayatana-indicator-notification-unread.svg + ayatana-indicator-notification-read-dnd.svg \ + ayatana-indicator-notification-unread.svg \ + ayatana-indicator-notification-unread-dnd.svg EXTRA_DIST = $(icons_DATA) diff --git a/data/icons/ayatana-indicator-notification-read-dnd.svg b/data/icons/ayatana-indicator-notification-read-dnd.svg new file mode 100644 index 0000000..d262e90 --- /dev/null +++ b/data/icons/ayatana-indicator-notification-read-dnd.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/data/icons/ayatana-indicator-notification-unread-dnd.svg b/data/icons/ayatana-indicator-notification-unread-dnd.svg new file mode 100644 index 0000000..23b859e --- /dev/null +++ b/data/icons/ayatana-indicator-notification-unread-dnd.svg @@ -0,0 +1,218 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + -- cgit v1.2.3 From 3fbc05dc4cbf564644f2500508e642eb80f07264 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Thu, 20 Aug 2020 09:41:52 +0200 Subject: Add option to swap Settings and Clear. --- data/org.ayatana.indicator.notifications.gschema.xml.in.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data') diff --git a/data/org.ayatana.indicator.notifications.gschema.xml.in.in b/data/org.ayatana.indicator.notifications.gschema.xml.in.in index db9777a..7c01fee 100644 --- a/data/org.ayatana.indicator.notifications.gschema.xml.in.in +++ b/data/org.ayatana.indicator.notifications.gschema.xml.in.in @@ -31,5 +31,10 @@ <_summary>Maximum number of visible items <_description>The indicator will only display at most the number of notifications indicated by this value. + + false + Swap the Clear and Settings items in the menu + This will move the Clear option to the bottom of the menu, below the Settings item. + -- cgit v1.2.3 From aca92b39f32f0d850f5a74b79591a587273c2168 Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Thu, 20 Aug 2020 09:45:37 +0200 Subject: Rename blacklist to filter-list. --- data/org.ayatana.indicator.notifications.gschema.xml.in.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'data') diff --git a/data/org.ayatana.indicator.notifications.gschema.xml.in.in b/data/org.ayatana.indicator.notifications.gschema.xml.in.in index 7c01fee..280cc2b 100644 --- a/data/org.ayatana.indicator.notifications.gschema.xml.in.in +++ b/data/org.ayatana.indicator.notifications.gschema.xml.in.in @@ -1,13 +1,13 @@ - + [] <_summary>Discard notifications by application name - <_description>If an application name is in the blacklist, all notifications matching the application name will be discarded. + <_description>If an application name is in the filter list, all notifications matching the application name will be discarded. - + [] - Recent application names to suggest for the blacklist + Recent application names to suggest for the filter list Keeps track of recent application names so we can suggest them in the settings. -- cgit v1.2.3