summaryrefslogtreecommitdiff
path: root/gnome-control-center.doap
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2019-09-25 18:39:47 -0300
committerRobert Ancell <robert.ancell@canonical.com>2019-11-07 14:40:07 +1300
commite677539b28bd5c39df927cf8445e282ec6c1e88d (patch)
tree09e4b5d66a5d088b99e351aa9ce7e9034ce32c5f /gnome-control-center.doap
parenta4bdc3776050e576f2d8e4bab2e8bbcf466d6f4a (diff)
downloadgnome-control-center-e677539b28bd5c39df927cf8445e282ec6c1e88d.tar.gz
panel-list: Only use panel id to sort
Right now, the sort function checks for two different fields when comparing panel rows: the category of the row, and the id of the panel. When comparing using the category, it relies on the order of the enum values of CcPanelCategory. When comparing by panel ids, it uses the hardcoded positions defined in the 'panel_order' array. Using categories, however, is unecessary for our case, and makes sorting a tad more complicated than it should be. Remove the category comparison of the sort function, and rely only on the positions defined in 'panel_order'.
Diffstat (limited to 'gnome-control-center.doap')
0 files changed, 0 insertions, 0 deletions