Bauble / bauble.classic

this is how Bauble and Ghini both started
GNU General Public License v2.0
10 stars 34 forks source link

sort keys in history view #251

Closed mfrasca closed 8 years ago

mfrasca commented 8 years ago

since I'm fixing the history view, it would be nice to have the object be shown in more user-friendly way. so for a start I've already removed all those curly braces which make the object look like C/C++ code. then strings are quoted and other values are shown as they would be evaluated. now I would like to have keys sorted like this: 1st place the id. then all keys associated to a non-None value then all keys with a None

mfrasca commented 8 years ago

(such a nice feeling, when you can delete code you don't need any more!) :+1:

mfrasca commented 8 years ago

this part still is quite conflicting (in software architecture) with the MPV structure of the rest. there is the View(gtk.VBox) class, which it a bit of a contradiction in terms: called 'view', derived from a widget, smart as a presenter, now even owns a editor.GenericEditorView.