1. 11 Jan, 2021 1 commit
    • Benjamin Berg's avatar
      datetime: Query GWeather DB on the fly instead of caching · df6c69f0
      Benjamin Berg authored and Benjamin Berg's avatar Benjamin Berg committed
      We need the database only quite irregularly (i.e. when the location
      change). Just grab the required information from GWeather on the fly and
      destroy it immediately after. Also, use the API to only grab the cities
      of one country instead of filtering them later.
      
      See also: !168
      df6c69f0
  2. 10 Jan, 2021 1 commit
  3. 06 Jan, 2021 1 commit
    • Bastien Nocera's avatar
      power: Don't warn more than once per warning level for devices · 60621b90
      Bastien Nocera authored
      A lot of wireless input devices, such as Logitech mice and touchpads, or
      Bluetooth LE input devices, will disconnect and reconnect frequently
      from the computer when unused.
      
      This causes a problem when the battery on the device is low because
      a new notification will be generated each time the device reconnects, as
      if it was the first time it connected.
      
      Saving the last warning-level for every external peripheral ensures that
      we only emit one low battery notification for each warning-level, when
      the threshold is crossed, rather than at every reconnect.
      
      The last warning-level is not stored, so a new session, or a reboot will
      cause devices to warn again once.
      
      Helps: #108
      60621b90
  4. 11 Dec, 2020 1 commit
  5. 03 Dec, 2020 1 commit
  6. 24 Nov, 2020 1 commit
  7. 20 Nov, 2020 1 commit
  8. 01 Nov, 2020 1 commit
  9. 27 Oct, 2020 1 commit
    • Benjamin Berg's avatar
      power: Never register sleep timeout for logout in GDM · c1f14103
      Benjamin Berg authored
      We already suppress logout actions in GDM (10aa1714, power: Avoid
      automatic logout in GDM/greeter). However, while this prevents the
      action, we may still warn.
      
      Change it so that the corresponding timeouts will never be registered.
      Leave the guard in gnome_session_logout but add a warning as we should
      never be hitting that code path.
      c1f14103
  10. 18 Oct, 2020 1 commit
  11. 15 Oct, 2020 1 commit
    • Benjamin Berg's avatar
      power: Avoid automatic logout in GDM/greeter · 10aa1714
      Benjamin Berg authored and Benjamin Berg's avatar Benjamin Berg committed
      In GDM sessions (greeter, initial-setup), it does not make sense to
      automatically logout. This can happen if the system wide default is
      changed to default to the "logout" action.
      
      Note that we already use the RUNNING_UNDER_GDM environment variable in
      the keyboard plugin currently. So doing this is likely sane, even if we
      probably want a more elegant strategy to detect whether we are in a
      "login" session.
      10aa1714
  12. 10 Oct, 2020 1 commit
    • Jing Wang's avatar
      Fix crashing when atime is not present · 647c0af7
      Jing Wang authored
      Recent changes to gio omit the atime instead of setting it to an out of range value.
      
      Fixes #556, but note this doesn't fix the fact that gio omitted atime on a system where atime should have been available.
      647c0af7
  13. 08 Oct, 2020 2 commits
  14. 30 Sep, 2020 2 commits
  15. 28 Sep, 2020 1 commit
  16. 22 Sep, 2020 1 commit
  17. 20 Sep, 2020 1 commit
  18. 15 Sep, 2020 2 commits
  19. 13 Sep, 2020 1 commit
  20. 12 Sep, 2020 2 commits
  21. 10 Sep, 2020 1 commit
  22. 07 Sep, 2020 4 commits
  23. 06 Sep, 2020 7 commits
  24. 05 Sep, 2020 4 commits