After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 793448 - power: Automatically add values to drop-down when necessary
power: Automatically add values to drop-down when necessary
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Power
unspecified
Other All
: Normal normal
: ---
Assigned To: Richard Hughes
Control-Center Maintainers
: 792759 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2018-02-14 12:33 UTC by Bastien Nocera
Modified: 2018-04-19 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
power: Automatically add values to drop-down when necessary (3.18 KB, patch)
2018-02-14 12:33 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2018-02-14 12:33:33 UTC
.
Comment 1 Bastien Nocera 2018-02-14 12:33:50 UTC
Created attachment 368343 [details] [review]
power: Automatically add values to drop-down when necessary

When a setting is set to a value that's not in the list of options, add
that custom value to the drop-down for the duration of the run, so as to
avoid the last item being selected and causing confusion.
Comment 2 Bastien Nocera 2018-04-19 02:14:39 UTC
*** Bug 792759 has been marked as a duplicate of this bug. ***
Comment 3 Bastien Nocera 2018-04-19 13:00:51 UTC
Attachment 368343 [details] pushed as f26d216 - power: Automatically add values to drop-down when necessary