m (moved Anaconda/Features/PyGI to Anaconda/Features/GTK3: PyGI requires GTK3 (and vice versa), and that's a more straightforward and interesting feature name, so...) |
No edit summary |
||
Line 1: | Line 1: | ||
= Port UI to | = Port UI to GTK3 = | ||
== Summary == | == Summary == | ||
Port | Port Anaconda from GTK2 (using PyGTK and libglade) to GTK3 (using PyGI and GtkBuilder). | ||
== Owner == | == Owner == | ||
Line 11: | Line 11: | ||
== Current status == | == Current status == | ||
* Targeted release: [[Releases/17|Fedora 17]] | * Targeted release: [[Releases/17|Fedora 17]] | ||
* Last updated: | * Last updated: 30 Jan 2011 | ||
* Percentage of completion: 0% | * Percentage of completion: 0% | ||
== Detailed Description == | == Detailed Description == | ||
Anaconda | Current Anaconda is written in PyGTK (which is deprecated), using Glade files (which are deprecated) and a lot of procedurally-generated UI (which is kind of terrible). | ||
GTK3 is new and prettier. The GTK3 bindings for Python are provided by PyGI, and they're a lot cleaner. libglade has been replaced by GtkBuilder, which is nicer and more powerful. | |||
== Benefit to Fedora == | == Benefit to Fedora == | ||
* Prettier UI, with a GTK theme that matches the rest of the system | * Prettier UI, with a GTK theme that matches the rest of the system | ||
* Cleaned up Anaconda UI backend | * Cleaned up Anaconda UI backend | ||
Line 39: | Line 28: | ||
== Scope == | == Scope == | ||
This involves porting all the UI code to use | This involves porting all the UI code to use PyGI and converting all the Glade files to GtkBuilder format. There is a [http://git.gnome.org/browse/pygobject/tree/pygi-convert.sh script] to help convert PyGTK to PyGI, which will help. We will also | ||
need to port our custom widgets (for partitioning etc.). | |||
There is a [http://git.gnome.org/browse/pygobject/tree/pygi-convert.sh script] to help convert PyGTK to | |||
== Test Plan == | == Test Plan == |
Revision as of 22:52, 30 January 2011
Port UI to GTK3
Summary
Port Anaconda from GTK2 (using PyGTK and libglade) to GTK3 (using PyGI and GtkBuilder).
Owner
- Name: Will Woods
Current status
- Targeted release: Fedora 17
- Last updated: 30 Jan 2011
- Percentage of completion: 0%
Detailed Description
Current Anaconda is written in PyGTK (which is deprecated), using Glade files (which are deprecated) and a lot of procedurally-generated UI (which is kind of terrible).
GTK3 is new and prettier. The GTK3 bindings for Python are provided by PyGI, and they're a lot cleaner. libglade has been replaced by GtkBuilder, which is nicer and more powerful.
Benefit to Fedora
- Prettier UI, with a GTK theme that matches the rest of the system
- Cleaned up Anaconda UI backend
Scope
This involves porting all the UI code to use PyGI and converting all the Glade files to GtkBuilder format. There is a script to help convert PyGTK to PyGI, which will help. We will also need to port our custom widgets (for partitioning etc.).
Test Plan
Unit tests will be written to ensure the UI behaves as expected, at least for the simple cases. More complex UI interactions will be tested as a side-effect of other Anaconda testing.
User Experience
Anaconda's UI uses the same nice GTK3 code and themes as the rest of the system, making the UI prettier and more responsive.
Dependencies
Requires the availability of pygobject2 in the installer image.
Contingency Plan
Continue using the existing UI and providing PyGTK and its dependencies in the installer image.
Documentation
TBD
Release Notes
TBD