GNOME Goal: Use GtkBuilder instead of libglade

GtkBuilder was introduced in GTK+ 2.12 and is replacing libglade in the GNOME platform.

How-To

See migration instructions for detailed instructions on migrating to GtkBuilder.

To convert your .glade files, please use Glade.

Since the release of Glade 3.6 this year; Glade has been able to handle conversions in the tool (use the project preferences dialog from Edit->Preferences), Glade will in alot of cases load a file converted with the gtk-builder-convert script without errors but its simpler to just use the tool.

If for any reason this conversion fails you can always try to use the gtk-builder-convert script, but please report bugs to Glade if this is the case.

Important: If you are using the gtk-builder-convert script it is vital that the application's UI files are editable with a GUI editor. To ensure this, please make sure that Glade3 can load and save the converted files, and that the re-saved files still work as expected. If they dont (which still happens for some files, e.g. for Epiphany and GNOME Terminal), you should instead keep the glade files in SVN, and generate the GtkBuilder files at build time.

Bugreports for GtkBuilder support in GUI design tools

Comments

Note also the remaining bug for full GtkBuilder support by intltool.

Suggested extension for the gtkbuilder files seems to be ".ui". In order for intltool to pick up files with this extension, in your POTFILES.in add following command before the new .ui files: [type: gettext/glade], like in [type: gettext/glade]data/preferences.ui

Status of this

/!\ Note: Updated automatical stats can be found at http://www.gnome.org/~fpeters/299.html

{i} Tip: If you choose to work on a module, create the bug report on the GNOME bugzilla. This way people will know someone already works on it, and won't duplicate the work you're doing. Please make the bug report depend on the tracker bug for this goal.

State

Markup

todo

<: #ff8080> todo

patch

<: #ffc849> [[GnomeBug:xxxxx|patch]]

done

<: #80ff80> [[GnomeBug:xxxxx|done]]

not needed

<: #80ff80> not needed

Above are the states and corresponding markup to update the modules state table below.

Tarball

Status

Desktop

alacarte

done

brasero

not needed

bug-buddy

done

cheese

done

control-center

patch

dasher

to do

deskbar-applet

done

eel

not needed

ekiga

not needed

empathy

done

eog

done

epiphany

done

evince

done

evolution-data-server

to do

evolution

to do

evolution-exchange

to do

evolution-mapi

not needed

evolution-webcal

not needed

file-roller

done

gcalctool

done

gconf-editor

not needed

gdm

patch

gedit

done

gnome-applets

done

gnome-backgrounds

not needed

gnome-desktop

not needed

gnome-doc-utils

not needed

gnome-games

done

gnome-icon-theme

not needed

gnome-keyring

not needed

gnome-netstatus

done

gnome-nettool

patch

gnome-mag

patch

gnome-media

patch

gnome-menus

done

gnome-panel

patch

gnome-power-manager

done

gnome-python-desktop

to do

gnome-screensaver

patch

gnome-session

done

gnome-settings-daemon

to do

gnome-speech

not needed

gnome-system-monitor

not needed

gnome-system-tools

patch

gnome-terminal

done

gnome-themes

not needed

gnome-user-docs

not needed

gnome-user-share

not needed

gnome-utils

done

gnome-volume-manager

to do

Obsolete

gok

to do

gstreamer

not needed

gst-plugins

not needed

gtk-engines

not needed

gtkhtml

done

gtksourceview

not needed

gucharmap

not needed

gvfs

not needed

libgail-gnome

not needed

libgnomekbd

done

libgtop

not needed

libgweather

not needed

liboobs

not needed

librsvg

not needed

libsoup

not needed

libwnck

not needed

metacity

not needed

mousetweaks

not needed

nautilus

done

orca

to do

pygtksourceview

not needed

seahorse

patch

sound-juicer

patch

swfdec-gnome

not needed

tomboy

not needed

totem-pl-parser

not needed

totem

done

vino

done

vinagre

to do

vte

not needed

yelp

done

zenity

patch

Desktop (to be deprecated)

libgnomeprint

not needed

libgnomeprintui

not needed

Platform

gtk+

not needed

Admin

pessulus

to do

sabayon

to do

Development Tools

accerciser

done

anjuta

done

devhelp

not needed

gdl

done

fixed in development version

glade3

not needed

External Dependencies

avahi

to do

farsight2

to do

mono

to do

poppler

to do

Other

abiword

to do

banshee

to do

contact-lookup-applet

patch

f-spot

to do

gnome-main-menu

to do

Gnumeric

to do

goffice

to do

gossip

to do

gssdp

to do

gthumb

to do

nautilus-sendto

to do

nemiver

not needed

network-manager-applet

to do

notification-daemon

to do

planner

to do

rhythmbox

done

tracker

done

xchat-gnome

to do

GnomeGoals/RemoveLibGladeUseGtkBuilder (last edited 2009-06-29 16:30:21 by JavierJardon)