Accepting request 736385 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/736385 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-settings-daemon?expand=0&rev=350
This commit is contained in:
parent
73c793de2a
commit
859746ce6c
@ -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
|
Index: gnome-settings-daemon-3.34.0/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
|
--- 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 @@
|
@@ -41,5 +41,10 @@
|
||||||
<summary>Power button action</summary>
|
<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>
|
<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>
|
+ </key>
|
||||||
</schema>
|
</schema>
|
||||||
</schemalist>
|
</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
|
Index: gnome-settings-daemon-3.34.0/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
|
--- 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
|
@@ -157,6 +157,7 @@ struct _GsdPowerManager
|
||||||
NotifyNotification *notification_ups_discharging;
|
NotifyNotification *notification_ups_discharging;
|
||||||
NotifyNotification *notification_low;
|
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 a new notification */
|
||||||
+ create_notification (_("System resumed from sleep"),
|
+ create_notification (_("System resumed from sleep"),
|
||||||
+ _("The system automatically went to sleep because the system was idle."),
|
+ _("The system automatically went to sleep because the system was idle."),
|
||||||
+ NULL,
|
+ NULL, NOTIFICATION_PRIVACY_SYSTEM,
|
||||||
+ &manager->notification_resumed);
|
+ &manager->notification_resumed);
|
||||||
+ notify_notification_set_timeout (manager->notification_resumed,
|
+ notify_notification_set_timeout (manager->notification_resumed,
|
||||||
+ GSD_POWER_MANAGER_NOTIFY_TIMEOUT_SHORT);
|
+ GSD_POWER_MANAGER_NOTIFY_TIMEOUT_SHORT);
|
||||||
|
@ -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>
|
Fri Sep 20 17:19:51 UTC 2019 - Felix Zhang <fezhang@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user