Rewrite software properties to support aptdaemon

Registered by Olof Kindgren

Modernise parts of software-properties. The main goal is to support aptdaemon, but also to do some refactoring, cleanup and migrate from deprecated glade to GTK builder.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

My idea is to do this in several steps
* Convert to GTKBuilder (ongoing for main application, todo for dialogs)
  Converting using gtk-builder-convert and some manual hacking
* Move widget definitions from code to XML (ongoing)
  Many widgets and object in the GTK interface is defined directly in the code. These should be moved to XML
* Reduce number of functions
  There are for example several "enable_x" and "disable_x" functions which could be replaced with "set_x(state)"
* Refactoring
  I have started to create a UML diagram, and found some unnecessary function calls. This is also a good time to make a cleaner border between frontend and backend functions in preparation for aptdaemon
* Don't force root
  Do the synaptic way of hiding all functions that needs to be executed as root if started as unprivileged user. This can then be used as fallback mode if aptdaemon is not installed.
* Integrate with aptdaemon
  Currently requires some more functionality in aptdaemon.
(* New UI)
  I have some ideas for a new UI design, but I'm not sure it will improve anything, so this will have to wait.

//Olof 090914

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.