gnome-control-center/panels/power
Benjamin Berg b5711c59ec power: Correctly lookup or insert new items into combobox
The code to lookup or insert items into the combobox had a few issues.
It would assume that the items are sorted, causing existing items to not
be found and be inserted instead. It also would simply forget to insert
an item if it was larger than all existing items.

This code is now changed to iterate over all items, finding the best
insertion point in the process (next item has a larger value, or the
values are not increasing anymore). The item will only be inserted if it
has not been found.

Fixes #261
2018-11-08 12:38:51 +00:00
..
icons build: Remove autotools 2018-01-18 12:20:08 +01:00
cc-power-panel.c power: Correctly lookup or insert new items into combobox 2018-11-08 12:38:51 +00:00
cc-power-panel.h power: Replace ifdefs with #pragma once 2018-05-30 23:17:07 +00:00
gnome-power-panel.desktop.in.in panels: Add X-GNOME-UsesNotifications to several desktop files 2018-11-01 17:22:21 +00:00
meson.build Move common panel code from shell/ to panel/common 2018-04-17 15:26:59 +02:00
power.gresource.xml power: use a GResource for GtkBuilder UI definition 2013-01-07 11:10:14 +01:00
power.ui Added a translation context for the time options in Power and Privacy panels 2018-10-10 20:56:14 +00:00