diff --git a/gnome-settings-daemon-notify-idle-resumed.patch b/gnome-settings-daemon-notify-idle-resumed.patch index 88e66bc..c15d2f4 100644 --- a/gnome-settings-daemon-notify-idle-resumed.patch +++ b/gnome-settings-daemon-notify-idle-resumed.patch @@ -1,6 +1,7 @@ -diff -urp gnome-settings-daemon-3.33.90.orig/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in gnome-settings-daemon-3.33.90/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in ---- gnome-settings-daemon-3.33.90.orig/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in 2019-08-05 18:40:19.000000000 -0500 -+++ gnome-settings-daemon-3.33.90/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in 2019-08-31 19:31:48.127633355 -0500 +Index: gnome-settings-daemon-3.34.0/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in +=================================================================== +--- gnome-settings-daemon-3.34.0.orig/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in ++++ gnome-settings-daemon-3.34.0/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in @@ -41,5 +41,10 @@ Power button action The action to take when the system power button is pressed. This action is hard-coded (and the setting ignored) on virtual machines (power off) and tablets (suspend). @@ -12,9 +13,10 @@ diff -urp gnome-settings-daemon-3.33.90.orig/data/org.gnome.settings-daemon.plug + -diff -urp gnome-settings-daemon-3.33.90.orig/plugins/power/gsd-power-manager.c gnome-settings-daemon-3.33.90/plugins/power/gsd-power-manager.c ---- gnome-settings-daemon-3.33.90.orig/plugins/power/gsd-power-manager.c 2019-08-05 18:40:19.000000000 -0500 -+++ gnome-settings-daemon-3.33.90/plugins/power/gsd-power-manager.c 2019-08-31 19:34:05.024358981 -0500 +Index: gnome-settings-daemon-3.34.0/plugins/power/gsd-power-manager.c +=================================================================== +--- gnome-settings-daemon-3.34.0.orig/plugins/power/gsd-power-manager.c ++++ gnome-settings-daemon-3.34.0/plugins/power/gsd-power-manager.c @@ -157,6 +157,7 @@ struct _GsdPowerManager NotifyNotification *notification_ups_discharging; NotifyNotification *notification_low; @@ -56,7 +58,7 @@ diff -urp gnome-settings-daemon-3.33.90.orig/plugins/power/gsd-power-manager.c g + /* create a new notification */ + create_notification (_("System resumed from sleep"), + _("The system automatically went to sleep because the system was idle."), -+ NULL, ++ NULL, NOTIFICATION_PRIVACY_SYSTEM, + &manager->notification_resumed); + notify_notification_set_timeout (manager->notification_resumed, + GSD_POWER_MANAGER_NOTIFY_TIMEOUT_SHORT); diff --git a/gnome-settings-daemon.changes b/gnome-settings-daemon.changes index 31c5261..2a5abac 100644 --- a/gnome-settings-daemon.changes +++ b/gnome-settings-daemon.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Oct 8 10:36:50 UTC 2019 - Yifan Jiang + +- Rebase gnome-settings-daemon-notify-idle-resumed.patch: + Add the newly added parameter NOTIFICATION_PRIVACY_SYSTEM for the + function of create_notification. + ------------------------------------------------------------------- Fri Sep 20 17:19:51 UTC 2019 - Felix Zhang