[sabayon] Details pane sort order plan



Hi folks,

https://bugzilla.gnome.org/show_bug.cgi?id=608720
Bug 608720 -  sabayon-2.29.5 Details pane sort order confusion

Problem: GConf keys are hidden amongst the long list of files stored by the Sabayon profile in the Details pane view as of sabayon-2.29.5. This is a confusing behavior regression.

I'm thinking about a simple way to improve the confusion of the current Details pane UI. There are better ways to do this, but Scott, myself and others all agree that we need to redo these dialogs entirely with a better design, so I think I shouldn't put a lot of custom logic into bandaiding the current dialog.

I was originally thinking about implementing a custom sort func for the gtk.ListStore, but then Ray Strode suggested that a hidden "column" of the ListStore model could have a sort key and a standard sort function could be used. In theory that would work just fine, but then I realized it might be even simpler to just change the order in which the ListStore items are added.

* First add the non-file objects like Mandatory GConf, Default GConf, Web, etc.
* Then add the files after they have been sorted by full pathname.

Please let me know if I'm off track here.

I'm digging into the source to figure out where the objects are added.

Warren Togami
wtogami redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]