mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove some stray references to libglade.
It's no longer used by GnuCash. Yay! git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21880 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
31d3b90f30
commit
9b12eaf158
@ -67,7 +67,6 @@ glib2
|
||||
gtk+2
|
||||
guile
|
||||
libart2
|
||||
libglade2
|
||||
libgnomeprint2.2
|
||||
libgnomeui2
|
||||
[lib]goffice
|
||||
@ -131,7 +130,6 @@ libgoffice/libgsf details
|
||||
- pangoft2 >= 1.8.1
|
||||
- cairo >= 0.5.0 [optional]
|
||||
- gtk+-2.0 >= 2.6.0
|
||||
- libglade-2.0 >= 2.3.6
|
||||
- libgnomeprint-2.2 >= 2.8.2
|
||||
- libart-2.0 >= 2.3.11
|
||||
- gconf-2.0
|
||||
@ -151,7 +149,6 @@ Partial update, 2007-06-09; RHEL-only
|
||||
- gtk2-2.4.13 gtk2-2.10.4-16.el5
|
||||
- guile-1.6.4 guile-1.8.0--8.20060831cvs
|
||||
- libart_lgpl-2.3.16 libart-lgpl-2.3.17-4
|
||||
- libglade2-2.4.0 libglade2-2.6.0-2
|
||||
- libgnomeprint22-2.8.0 libgnomeprint22-2.12.1-6
|
||||
- libgnomeui-2.8.0 libgnomeui-2.16.0-5.el5
|
||||
- libgsf-1.10.1 libgsf-1.14.1-6.1
|
||||
@ -208,12 +205,8 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- guile-1.6.7-1ubuntu3
|
||||
- g-wrap-1.9.6-2ubuntu2
|
||||
- libart2-2.3.17-1
|
||||
- libglade2-2.5.1-2ubuntu1
|
||||
- libgnomeprint2.2-2.12.1-0ubuntu1
|
||||
- libgnomeui2-2.12.0-0ubuntu1
|
||||
- libgtkhtml3
|
||||
- libgtkhtml3.6-18-3.6.2-1
|
||||
- gtkhtml3.8-15-3.8.1-0ubuntu1
|
||||
- libgsf1-1.12.3-3ubuntu3
|
||||
- libofx2-0.8.0-3ubuntu8
|
||||
- libxml2-2.6.21-0ubuntu1
|
||||
@ -231,7 +224,6 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- gwrapguile-1.3.4
|
||||
- g-wrap-1.9.6
|
||||
- libart-2 libart-2.0-2_2.3.17-1_i386.deb
|
||||
- libglade-2 libglade2-0_2.5.1-0ubuntu1_i386.deb
|
||||
- libgnomeprint-2.2 libgnomeprint2.2-0_2.10.3-0ubuntu1_i386.deb
|
||||
- libgnomeui-2 libgnomeui-0_2.10.0-0ubuntu1_i386.deb
|
||||
- libgsf-1 libgsf-1_1.11.1-1ubuntu1_i386.deb
|
||||
@ -249,14 +241,12 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- guile-1.6.8
|
||||
- g-wrap-1.9.6
|
||||
- libart-2.3.17
|
||||
- libglade-2.6.0
|
||||
- libgnomeprint-2.2-2.12.1
|
||||
- libgnomeui-2.16.0
|
||||
- libgsf-1.14.1
|
||||
- libofx-0.8.0
|
||||
- libxml-2.6.26
|
||||
- pango-1.14.3
|
||||
- libgtkhtml-3.8-3.12.0
|
||||
Note: -devel packages for the libraries above must also be installed.
|
||||
- 2006 = 2005-10-06
|
||||
[from ftp://ftp.rutgers.edu/pub/Mandrakelinux/devel/2006.0/i586/media/main/]
|
||||
@ -268,15 +258,12 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- guile-1.6.7
|
||||
- g-wrap-1.3.4
|
||||
- libart-2.3.17
|
||||
- libglade-2.5.1
|
||||
- libgnomeprint-2.2-2.10.3
|
||||
- libgnomeui-2.10.2
|
||||
- libgsf-1.12.2
|
||||
- libofx-0.7.0
|
||||
- libxml-2.6.21
|
||||
- pango-1.10.0
|
||||
- libgtkhtml-3.1-3.2.5
|
||||
- libgtkhtml-3.6-3.6.2
|
||||
- *2005 = 2005-04-14
|
||||
[from ftp://ftp.rutgers.edu/pub/Mandrakelinux/devel/2005/i586/media/main/]
|
||||
- aqbanking-1.0.7
|
||||
@ -287,14 +274,12 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- guile-1.6.7
|
||||
- g-wrap-1.3.4
|
||||
- libart-2.3.17
|
||||
- libglade-2.4.2
|
||||
- libgnomeprint-2.2-2.8.2
|
||||
- libgnomeui-2.8.2
|
||||
- libgsf-1.11.1
|
||||
- libofx-0.7.0
|
||||
- libxml-2.6.17
|
||||
- pango-1.8.1
|
||||
- libgtkhtml-3.1.11
|
||||
- SUSE / opensuse
|
||||
- 10.2 = 2006-12-07
|
||||
- aqbanking-2.2.3
|
||||
@ -303,11 +288,9 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- glib2-2.12.4
|
||||
- goffice-0.2.1
|
||||
- gtk2-2.10.6
|
||||
- gtkhtml2-3.12.2
|
||||
- guile-1.8.1
|
||||
- g-wrap: not included
|
||||
- libart_lgpl-2.3.17
|
||||
- libglade2-2.6.0
|
||||
- libgnomeprint-2.12.1
|
||||
- libgnomeui-2.16.1
|
||||
- libgsf-1.14.2
|
||||
@ -322,11 +305,9 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- glib2-2.8.5
|
||||
- goffice-0.1.2
|
||||
- gtk2-2.8.10
|
||||
- gtkhtml2-3.10.0
|
||||
- guile-1.6.7
|
||||
- g-wrap: not included
|
||||
- libart_lgpl-2.3.17
|
||||
- libglade2-2.5.1
|
||||
- libgnomeprint-2.12.1
|
||||
- libgnomeui-2.12.0
|
||||
- libgsf-1.13.99
|
||||
@ -343,7 +324,6 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- guile-1.6.7
|
||||
- g-wrap: not included
|
||||
- libart_lgpl-2.3.17
|
||||
- libglade2-2.5.1
|
||||
- libgnomeprint-2.12.0
|
||||
- libgnomeui-2.12.0
|
||||
- libgsf-1.12.1
|
||||
@ -357,11 +337,9 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- gconf2-2.10.0
|
||||
- glib2-2.6.3
|
||||
- gtk2-2.6.4
|
||||
- gtkhtml2-3.6.1
|
||||
- guile-1.6.7
|
||||
- gwrap: not included
|
||||
- libart_lgpl-2.3.17
|
||||
- libglade2-2.5.1
|
||||
- libgnomeprint-2.10.1
|
||||
- libgnomeui-2.10.0
|
||||
- libgsf-1.11.1
|
||||
@ -379,7 +357,6 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- gtk2-2.6.10
|
||||
- guile-1.6.7
|
||||
- libart_lgpl-2.3.17
|
||||
- libglade2-2.5.1
|
||||
- libgnomeprint22-2.10.3
|
||||
- libgnomeui-2.10.0
|
||||
- libgsf-1.11.1
|
||||
@ -395,7 +372,6 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- gtk2-2.4.14
|
||||
- guile-1.6.4
|
||||
- libart_lgpl-2.3.16
|
||||
- libglade2-2.4.0
|
||||
- libgnomeprint22-2.8.0
|
||||
- libgnomeui-2.8.0
|
||||
- libgsf-1.10.1
|
||||
@ -412,7 +388,6 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- gtk2-2.6.10
|
||||
- guile-1.6.7
|
||||
- libart2-2.3.17
|
||||
- libglade2-??
|
||||
- libgnomeprint2.2-2.10.3
|
||||
- libgnomeui2-2.10.1
|
||||
- libgsf1-1.12.3
|
||||
@ -429,7 +404,6 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- gtk2-2.6.4
|
||||
- guile-1.6.7
|
||||
- libart2-2.3.17
|
||||
- libglade2-??
|
||||
- libgnomeprint2.2-2.8.2
|
||||
- libgnomeui2-2.8.1
|
||||
- libgsf1-1.11.1
|
||||
@ -455,7 +429,6 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- gtk+-2.6.8
|
||||
- guile-1.6.7
|
||||
- libart_lgpl-2.3.17
|
||||
- libglade-2.5.1
|
||||
- libgnomeprint-2.10.3
|
||||
- libgnomeui-2.10.0
|
||||
- libgsf-1.12.1
|
||||
@ -472,7 +445,6 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- glib-2.6.2
|
||||
- guile-1.6.7
|
||||
- libart_gpl-2.3.16
|
||||
- libglade-2.4.0
|
||||
- libgnomeprint-2.8.1
|
||||
- libgnomeui-2.8.1-r1
|
||||
- libgsf-1.10.0
|
||||
@ -493,11 +465,9 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- guile-1.6.7
|
||||
- gwrap: no
|
||||
- libart2-2.3.17
|
||||
- libglade2-2.4.2
|
||||
- libgnomeprint2.2: no
|
||||
- libgnomeui2: no
|
||||
- libgsf1-1.12.1
|
||||
- [lib]gtkhtml3: no
|
||||
- libofx: no
|
||||
- libxml2-2.6.22
|
||||
- pango-1.8.2
|
||||
@ -511,12 +481,9 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- guile-1.6.5
|
||||
- gwrap: no
|
||||
- libart2-2.3.16
|
||||
- libglade2-2.6.0
|
||||
- libgnomeprint2.2-2.6.1
|
||||
- libgnomeui2-2.6.1
|
||||
- libgsf1-1.9.1
|
||||
- [lib]gtkhtml3: no
|
||||
- libgtkhtml-2.6.2
|
||||
- libofx: no
|
||||
- libxml2-2.6.16
|
||||
- pango-1.8.1
|
||||
@ -535,11 +502,9 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- guile-1.6.5
|
||||
- g-wrap-1.3.4_6
|
||||
- libart_lgpl2-2.3.17
|
||||
- libglade2-2.5.1_2
|
||||
- libgnomeprint-2.10.1
|
||||
- libgnomeui-2.10.0_1
|
||||
- libgsf-1.11.1
|
||||
- [lib]gtkhtml3-3.6.1
|
||||
- libofx-0.7.0
|
||||
- libxml2-2.6.18
|
||||
- pango-1.8.1
|
||||
@ -557,7 +522,6 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- guile-1.6.4
|
||||
- gwrap: not included
|
||||
- libart_lgpl-2.3.16
|
||||
- libglade2-2.4.0
|
||||
- libgnomeprint22-2.8.0
|
||||
- libgnomeui-2.8.0
|
||||
- libgsf-1.10.1
|
||||
@ -573,7 +537,6 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- guile-1.6.4
|
||||
- g-wrap: not included
|
||||
- libart_lgpl-2.3.11
|
||||
- libglade2-2.0.1
|
||||
- libgnomeprint22-2.2.1.3
|
||||
- libgnomeui-2.2.1
|
||||
- libgsf-1.6.0
|
||||
@ -591,11 +554,9 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- guile-1.6.4
|
||||
- gwrap: no
|
||||
- libart2-2.3.16
|
||||
- libglade2-2.4.0
|
||||
- libgnomeprint2.2-2.8.0
|
||||
- libgnomeui2-2.8.0
|
||||
- libgsf1-1.10.1
|
||||
- [lib]gtkhtml3-3.3.2
|
||||
- libofx: no
|
||||
- libxml2-2.6.16
|
||||
- pango-1.6.0
|
||||
@ -608,11 +569,9 @@ The major distributions, as defined by http://distrowatch.com/dwres.php?resource
|
||||
- guile-1.6.4
|
||||
- gwrap: no
|
||||
- libart2-2.3.16
|
||||
- libglade2-2.4.0
|
||||
- libgnomeprint2.2-2.8.0
|
||||
- libgnomeui2-2.8.0
|
||||
- libgsf1-1.10.1
|
||||
- [lib]gtkhtml3-3.3.2
|
||||
- libofx: no
|
||||
- libxml2-2.6.16
|
||||
- pango-1.6.0
|
||||
|
@ -559,7 +559,6 @@ GNC_LIBEXECDIR='${libexecdir}/gnucash'
|
||||
|
||||
GNC_ACCOUNTS_DIR='${GNC_SHAREDIR}/accounts'
|
||||
GNC_CHECKS_DIR='${GNC_SHAREDIR}/checks'
|
||||
GNC_GLADE_DIR='${GNC_SHAREDIR}/glade'
|
||||
GNC_GTKBUILDER_DIR='${GNC_SHAREDIR}/gtkbuilder'
|
||||
GNC_UI_DIR='${GNC_SHAREDIR}/ui'
|
||||
GNC_PIXMAP_DIR='${GNC_SHAREDIR}/pixmaps'
|
||||
@ -568,7 +567,6 @@ AC_SUBST(GNC_ACCOUNTS_DIR)
|
||||
AC_SUBST(GNC_CHECKS_DIR)
|
||||
AC_SUBST(GNC_CONFIGDIR)
|
||||
AC_SUBST(GNC_DOC_INSTALL_DIR)
|
||||
AC_SUBST(GNC_GLADE_DIR)
|
||||
AC_SUBST(GNC_GTKBUILDER_DIR)
|
||||
AC_SUBST(GNC_UI_DIR)
|
||||
AC_SUBST(GNC_INCLUDE_DIR)
|
||||
@ -880,11 +878,6 @@ then
|
||||
AC_SUBST(GDK_PIXBUF_CFLAGS)
|
||||
AC_SUBST(GDK_PIXBUF_LIBS)
|
||||
|
||||
PKG_CHECK_MODULES(GLADE, libglade-2.0 >= 2.6)
|
||||
AS_SCRUB_INCLUDE(GLADE_CFLAGS)
|
||||
AC_SUBST(GLADE_CFLAGS)
|
||||
AC_SUBST(GLADE_LIBS)
|
||||
|
||||
# checks for goffice
|
||||
PKG_CHECK_MODULES(GOFFICE, libgoffice-0.8 >= 0.7.0, [goffice=1], [
|
||||
PKG_CHECK_MODULES(GOFFICE, libgoffice-0.6 >= 0.6.0, [goffice=1], [
|
||||
|
@ -258,8 +258,6 @@ set_default LIBART_LGPL_URL "$GNOME_WIN32_URL/libart_lgpl/2.3/libart-lgp
|
||||
set_default LIBART_LGPL_DEV_URL "$GNOME_WIN32_URL/libart_lgpl/2.3/libart-lgpl-dev_2.3.21-1_win32.zip"
|
||||
set_default LIBBONOBO_URL "$GNOME_WIN32_URL/libbonobo/2.24/libbonobo_2.24.0-1_win32.zip"
|
||||
set_default LIBBONOBO_DEV_URL "$GNOME_WIN32_URL/libbonobo/2.24/libbonobo-dev_2.24.0-1_win32.zip"
|
||||
set_default LIBGLADE_URL "$GNOME_WIN32_URL/libglade/2.6/libglade_2.6.4-1_win32.zip"
|
||||
set_default LIBGLADE_DEV_URL "$GNOME_WIN32_URL/libglade/2.6/libglade-dev_2.6.4-1_win32.zip"
|
||||
set_default LIBGNOME_URL "$GNOME_WIN32_URL/libgnome/2.24/libgnome_2.24.1-1_win32.zip"
|
||||
set_default LIBGNOME_DEV_URL "$GNOME_WIN32_URL/libgnome/2.24/libgnome-dev_2.24.1-1_win32.zip"
|
||||
set_default LIBGNOMECANVAS_URL "$GNOME_WIN32_URL/libgnomecanvas/2.30/libgnomecanvas_2.30.1-1_win32.zip"
|
||||
|
@ -97,7 +97,6 @@ function dist_gnome() {
|
||||
wget_unpacked $LIBART_LGPL_URL $DOWNLOAD_DIR $DIST_DIR
|
||||
wget_unpacked $LIBBONOBO_URL $DOWNLOAD_DIR $DIST_DIR
|
||||
wget_unpacked $LIBBONOBOUI_URL $DOWNLOAD_DIR $DIST_DIR
|
||||
wget_unpacked $LIBGLADE_URL $DOWNLOAD_DIR $DIST_DIR
|
||||
wget_unpacked $LIBGNOME_URL $DOWNLOAD_DIR $DIST_DIR
|
||||
wget_unpacked $LIBGNOMECANVAS_URL $DOWNLOAD_DIR $DIST_DIR
|
||||
wget_unpacked $LIBGNOMEUI_URL $DOWNLOAD_DIR $DIST_DIR
|
||||
|
@ -536,8 +536,6 @@ function inst_gnome() {
|
||||
wget_unpacked $LIBBONOBO_DEV_URL $DOWNLOAD_DIR $GNOME_DIR
|
||||
wget_unpacked $LIBBONOBOUI_URL $DOWNLOAD_DIR $GNOME_DIR
|
||||
wget_unpacked $LIBBONOBOUI_DEV_URL $DOWNLOAD_DIR $GNOME_DIR
|
||||
wget_unpacked $LIBGLADE_URL $DOWNLOAD_DIR $GNOME_DIR
|
||||
wget_unpacked $LIBGLADE_DEV_URL $DOWNLOAD_DIR $GNOME_DIR
|
||||
wget_unpacked $LIBGNOME_URL $DOWNLOAD_DIR $GNOME_DIR
|
||||
wget_unpacked $LIBGNOME_DEV_URL $DOWNLOAD_DIR $GNOME_DIR
|
||||
wget_unpacked $LIBGNOMECANVAS_URL $DOWNLOAD_DIR $GNOME_DIR
|
||||
|
@ -21,7 +21,6 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GNOME_CFLAGS} \
|
||||
${GCONF_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GLIB_CFLAGS} \
|
||||
${GUILE_INCS}
|
||||
|
||||
@ -80,7 +79,6 @@ libgncmod_business_gnome_la_LIBADD = \
|
||||
${top_builddir}/src/core-utils/libgnc-core-utils.la \
|
||||
${top_builddir}/src/gnc-module/libgnc-module.la \
|
||||
${top_builddir}/src/libqof/qof/libgnc-qof.la \
|
||||
${GLADE_LIBS} \
|
||||
${GNOME_LIBS} \
|
||||
${GCONF_LIBS} \
|
||||
${GUILE_LIBS} \
|
||||
|
@ -39,8 +39,8 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/register/register-core \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GUILE_INCS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GCONF_CFLAGS} \
|
||||
${GTK_CFLAGS} \
|
||||
${GLIB_CFLAGS}
|
||||
|
||||
INCLUDES = -DG_LOG_DOMAIN=\"gnc.business.ledger\"
|
||||
|
@ -96,19 +96,6 @@ gchar *gnc_path_get_pkglibdir()
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Returns the glade file path, usually
|
||||
* "$prefix/share/gnucash/glade".
|
||||
*
|
||||
* @returns A newly allocated string. */
|
||||
gchar *gnc_path_get_gladedir()
|
||||
{
|
||||
gchar *pkgdatadir = gnc_path_get_pkgdatadir ();
|
||||
gchar *result = g_build_filename (pkgdatadir, "glade", (char*)NULL);
|
||||
g_free (pkgdatadir);
|
||||
//printf("Returning gladedir %s\n", result);
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Returns the gtkbuilder file path, usually
|
||||
* "$prefix/share/gnucash/gtkbuilder".
|
||||
*
|
||||
|
@ -62,12 +62,6 @@ gchar *gnc_path_get_pkgsysconfdir(void);
|
||||
* @returns A newly allocated string. */
|
||||
gchar *gnc_path_get_pkglibdir(void);
|
||||
|
||||
/** Returns the glade file path, usually
|
||||
* "$prefix/share/gnucash/glade".
|
||||
*
|
||||
* @returns A newly allocated string. */
|
||||
gchar *gnc_path_get_gladedir(void);
|
||||
|
||||
/** Returns the gtkbuilder file path, usually
|
||||
* "$prefix/share/gnucash/gktbuilder".
|
||||
*
|
||||
|
@ -9,8 +9,8 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/gnc-module \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GUILE_INCS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GCONF_CFLAGS} \
|
||||
${GTK_CFLAGS} \
|
||||
${GLIB_CFLAGS}
|
||||
|
||||
libgncmod_gnome_search_la_SOURCES = \
|
||||
@ -55,7 +55,6 @@ libgncmod_gnome_search_la_LIBADD = \
|
||||
${top_builddir}/src/libqof/qof/libgnc-qof.la \
|
||||
${GUILE_LIBS} \
|
||||
${GCONF_LIBS} \
|
||||
${GLADE_LIBS} \
|
||||
${GLIB_LIBS} \
|
||||
${REGEX_LIBS}
|
||||
|
||||
|
@ -15,7 +15,6 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/lib/libc \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GLIB_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GTK_CFLAGS} \
|
||||
${GNOME_CFLAGS} \
|
||||
${GCONF_CFLAGS} \
|
||||
@ -191,7 +190,6 @@ libgncmod_gnome_utils_la_LIBADD = \
|
||||
${GNOME_LIBS} \
|
||||
${GCONF_LIBS} \
|
||||
${GNOME_KEYRING_LIBS} \
|
||||
${GLADE_LIBS} \
|
||||
${GUILE_LIBS} \
|
||||
${GLIB_LIBS} \
|
||||
${DB_LIBS} \
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <glade/glade.h>
|
||||
#include <gmodule.h>
|
||||
#ifdef HAVE_DLFCN_H
|
||||
# include <dlfcn.h>
|
||||
@ -786,137 +785,13 @@ gnc_clist_set_check (GtkCList *list, int row, int col, gboolean checked)
|
||||
gtk_clist_set_text (list, row, col, "");
|
||||
}
|
||||
|
||||
/* Glade Stuff
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
static gboolean glade_inited = FALSE;
|
||||
|
||||
/* gnc_glade_xml_new: a convenience wrapper for glade_xml_new
|
||||
* - takes care of glade initialization, if needed
|
||||
* - takes care of finding the directory for glade files
|
||||
*/
|
||||
GladeXML *
|
||||
gnc_glade_xml_new (const char *filename, const char *root)
|
||||
{
|
||||
GladeXML *xml;
|
||||
char *fname;
|
||||
gchar *gnc_glade_dir;
|
||||
|
||||
g_return_val_if_fail (filename != NULL, NULL);
|
||||
g_return_val_if_fail (root != NULL, NULL);
|
||||
|
||||
if (!glade_inited)
|
||||
{
|
||||
glade_gnome_init ();
|
||||
glade_inited = TRUE;
|
||||
}
|
||||
|
||||
gnc_glade_dir = gnc_path_get_gladedir ();
|
||||
if (!g_file_test(gnc_glade_dir, G_FILE_TEST_IS_DIR))
|
||||
{
|
||||
g_critical("Directory for glade UI files \"%s\" is not found. Your installation is incomplete and cannot be run.", gnc_glade_dir);
|
||||
g_free (gnc_glade_dir);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
fname = g_build_filename(gnc_glade_dir, filename, (char *)NULL);
|
||||
g_free (gnc_glade_dir);
|
||||
|
||||
if (!g_file_test(fname, G_FILE_TEST_EXISTS))
|
||||
{
|
||||
g_critical("The glade UI file \"%s\" is not found. Your installation is incomplete and cannot be run.", fname);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
xml = glade_xml_new (fname, root, NULL);
|
||||
|
||||
g_free (fname);
|
||||
|
||||
return xml;
|
||||
}
|
||||
|
||||
/* gnc_glade_lookup_widget: Given a root (or at least ancestor) widget,
|
||||
* find the child widget with the given name.
|
||||
*/
|
||||
GtkWidget *
|
||||
gnc_glade_lookup_widget (GtkWidget *widget, const char *name)
|
||||
{
|
||||
GladeXML *xml;
|
||||
GtkWidget *wid;
|
||||
|
||||
if (!widget || !name) return NULL;
|
||||
|
||||
xml = glade_get_widget_tree (widget);
|
||||
if (!xml) return NULL;
|
||||
|
||||
wid = glade_xml_get_widget (xml, name);
|
||||
if (!wid)
|
||||
PWARN("I know nothing of this '%s' whom you seek.", name);
|
||||
|
||||
return wid;
|
||||
}
|
||||
|
||||
/*
|
||||
* The following function is built from a couple of glade functions.
|
||||
*/
|
||||
GModule *allsymbols = NULL;
|
||||
|
||||
void
|
||||
gnc_glade_autoconnect_full_func(const gchar *handler_name,
|
||||
GObject *signal_object,
|
||||
const gchar *signal_name,
|
||||
const gchar *signal_data,
|
||||
GObject *other_object,
|
||||
gboolean signal_after,
|
||||
gpointer user_data)
|
||||
{
|
||||
GCallback func;
|
||||
GCallback *p_func = &func;
|
||||
|
||||
if (allsymbols == NULL)
|
||||
{
|
||||
/* get a handle on the main executable -- use this to find symbols */
|
||||
allsymbols = g_module_open(NULL, 0);
|
||||
}
|
||||
|
||||
if (!g_module_symbol(allsymbols, handler_name, (gpointer *)p_func))
|
||||
{
|
||||
#ifdef HAVE_DLSYM
|
||||
/* Fallback to dlsym -- necessary for *BSD linkers */
|
||||
func = dlsym(RTLD_DEFAULT, handler_name);
|
||||
#else
|
||||
func = NULL;
|
||||
#endif
|
||||
if (func == NULL)
|
||||
{
|
||||
g_warning("ggaff: could not find signal handler '%s'.", handler_name);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (other_object)
|
||||
{
|
||||
if (signal_after)
|
||||
g_signal_connect_object (signal_object, signal_name, func,
|
||||
other_object, G_CONNECT_AFTER);
|
||||
else
|
||||
g_signal_connect_object (signal_object, signal_name, func, other_object, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (signal_after)
|
||||
g_signal_connect_after(signal_object, signal_name, func, user_data);
|
||||
else
|
||||
g_signal_connect(signal_object, signal_name, func, user_data);
|
||||
}
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* GtkBuilder support functions
|
||||
*-------------------------------------------------------------------------*/
|
||||
|
||||
GModule *allsymbols = NULL;
|
||||
|
||||
/* gnc_builder_add_from_file:
|
||||
*
|
||||
* a convenience wrapper for gtk_builder_add_objects_from_file.
|
||||
|
@ -26,7 +26,6 @@
|
||||
#ifndef DIALOG_UTILS_H
|
||||
#define DIALOG_UTILS_H
|
||||
|
||||
#include <glade/glade.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include "qof.h"
|
||||
|
||||
@ -118,16 +117,6 @@ void gnc_clist_set_check (GtkCList *list, int row, int col,
|
||||
gboolean checked);
|
||||
#endif
|
||||
|
||||
GladeXML * gnc_glade_xml_new (const char *filename, const char *root);
|
||||
GtkWidget * gnc_glade_lookup_widget (GtkWidget *widget, const char *name);
|
||||
void gnc_glade_autoconnect_full_func(const gchar *handler_name,
|
||||
GObject *signal_object,
|
||||
const gchar *signal_name,
|
||||
const gchar *signal_data,
|
||||
GObject *connect_object,
|
||||
gboolean after,
|
||||
gpointer user_data);
|
||||
|
||||
gboolean gnc_builder_add_from_file (GtkBuilder *builder, const char *filename, const char *root);
|
||||
void gnc_builder_connect_full_func (GtkBuilder *builder,
|
||||
GObject *signal_object,
|
||||
|
@ -47,8 +47,7 @@ INCLUDES= \
|
||||
-I${top_srcdir}/src/test-core \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GLIB_CFLAGS} \
|
||||
${GUILE_INCS} \
|
||||
${GLADE_CFLAGS}
|
||||
${GUILE_INCS}
|
||||
|
||||
LDADD = \
|
||||
${GNOME_LIBS} \
|
||||
|
@ -16,7 +16,6 @@ libgnc_gnome_la_LIBADD = \
|
||||
${top_builddir}/src/engine/libgncmod-engine.la \
|
||||
${top_builddir}/src/core-utils/libgnc-core-utils.la \
|
||||
${top_builddir}/src/libqof/qof/libgnc-qof.la \
|
||||
${GLADE_LIBS} \
|
||||
${GUILE_LIBS} \
|
||||
${GNOME_LIBS} \
|
||||
${GCONF_LIBS} \
|
||||
@ -123,7 +122,6 @@ AM_CPPFLAGS = \
|
||||
${GUILE_INCS} \
|
||||
${GNOME_CFLAGS} \
|
||||
${GCONF_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
$(GLIB_CFLAGS) \
|
||||
${GTK_MAC_CFLAGS}
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <glib/gi18n.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <glade/glade.h>
|
||||
#include <math.h>
|
||||
#include "assistant-loan.h"
|
||||
#include "SchedXaction.h"
|
||||
|
@ -40,7 +40,6 @@
|
||||
#endif
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <glade/glade.h>
|
||||
#include "gnc-date-edit.h"
|
||||
|
||||
#include "gnc-plugin-page-register.h"
|
||||
|
@ -16,7 +16,6 @@ AM_CPPFLAGS = \
|
||||
${GLIB_CFLAGS} \
|
||||
${GUILE_INCS} \
|
||||
${GTK_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GNOME_CFLAGS} \
|
||||
${WEBKIT_CFLAGS} \
|
||||
${GOFFICE_CFLAGS}
|
||||
@ -61,7 +60,6 @@ libgncmod_html_la_LIBADD = \
|
||||
${DB_LIBS} \
|
||||
${QOF_LIBS} \
|
||||
${GOFFICE_LIBS} \
|
||||
${GLADE_LIBS} \
|
||||
${GUILE_LIBS} \
|
||||
${REGEX_LIBS}
|
||||
|
||||
|
@ -47,7 +47,6 @@ libgncmod_generic_import_la_LIBADD = \
|
||||
${top_builddir}/src/gnc-module/libgnc-module.la \
|
||||
${top_builddir}/src/libqof/qof/libgnc-qof.la \
|
||||
${GCONF_LIBS} \
|
||||
${GLADE_LIBS} \
|
||||
${REGEX_LIBS} \
|
||||
${GLIB_LIBS}
|
||||
|
||||
@ -64,8 +63,8 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/gnome-utils \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GCONF_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GUILE_INCS} \
|
||||
${GTK_CFLAGS} \
|
||||
${GLIB_CFLAGS}
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
@ -44,7 +44,6 @@ libgncmod_aqbanking_la_LIBADD = \
|
||||
${top_builddir}/src/libqof/qof/libgnc-qof.la \
|
||||
${GNOME_LIBS} \
|
||||
${GCONF_LIBS} \
|
||||
${GLADE_LIBS} \
|
||||
${GLIB_LIBS} \
|
||||
${GWENGUI_GTK2_LIBS} \
|
||||
${AQBANKING_LIBS}
|
||||
@ -64,7 +63,6 @@ AM_CFLAGS = \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GNOME_CFLAGS} \
|
||||
${GCONF_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GLIB_CFLAGS} \
|
||||
${AQBANKING_CFLAGS}
|
||||
|
||||
|
@ -43,7 +43,6 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/lib/libc \
|
||||
-I${top_srcdir}/lib \
|
||||
${GCONF_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GUILE_INCS} \
|
||||
${GLIB_CFLAGS} \
|
||||
$(GOFFICE_CFLAGS)
|
||||
|
@ -35,8 +35,8 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/import-export \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GCONF_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GUILE_INCS} \
|
||||
${GTK_CFLAGS} \
|
||||
${GLIB_CFLAGS}
|
||||
|
||||
uidir = $(GNC_UI_DIR)
|
||||
|
@ -37,8 +37,8 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/import-export \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GCONF_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GUILE_INCS} \
|
||||
${GTK_CFLAGS} \
|
||||
${GLIB_CFLAGS} \
|
||||
${LIBOFX_CFLAGS}
|
||||
|
||||
|
@ -26,7 +26,6 @@ libgncmod_qif_import_la_LIBADD = \
|
||||
${top_builddir}/src/libqof/qof/libgnc-qof.la \
|
||||
${GUILE_LIBS} \
|
||||
${GCONF_LIBS} \
|
||||
${GLADE_LIBS} \
|
||||
${GLIB_LIBS}
|
||||
|
||||
|
||||
@ -64,7 +63,7 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GUILE_INCS} \
|
||||
${GLIB_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GTK_CFLAGS} \
|
||||
${GCONF_CFLAGS}
|
||||
|
||||
uidir = $(GNC_UI_DIR)
|
||||
|
@ -43,7 +43,6 @@ libgncmod_gtkmm_la_LIBADD = \
|
||||
${top_builddir}/src/libqof/qof/libgnc-qof.la \
|
||||
${GTKMM_LIBS} \
|
||||
${GCONF_LIBS} \
|
||||
${GLADE_LIBS} \
|
||||
${GLIB_LIBS}
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
@ -54,15 +53,14 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/engine \
|
||||
${GTKMM_CFLAGS} \
|
||||
${GCONF_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GLIB_CFLAGS}
|
||||
|
||||
uidir = $(GNC_UI_DIR)
|
||||
ui_DATA = gnc-plugin-gtkmm-ui.xml
|
||||
|
||||
gladedir = $(GNC_GLADE_DIR)
|
||||
glade_DATA =
|
||||
gtkbuilderdir = $(GNC_GTKBUILDER_DIR)
|
||||
gtkbuilder_DATA =
|
||||
|
||||
EXTRA_DIST = ${ui_DATA} ${glade_DATA}
|
||||
EXTRA_DIST = ${ui_DATA} ${gtkbuilder_DATA}
|
||||
|
||||
INCLUDES = -DG_LOG_DOMAIN=\"gnc.gui.gtkmm\"
|
||||
|
@ -24,7 +24,6 @@ noinst_PROGRAMS = ${TEST_PROGS}
|
||||
test_gtkmm_LDADD = ${top_builddir}/${MODULEPATH}/libgncmod-gtkmm.la \
|
||||
${top_builddir}/src/libqof/qof/libgnc-qof.la \
|
||||
${GTKMM_LIBS} \
|
||||
${GLADE_LIBS} \
|
||||
${GLIB_LIBS}
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
@ -38,5 +37,4 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/engine \
|
||||
-I${top_srcdir}/src/optional/gtkmm \
|
||||
${GTKMM_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GLIB_CFLAGS}
|
||||
|
@ -34,7 +34,6 @@ _gnucash_core_c_la_LDFLAGS = -avoid-version -module
|
||||
|
||||
_gnucash_core_c_la_LIBADD = \
|
||||
${GLIB_LIBS} \
|
||||
${GLADE_LIBS} \
|
||||
${top_builddir}/src/libqof/qof/libgnc-qof.la \
|
||||
${top_builddir}/src/gnc-module/libgnc-module.la \
|
||||
${top_builddir}/src/engine/libgncmod-engine.la
|
||||
|
@ -27,7 +27,6 @@ libgncmod_bi_import_la_LIBADD = \
|
||||
${top_builddir}/src/libqof/qof/libgnc-qof.la \
|
||||
${top_builddir}/lib/libc/libc-missing.la \
|
||||
${GCONF_LIBS} \
|
||||
${GLADE_LIBS} \
|
||||
${QOF_LIBS} \
|
||||
${GLIB_LIBS}
|
||||
|
||||
@ -50,7 +49,7 @@ AM_CFLAGS = \
|
||||
-I${top_srcdir}/src/gnc-module \
|
||||
-I${top_srcdir}/lib/libc \
|
||||
${GCONF_CFLAGS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GTK_CFLAGS} \
|
||||
${QOF_CFLAGS} \
|
||||
${GLIB_CFLAGS}
|
||||
|
||||
|
@ -33,7 +33,6 @@ libgncmod_ledger_core_la_LIBADD = \
|
||||
${top_builddir}/src/core-utils/libgnc-core-utils.la \
|
||||
${top_builddir}/src/gnc-module/libgnc-module.la \
|
||||
${top_builddir}/src/libqof/qof/libgnc-qof.la \
|
||||
${GLADE_LIBS} \
|
||||
${GCONF_LIBS} \
|
||||
${GUILE_LIBS} \
|
||||
${GTK_LIBS} \
|
||||
@ -50,8 +49,8 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/register/register-gnome \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GUILE_INCS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GCONF_CFLAGS} \
|
||||
${GTK_CFLAGS} \
|
||||
${GLIB_CFLAGS}
|
||||
|
||||
|
||||
|
@ -62,7 +62,7 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/gnome-utils \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GUILE_INCS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GTK_CFLAGS} \
|
||||
${GLIB_CFLAGS}
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
@ -61,7 +61,6 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/register/register-core \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GUILE_INCS} \
|
||||
${GLADE_CFLAGS} \
|
||||
${GLIB_CFLAGS} \
|
||||
${GTK_XIM_FLAGS} \
|
||||
${GNOME_CFLAGS}
|
||||
|
@ -14,9 +14,9 @@ AM_CPPFLAGS = \
|
||||
-I${top_srcdir}/src/html \
|
||||
-I${top_srcdir}/src/report/report-system \
|
||||
-I${top_srcdir}/src/libqof/qof \
|
||||
${GLADE_CFLAGS} \
|
||||
${GUILE_INCS} \
|
||||
${GCONF_CFLAGS} \
|
||||
${GTK_CFLAGS} \
|
||||
${GLIB_CFLAGS}
|
||||
|
||||
libgncmod_report_gnome_la_SOURCES = \
|
||||
@ -47,7 +47,6 @@ libgncmod_report_gnome_la_LIBADD = \
|
||||
${top_builddir}/src/html/libgncmod-html.la \
|
||||
${top_builddir}/src/report/report-system/libgncmod-report-system.la \
|
||||
${top_builddir}/src/libqof/qof/libgnc-qof.la \
|
||||
${GLADE_LIBS} \
|
||||
${GUILE_LIBS} \
|
||||
${GCONF_LIBS} \
|
||||
${GLIB_LIBS}
|
||||
|
Loading…
Reference in New Issue
Block a user