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 a lot 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 bug for full GtkBuilder support by intltool. (FIXED)

  • Suggested extension for the gtkbuilder files seems to be ".ui". See related bug report. 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://people.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

done

dasher

done

deskbar-applet

done

eel

not needed

ekiga

not needed

empathy

done

eog

done

epiphany

done

evince

done

evolution-data-server

done

evolution

done

evolution-exchange

done

evolution-mapi

not needed

evolution-webcal

not needed

file-roller

done

gcalctool

done

gconf-editor

not needed

gdm

done

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

done

gnome-mag

done

gnome-media

done

gnome-menus

done

gnome-panel

done

gnome-power-manager

done

gnome-python-desktop

to do

gnome-screensaver

done

gnome-session

done

gnome-settings-daemon

done

gnome-speech

not needed

gnome-system-monitor

not needed

gnome-system-tools

done

gnome-terminal

done

gnome-themes

not needed

gnome-user-docs

not needed

gnome-user-share

not needed

gnome-utils

done

gok

done

gstreamer

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

nautilus-sendto

done

orca

done

pygtksourceview

not needed

seahorse

done

seahorse-plugins

done

sound-juicer

done

swfdec-gnome

not needed

tomboy

not needed

totem-pl-parser

not needed

totem

done

vino

done

vinagre

done

vte

not needed

yelp

done

zenity

done

Desktop (to be deprecated)

libgnomeprint

not needed

libgnomeprintui

not needed

Platform

gtk+

not needed

Admin

pessulus

done

sabayon

done

Development Tools

accerciser

done

anjuta

done

devhelp

not needed

gdl

done

fixed in development version

glade3

not needed

External Dependencies

avahi

done

farsight2

done

mono

not needed

poppler

done

tracker

done

Other

abiword

to do

banshee

done

camorama

to do

conduit

done

contact-lookup-applet

done

drivel

to do

f-spot

done

giggle

done

gnome-phone-manager

done

gnome-main-menu

done

gnome-pilot

done

Gnumeric

to do

goffice

done

gossip

to do

gparted

not needed

gssdp

not needed

gst-plugins-bad

done

gthumb

done

libgnomecanvas

to do

mistelix

done

nautilus-actions

done

nemiver

done

network-manager-applet

done

notification-daemon

to do

ontv

done

pitivi

done

planner

to do

postr

patch

rhythmbox

done

tinymail

done

Ubuntu specific packages

to do

xchat-gnome

done

Initiatives/GnomeGoals/RemoveLibGladeUseGtkBuilder (last edited 2013-12-18 13:44:45 by LuisMenina)