From Fedora Project Wiki

Port UI to GTK3


Port Anaconda from GTK2 (using PyGTK and libglade) to GTK3 (using PyGI and GtkBuilder).


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


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.).

Furthermore, we'll probably want to port firstboot at the same time.

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 another 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.


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.



Release Notes