gnome-control-center/panels/display
danielps 77aaf3146b display: Fix night light minute selection
The night light schedule dialog stores the time as a single floating
point value, which is then converted into hours and minutes for the
time selection fields.

Previously, the minutes were calculated using the remainder of the
stored value and the hours. This caused undesired behaviour when the
hour field was set to zero, as fmod(value, 0) returns NaN. As a result,
the user was not able to set the time between 00:00 and 00:59.

This patch rewrites the time retrieval logic using modf.

https://bugzilla.gnome.org/show_bug.cgi?id=792944
2018-01-30 09:38:11 -02:00
..
icons build: Port to meson build system 2018-01-17 20:09:35 -02:00
cc-display-config-dbus.c display: Add support for mutter's global scale requirement 2018-01-21 12:24:54 -02:00
cc-display-config-dbus.h display: Provide an implementation for mutter's new display config API 2017-05-18 18:57:26 +02:00
cc-display-config-manager-dbus.c display/config-manager-dbus: Clear the current state on error 2017-08-21 14:47:17 +02:00
cc-display-config-manager-dbus.h display: Provide an implementation for mutter's new display config API 2017-05-18 18:57:26 +02:00
cc-display-config-manager.c display: Introduce an abstract API for display configuration 2017-05-18 18:57:26 +02:00
cc-display-config-manager.h display: Introduce an abstract API for display configuration 2017-05-18 18:57:26 +02:00
cc-display-config.c display: Add a signal for scale changes 2017-08-22 19:21:41 +02:00
cc-display-config.h display: Adapt to new Mutter interface with scaling per mode 2017-07-14 18:32:54 +02:00
cc-display-panel.c display: Reset configuration when switching layouting modes 2017-12-08 16:09:58 +00:00
cc-display-panel.h display: Port the display panel to the new abstract API 2017-05-18 18:57:26 +02:00
cc-night-light-dialog.c display: Fix night light minute selection 2018-01-30 09:38:11 -02:00
cc-night-light-dialog.h display: Rename 'Natural Light Filter' to 'Night Light' 2017-02-10 16:32:24 +00:00
cc-night-light-widget.c display: Load appropriate assets for the night light panel 2017-04-07 14:38:10 +01:00
cc-night-light-widget.h display: Only show the sunset/sunrise icons when not manually specified 2017-02-14 11:20:08 +00:00
display.gresource.xml display: Load appropriate assets for the night light panel 2017-04-07 14:38:10 +01:00
display.ui display: Tweak night light dialog UI to match latest mockups 2017-02-16 19:56:51 +00:00
gnome-display-panel.desktop.in.in build: Migrate from Intltool to Gettext 2018-01-23 10:49:31 +01:00
meson.build build: Migrate from Intltool to Gettext 2018-01-23 10:49:31 +01:00
scrollarea.c display: Fix deprecated API usage 2014-12-05 16:13:29 +01:00
scrollarea.h Updated FSF's address 2014-01-29 11:27:38 +01:00
TODO display: convert display capplet to a settings panel 2010-06-07 17:05:02 +01:00