Bjørn Lie 2019-10-09 10:41:42 +00:00 committed by Git OBS Bridge
parent 73c793de2a
commit 859746ce6c
2 changed files with 16 additions and 7 deletions

View File

@ -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 @@
<summary>Power button action</summary>
<description>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).</description>
@ -12,9 +13,10 @@ diff -urp gnome-settings-daemon-3.33.90.orig/data/org.gnome.settings-daemon.plug
+ </key>
</schema>
</schemalist>
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);

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 8 10:36:50 UTC 2019 - Yifan Jiang <yfjiang@suse.com>
- 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 <fezhang@suse.com>