Removed HAVE_BONOBO from acconfig.h
Fixed capplet Makefile.am's. Some porting for control-center/main.c
This commit is contained in:
parent
430bb66299
commit
86192c772e
10 changed files with 8 additions and 15 deletions
|
@ -7,7 +7,6 @@
|
|||
#undef HAVE_LIBSM
|
||||
#undef HAVE_PROGRAM_INVOCATION_SHORT_NAME
|
||||
#undef HAVE_PROGRAM_INVOCATION_NAME
|
||||
#undef HAVE_BONOBO
|
||||
|
||||
#undef GNOMECC_ICONS_DIR
|
||||
#undef GNOMECC_GLADE_DIR
|
||||
|
|
|
@ -15,7 +15,7 @@ pixmap_DATA =
|
|||
##
|
||||
## You should not need to modify anything below this line
|
||||
##
|
||||
@XML_I18N_MERGE_DESKTOP_RULE@
|
||||
@INTLTOOL_DESKTOP_RULE@
|
||||
|
||||
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
|
||||
$(desktop).in: %.desktop.in: %.desktop.in.in
|
||||
|
|
|
@ -3,7 +3,7 @@ ccenterdir = $(datadir)/control-center/capplets
|
|||
Desktopdir = $(ccenterdir)
|
||||
Desktop_in_files = gnome-hint-properties.desktop.in
|
||||
Desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
|
||||
@XML_I18N_MERGE_DESKTOP_RULE@
|
||||
@INTLTOOL_DESKTOP_RULE@
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(Desktop_in_files)
|
||||
|
|
|
@ -21,7 +21,7 @@ oaf_DATA = Bonobo_Control_Capplet_keyboard_properties.oaf
|
|||
##
|
||||
## You should not need to modify anything below this line
|
||||
##
|
||||
@XML_I18N_MERGE_DESKTOP_RULE@
|
||||
@INTLTOOL_DESKTOP_RULE@
|
||||
|
||||
$(bin_SCRIPTS): $(top_srcdir)/capplets/common/wrapper-script.in
|
||||
sed -e "s#@BINDIR@#$(bindir)#" -e "s#@CAPPLET_NAME@#$(cappletname)-properties#" < $< > $@
|
||||
|
|
|
@ -21,7 +21,7 @@ oaf_DATA = Bonobo_Control_Capplet_mouse_properties.oaf
|
|||
##
|
||||
## You should not need to modify anything below this line
|
||||
##
|
||||
@XML_I18N_MERGE_DESKTOP_RULE@
|
||||
@INTLTOOL_DESKTOP_RULE@
|
||||
|
||||
$(bin_SCRIPTS): $(top_srcdir)/capplets/common/wrapper-script.in
|
||||
sed -e "s#@BINDIR@#$(bindir)#" -e "s#@CAPPLET_NAME@#$(cappletname)-properties#" < $< > $@
|
||||
|
|
|
@ -9,7 +9,7 @@ rollback_capplet_SOURCES = \
|
|||
rollback-capplet-dialog.c rollback-capplet-dialog.h \
|
||||
main.c
|
||||
|
||||
@XML_I18N_MERGE_DESKTOP_RULE@
|
||||
@INTLTOOL_DESKTOP_RULE@
|
||||
|
||||
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
|
||||
$(desktop).in: %.desktop.in: %.desktop.in.in
|
||||
|
|
|
@ -24,7 +24,7 @@ pixmaps_DATA = no-hack.png blank-screen.png
|
|||
##
|
||||
## You should not need to modify anything below this line
|
||||
##
|
||||
@XML_I18N_MERGE_DESKTOP_RULE@
|
||||
@INTLTOOL_DESKTOP_RULE@
|
||||
|
||||
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
|
||||
$(desktop).in: %.desktop.in: %.desktop.in.in
|
||||
|
|
|
@ -25,7 +25,7 @@ oaf_DATA = Bonobo_Control_Capplet_sound_properties.oaf
|
|||
##
|
||||
## You should not need to modify anything below this line
|
||||
##
|
||||
@XML_I18N_MERGE_DESKTOP_RULE@
|
||||
@INTLTOOL_DESKTOP_RULE@
|
||||
|
||||
$(bin_SCRIPTS): $(top_srcdir)/capplets/common/wrapper-script.in
|
||||
sed -e "s#@BINDIR@#$(bindir)#" -e "s#@CAPPLET_NAME@#$(cappletname)-properties#" < $< > $@
|
||||
|
|
|
@ -11,7 +11,7 @@ splash_DATA = \
|
|||
sysdir = $(datadir)/gnome/apps/Settings
|
||||
sys_in_files = gnomecc.desktop.in
|
||||
sys_DATA = $(sys_in_files:.desktop.in=.desktop)
|
||||
@XML_I18N_MERGE_DESKTOP_RULE@
|
||||
@INTLTOOL_DESKTOP_RULE@
|
||||
|
||||
gladedir = $(datadir)/control-center/interfaces
|
||||
glade_DATA = \
|
||||
|
|
|
@ -27,12 +27,8 @@
|
|||
|
||||
#include <gnome.h>
|
||||
#include <glade/glade.h>
|
||||
|
||||
#include <bonobo.h>
|
||||
|
||||
#ifdef GTKHTML_HAVE_GCONF
|
||||
#include <gconf/gconf.h>
|
||||
#endif
|
||||
|
||||
#include "capplet-dir.h"
|
||||
#include "capplet-dir-view.h"
|
||||
|
@ -79,9 +75,7 @@ main (int argc, char **argv)
|
|||
if (bonobo_init (orb, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE)
|
||||
g_error ("Cannot initialize bonobo");
|
||||
|
||||
#ifdef GTKHTML_HAVE_GCONF
|
||||
gconf_init (argc, argv, NULL);
|
||||
#endif
|
||||
|
||||
if (capplet == NULL) {
|
||||
gnomecc_init ();
|
||||
|
|
Loading…
Add table
Reference in a new issue