diff options
Diffstat (limited to 'capplets/network')
-rw-r--r-- | capplets/network/Makefile.am | 3 | ||||
-rw-r--r-- | capplets/network/mate-network-properties.c | 6 |
2 files changed, 2 insertions, 7 deletions
diff --git a/capplets/network/Makefile.am b/capplets/network/Makefile.am index 65b7c6ec..17616ece 100644 --- a/capplets/network/Makefile.am +++ b/capplets/network/Makefile.am @@ -23,8 +23,7 @@ mate-network-properties-resources.h mate-network-properties-resources.c: org.mat $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name network $< AM_CPPFLAGS = \ - $(MATECC_CAPPLETS_CFLAGS) \ - -DMATELOCALEDIR="\"$(datadir)/locale\"" + $(MATECC_CAPPLETS_CFLAGS) CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES) $(GLA11Y_OUTPUT) EXTRA_DIST = $(ui_files) $(desktop_in_files) org.mate.mcc.network.gresource.xml ui-a11y.suppr diff --git a/capplets/network/mate-network-properties.c b/capplets/network/mate-network-properties.c index c2243fb3..af17495b 100644 --- a/capplets/network/mate-network-properties.c +++ b/capplets/network/mate-network-properties.c @@ -459,11 +459,7 @@ main (int argc, char **argv) "delete_button_img", NULL}; GtkWidget *widget; - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - textdomain (GETTEXT_PACKAGE); - - gtk_init (&argc, &argv); + capplet_init (NULL, &argc, &argv); builder = gtk_builder_new (); if (gtk_builder_add_objects_from_resource (builder, "/org/mate/mcc/network/mate-network-properties.ui", |