r20531 - gnucash/trunk - Introduce a new directory to store all gtkbuilder compatible ui files

Geert Janssens gjanssens at code.gnucash.org
Tue Apr 5 15:55:27 EDT 2011


Author: gjanssens
Date: 2011-04-05 15:55:25 -0400 (Tue, 05 Apr 2011)
New Revision: 20531
Trac: http://svn.gnucash.org/trac/changeset/20531

Added:
   gnucash/trunk/src/gnome/gtkbuilder/
   gnucash/trunk/src/gnome/gtkbuilder/Makefile.am
   gnucash/trunk/src/gnome/gtkbuilder/account.glade
   gnucash/trunk/src/gnome/gtkbuilder/acctperiod.glade
   gnucash/trunk/src/gnome/gtkbuilder/autoclear.glade
   gnucash/trunk/src/gnome/gtkbuilder/budget.glade
   gnucash/trunk/src/gnome/gtkbuilder/commodities.glade
   gnucash/trunk/src/gnome/gtkbuilder/fincalc.glade
   gnucash/trunk/src/gnome/gtkbuilder/lots.glade
   gnucash/trunk/src/gnome/gtkbuilder/newuser.glade
   gnucash/trunk/src/gnome/gtkbuilder/price.glade
   gnucash/trunk/src/gnome/gtkbuilder/print.glade
   gnucash/trunk/src/gnome/gtkbuilder/progress.glade
   gnucash/trunk/src/gnome/gtkbuilder/reconcile.glade
   gnucash/trunk/src/gnome/gtkbuilder/register.glade
   gnucash/trunk/src/gnome/gtkbuilder/sched-xact.glade
   gnucash/trunk/src/gnome/gtkbuilder/stocks.glade
   gnucash/trunk/src/gnome/gtkbuilder/tax.glade
   gnucash/trunk/src/gnome/gtkbuilder/userpass.glade
Modified:
   gnucash/trunk/configure.ac
   gnucash/trunk/src/core-utils/gnc-path.c
   gnucash/trunk/src/core-utils/gnc-path.h
   gnucash/trunk/src/gnome/Makefile.am
Log:
Introduce a new directory to store all gtkbuilder compatible ui files
It already holds a first set of files that were converted from libglade
to gtkbuilder.
CAUTION: not all the GUI objects in these files work properly already !
Glade (the tool) simply deletes all widgets that are not supported
by gtkbuilder during the conversion. These will all be fixed gradually
while the corresponding calls in the C code are converted.

The idea is that with each GUI element that gets fixed in the
gtkbuilder file, and subsequently called from C, the old
GUI element is removed from the corresponding libglade file until all
the libglade files are empty and can be removed.
This way the conversion can be done gradually and both methods can
coexist until all widgets and code are converted.

This first commit for example contains a converted account hierarchy setup
assistant, but not yet the code to use it, so the old druid is still in
the libglade file. Once the code can succesfully use the new assistant
from the gtkbuilder file, the old druid will be removed from the
libglade file.



More information about the gnucash-patches mailing list