[gnome-settings-daemon] power: generalize suspend and hibernate notification



commit 9768541338596bb1d6fbf51c48b141dce7ec0db4
Author: Dylan Van Assche <me dylanvanassche be>
Date:   Thu Feb 11 13:12:20 2021 +0100

    power: generalize suspend and hibernate notification

 plugins/power/gsd-power-manager.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index e7b9752f..7ec0483a 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -2326,12 +2326,12 @@ show_sleep_warning (GsdPowerManager *manager)
                                      &manager->notification_sleep_warning);
                 break;
         case GSD_POWER_ACTION_SUSPEND:
-                create_notification (_("Automatic suspend"), _("Computer will suspend very soon because of 
inactivity."),
+                create_notification (_("Automatic suspend"), _("Suspending soon because of inactivity."),
                                      NULL, NOTIFICATION_PRIVACY_SYSTEM,
                                      &manager->notification_sleep_warning);
                 break;
         case GSD_POWER_ACTION_HIBERNATE:
-                create_notification (_("Automatic hibernation"), _("Computer will suspend very soon because 
of inactivity."),
+                create_notification (_("Automatic hibernation"), _("Suspending soon because of inactivity."),
                                      NULL, NOTIFICATION_PRIVACY_SYSTEM,
                                      &manager->notification_sleep_warning);
                 break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]