summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
-rw-r--r--src/mate-network-scheme.desktop.in4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 06bd831d..0f917ea4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,6 +19,7 @@ AM_CPPFLAGS = \
-DDATADIR=\""$(datadir)"\" \
-DLIBDIR=\""$(libdir)"\" \
-DCAJA_DATADIR=\""$(datadir)/caja"\" \
+ -DMATELOCALEDIR=\""$(datadir)/locale"\" \
-DUIDIR=\""$(datadir)/caja/ui"\" \
-DCAJA_PIXMAPDIR=\""$(datadir)/pixmaps/caja"\" \
-DPREFIX=\""$(prefix)"\" \
@@ -50,12 +51,13 @@ $(dbus_freedesktop_built_sources) : Makefile.am $(top_srcdir)/data/freedesktop-d
$(top_srcdir)/data/freedesktop-dbus-interfaces.xml \
$(NULL)
-@INTLTOOL_DESKTOP_RULE@
-
desktop_in_files=mate-network-scheme.desktop.in
desktop_files=$(desktop_in_files:.desktop.in=.desktop)
desktopdir = $(datadir)/mate/network/
+$(desktop_files): $(desktop_in_files)
+ $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+
schemedir = $(datadir)/applications
scheme_DATA = mate-network-scheme.desktop
@@ -206,8 +208,6 @@ if ENABLE_SELF_CHECK
TESTS=check-caja
endif
-@INTLTOOL_SERVER_RULE@
-
uidir = $(datadir)/caja/ui
ui_DATA = \
caja-shell-ui.xml \
diff --git a/src/mate-network-scheme.desktop.in b/src/mate-network-scheme.desktop.in
index 023c2cd3..d3449fa5 100644
--- a/src/mate-network-scheme.desktop.in
+++ b/src/mate-network-scheme.desktop.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Network
-_Comment=Browse bookmarked and local network locations
+Name=Network
+Comment=Browse bookmarked and local network locations
TryExec=caja
Exec=caja --no-desktop network:
Terminal=false