Accepting request 750120 from GNOME:Next
- Update gnome-settings-daemon-notify-idle-resumed.patch with proper xml tag names. OBS-URL: https://build.opensuse.org/request/show/750120 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-settings-daemon?expand=0&rev=354
This commit is contained in:
parent
49de81b0aa
commit
f03248b487
@ -1,23 +1,23 @@
|
|||||||
Index: gnome-settings-daemon-3.34.0/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in
|
Index: gnome-settings-daemon-3.34.1+3/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.1+3.orig/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in 2019-11-21 15:37:24.539068623 +0100
|
||||||
+++ gnome-settings-daemon-3.34.0/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in
|
+++ gnome-settings-daemon-3.34.1+3/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in 2019-11-21 15:37:54.099067245 +0100
|
||||||
@@ -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>
|
||||||
</key>
|
</key>
|
||||||
+ <key name="notify-idle-resumed" type="b">
|
+ <key name="notify-idle-resumed" type="b">
|
||||||
+ <default>true</default>
|
+ <default>true</default>
|
||||||
+ <_summary>If an information message should be displayed when returning from idle sleep.</_summary>
|
+ <summary>If an information message should be displayed when returning from idle sleep.</summary>
|
||||||
+ <_description>If an information message should be displayed when returning from idle sleep.</_description>
|
+ <description>If an information message should be displayed when returning from idle sleep.</description>
|
||||||
+ </key>
|
+ </key>
|
||||||
</schema>
|
</schema>
|
||||||
</schemalist>
|
</schemalist>
|
||||||
Index: gnome-settings-daemon-3.34.0/plugins/power/gsd-power-manager.c
|
Index: gnome-settings-daemon-3.34.1+3/plugins/power/gsd-power-manager.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- gnome-settings-daemon-3.34.0.orig/plugins/power/gsd-power-manager.c
|
--- gnome-settings-daemon-3.34.1+3.orig/plugins/power/gsd-power-manager.c 2019-11-21 15:37:24.539068623 +0100
|
||||||
+++ gnome-settings-daemon-3.34.0/plugins/power/gsd-power-manager.c
|
+++ gnome-settings-daemon-3.34.1+3/plugins/power/gsd-power-manager.c 2019-11-21 15:37:35.435068115 +0100
|
||||||
@@ -157,6 +157,7 @@ struct _GsdPowerManager
|
@@ -157,6 +157,7 @@
|
||||||
NotifyNotification *notification_ups_discharging;
|
NotifyNotification *notification_ups_discharging;
|
||||||
NotifyNotification *notification_low;
|
NotifyNotification *notification_low;
|
||||||
NotifyNotification *notification_sleep_warning;
|
NotifyNotification *notification_sleep_warning;
|
||||||
@ -25,7 +25,7 @@ Index: gnome-settings-daemon-3.34.0/plugins/power/gsd-power-manager.c
|
|||||||
GsdPowerActionType sleep_action_type;
|
GsdPowerActionType sleep_action_type;
|
||||||
gboolean battery_is_low; /* laptop battery low, or UPS discharging */
|
gboolean battery_is_low; /* laptop battery low, or UPS discharging */
|
||||||
|
|
||||||
@@ -191,6 +192,7 @@ struct _GsdPowerManager
|
@@ -191,6 +192,7 @@
|
||||||
gboolean inhibit_suspend_taken;
|
gboolean inhibit_suspend_taken;
|
||||||
guint inhibit_lid_switch_timer_id;
|
guint inhibit_lid_switch_timer_id;
|
||||||
gboolean is_virtual_machine;
|
gboolean is_virtual_machine;
|
||||||
@ -33,7 +33,7 @@ Index: gnome-settings-daemon-3.34.0/plugins/power/gsd-power-manager.c
|
|||||||
|
|
||||||
/* Idles */
|
/* Idles */
|
||||||
GnomeIdleMonitor *idle_monitor;
|
GnomeIdleMonitor *idle_monitor;
|
||||||
@@ -1497,6 +1499,49 @@ is_session_active (GsdPowerManager *mana
|
@@ -1497,6 +1499,49 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -83,7 +83,7 @@ Index: gnome-settings-daemon-3.34.0/plugins/power/gsd-power-manager.c
|
|||||||
idle_set_mode (GsdPowerManager *manager, GsdPowerIdleMode mode)
|
idle_set_mode (GsdPowerManager *manager, GsdPowerIdleMode mode)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
@@ -1573,6 +1618,7 @@ idle_set_mode (GsdPowerManager *manager,
|
@@ -1573,6 +1618,7 @@
|
||||||
action_type = g_settings_get_enum (manager->settings,
|
action_type = g_settings_get_enum (manager->settings,
|
||||||
"sleep-inactive-ac-type");
|
"sleep-inactive-ac-type");
|
||||||
}
|
}
|
||||||
@ -91,7 +91,7 @@ Index: gnome-settings-daemon-3.34.0/plugins/power/gsd-power-manager.c
|
|||||||
do_power_action_type (manager, action_type);
|
do_power_action_type (manager, action_type);
|
||||||
|
|
||||||
/* turn on screen and restore user-selected brightness level */
|
/* turn on screen and restore user-selected brightness level */
|
||||||
@@ -2353,6 +2399,12 @@ handle_suspend_actions (GsdPowerManager
|
@@ -2353,6 +2399,12 @@
|
||||||
static void
|
static void
|
||||||
handle_resume_actions (GsdPowerManager *manager)
|
handle_resume_actions (GsdPowerManager *manager)
|
||||||
{
|
{
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 21 14:38:45 UTC 2019 - Frederic Crozat <fcrozat@suse.com>
|
||||||
|
|
||||||
|
- Update gnome-settings-daemon-notify-idle-resumed.patch with
|
||||||
|
proper xml tag names.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 12 16:56:25 UTC 2019 - bjorn.lie@gmail.com
|
Sat Oct 12 16:56:25 UTC 2019 - bjorn.lie@gmail.com
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ BuildRequires: pkgconfig(geoclue-2.0) >= 2.1.2
|
|||||||
BuildRequires: pkgconfig(geocode-glib-1.0) >= 3.10.0
|
BuildRequires: pkgconfig(geocode-glib-1.0) >= 3.10.0
|
||||||
BuildRequires: pkgconfig(gio-2.0)
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.53.0
|
BuildRequires: pkgconfig(glib-2.0) >= 2.56
|
||||||
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.11.1
|
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.11.1
|
||||||
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.33.0
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.33.0
|
||||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.15.3
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.15.3
|
||||||
|
Loading…
Reference in New Issue
Block a user