diff --git a/configure.ac b/configure.ac index 97603866b..d729411e5 100644 --- a/configure.ac +++ b/configure.ac @@ -277,6 +277,25 @@ AC_SUBST(GNOMECC_CAPPLETS_CLEANFILES) AC_SUBST(GNOMECC_CAPPLETS_CFLAGS) AC_SUBST(GNOMECC_CAPPLETS_LIBS) + + +dnl ======================================= +dnl Panels +dnl ======================================= + +PANELS_DIR="${libdir}/control-center-1/panels" +AC_SUBST(PANELS_DIR) + +PANEL_CFLAGS="-I\$(top_srcdir)/libgnome-control-center/" +AC_SUBST(PANEL_CFLAGS) + +PANEL_LIBS="\$(top_builddir)/libgnome-control-center/libgnome-control-center.la" +AC_SUBST(PANEL_LIBS) + +PANEL_LDFLAGS="-export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)'" +AC_SUBST(PANEL_LDFLAGS) + + dnl ======================================= dnl Update Mime Database dnl ======================================= diff --git a/libgnome-control-center/cc-shell.h b/libgnome-control-center/cc-shell.h index 2615b2005..55567dc67 100644 --- a/libgnome-control-center/cc-shell.h +++ b/libgnome-control-center/cc-shell.h @@ -48,6 +48,9 @@ G_BEGIN_DECLS (G_TYPE_INSTANCE_GET_CLASS ((obj), \ CC_TYPE_SHELL, CcShellClass)) + +#define CC_SHELL_PANEL_EXTENSION_POINT "control-center-1" + typedef struct _CcShell CcShell; typedef struct _CcShellClass CcShellClass; typedef struct _CcShellPrivate CcShellPrivate;