1. 10 Apr, 2021 1 commit
    • Nishal Kulkarni's avatar
      cc-night-light-page: Add brightness controls · 7ba5ecf0
      Nishal Kulkarni authored
      Add UI controls for setting dim and default brightness.
      
      Necessary for new feature that may be added to gnome-settings-daemon
      
      Using 2 spin buttons instead of a single slider because
      while the slider allowed for setting dim brightness level,
      I couldn't figure out a way to revert to the brightness before
      nightlight was enabled.
      
      By allowing the user to set the default brightness level,
      it becomes easier to reset the brightness when night light is off.
      
      More information about the feature can be found in the GSD MR
      
      GSD MR: gnome-settings-daemon!230
      
      Closes GSD Issue: gnome-settings-daemon#528
      7ba5ecf0
  2. 08 Apr, 2021 3 commits
  3. 07 Apr, 2021 1 commit
  4. 31 Mar, 2021 1 commit
    • Bastien Nocera's avatar
      power: Fix possible assertion on startup · 9acaa105
      Bastien Nocera authored
      When opening the Power panel, and if power-profiles-daemon isn't already
      started, we'll be autostarting it, making it send signals about all the
      changed properties, including "PerformanceInhibited" even if we
      don't have a Performance row.
      
      Ignore the property change if we don't have a row for it rather than
      asserting.
      
       #0  0x00007f73916bc292 in raise () from /lib64/libc.so.6
       #1  0x00007f73916a58a4 in abort () from /lib64/libc.so.6
       #2  0x00007f7393203ccc in g_assertion_message.cold () from /lib64/libglib-2.0.so.0
       #3  0x00007f739325f22f in g_assertion_message_expr () from /lib64/libglib-2.0.so.0
       #4  0x000055a4099e28ae in performance_profile_set_inhibited (self=0x55a40b37e320, self=0x55a40b37e320, performance_inhibited=<optimized out>) at ../panels/power/cc-power-panel.c:1366
       #5  power_profiles_properties_changed_cb (self=0x55a40b37e320, changed_properties=<optimized out>, invalidated_properties=<optimized out>, proxy=<optimized out>) at ../panels/power/cc-power-panel.c:1425
       #6  0x00007f7393332c2f in g_closure_invoke () from /lib64/libgobject-2.0.so.0
       #7  0x00007f739334eea6 in signal_emit_unlocked_R () from /lib64/libgobject-2.0.so.0
      
      1362	{
      1363	  CcPowerProfileRow *row;
      1364
      1365	  row = self->power_profiles_row[CC_POWER_PROFILE_PERFORMANCE];
      1366	  g_assert (row != NULL);
      1367	  cc_power_profile_row_set_performance_inhibited (row, performance_inhibited);
      1368	}
      9acaa105
  5. 29 Mar, 2021 1 commit
  6. 28 Mar, 2021 1 commit
  7. 26 Mar, 2021 1 commit
  8. 25 Mar, 2021 1 commit
  9. 20 Mar, 2021 2 commits
  10. 18 Mar, 2021 1 commit
  11. 17 Mar, 2021 1 commit
  12. 15 Mar, 2021 1 commit
  13. 14 Mar, 2021 2 commits
  14. 13 Mar, 2021 4 commits
  15. 12 Mar, 2021 4 commits
  16. 11 Mar, 2021 1 commit
  17. 10 Mar, 2021 1 commit
  18. 09 Mar, 2021 2 commits
  19. 08 Mar, 2021 3 commits
  20. 07 Mar, 2021 3 commits
  21. 04 Mar, 2021 4 commits
  22. 28 Feb, 2021 1 commit