1. 07 Sep, 2021 1 commit
  2. 30 Jun, 2021 2 commits
    • Pablo Correa Gomez's avatar
      device: Don't update properties when device isn't exported · 988e79ae
      Pablo Correa Gomez authored and Bastien Nocera's avatar Bastien Nocera committed
      The code in up_device_notify() will still eventually be reached when the
      up_device_coldplug() implementations are called, and properties are set
      for the device type for the first time (rather than during instance
      construction).
      988e79ae
    • Pablo Correa Gomez's avatar
      daemon: Sync icon and warning for non-default low level · 665a3b27
      Pablo Correa Gomez authored and Bastien Nocera's avatar Bastien Nocera committed
      Before, the low level for changing the battery icon was hardcoded.
      However, as the `low_percentage` property is settable by the user using
      `PercentageLow` option. That can lead to inconsistencies when PercentageLow
      is not the default. For example, if PercentageLow is set higher than 10,
      the Low Battery level warning will be sent at the user-set level, but the
      battery icon would not be updated to "caution" until the percentage
      drops below 10%.
      
      This issue is solved in this commit by using the `low_percentage` property
      for the comparison instead of hardcoding the default.
      665a3b27
  3. 18 Jun, 2021 1 commit
  4. 21 Feb, 2019 2 commits
    • Christian Kellner's avatar
      Replace use of G_TYPE_INSTANCE_GET_PRIVATE · 9b7ce3de
      Christian Kellner authored
      G_TYPE_INSTANCE_GET_PRIVATE has been deprecated since glib version
      2.58 and should be replaced with the xxx_get_instance_private (obj)
      which is generated by G_ADD_PRIVATE.
      9b7ce3de
    • Christian Kellner's avatar
      Replace use of deprecated g_type_class_add_private · 8da188b3
      Christian Kellner authored
      Use G_DEFINE_TYPE_WITH_CODE (..., G_PRIVATE_ADD (...)) instead of
      the (deprecated since glib 2.58) function g_type_class_add_private
      to add a private structure for a type.
      Bump the minimal required version of glib to 2.38.0, the version
      where G_PRIVATE_ADD was added.
      8da188b3
  5. 19 Apr, 2018 1 commit
  6. 31 Oct, 2017 1 commit
  7. 08 Sep, 2017 1 commit
  8. 06 Apr, 2017 1 commit
  9. 24 Mar, 2017 1 commit
  10. 29 Jul, 2015 4 commits
  11. 26 Nov, 2014 2 commits
  12. 18 Oct, 2013 3 commits
  13. 17 Oct, 2013 2 commits
    • Bastien Nocera's avatar
      daemon: Fix crash when device is removed · aa5636e5
      Bastien Nocera authored
      When the device was removed, we forgot to cancel sending
      out changed properties, causing illegal memory accesses.
      aa5636e5
    • Bastien Nocera's avatar
      all: Remove *changed signals · 0010e932
      Bastien Nocera authored
      Now that we send out PropertiesChanged signals (on the daemon side)
      and "notify" signals (on the client side), there's no need for the
      all encompassing DeviceChanged and Changed signals.
      
      They would have woken up any client, even if they were not interested
      in receiving the signals.
      0010e932
  14. 16 Oct, 2013 5 commits
  15. 15 Oct, 2013 5 commits
  16. 14 Oct, 2013 8 commits