summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Patrick Griffis <tingping@tingping.se>2015-12-26 22:24:14 -0500
committerGravatar Patrick Griffis <tingping@tingping.se>2016-01-19 19:35:10 -0500
commit3f1418a0f987990b41fdb7b0a1f004fe03dea1eb (patch)
treebb997acabe77e09f825a81a84940ea04d25feb81 /src
parent6859636f60259eee7bf8293eb0434c54cb250880 (diff)
Move desktop file to data and translate
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am12
-rw-r--r--src/transmission-remote-gtk.desktop.in11
2 files changed, 4 insertions, 19 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 2874f70..43306fa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,13 +18,12 @@
#
if !WIN32
-EXTRA_DIST = transmission-remote-gtk.desktop.in transmission-remote-gtk.pod transmission-remote-gtk.appdata.xml
-CLEANFILES = transmission-remote-gtk.desktop transmission-remote-gtk.1
+EXTRA_DIST = transmission-remote-gtk.pod transmission-remote-gtk.appdata.xml
+CLEANFILES = transmission-remote-gtk.1
man_MANS = transmission-remote-gtk.1
-desktopdir = $(datadir)/applications
-desktop_DATA = transmission-remote-gtk.desktop
+
appdatadir = $(datadir)/appdata
appdata_DATA = transmission-remote-gtk.appdata.xml
@@ -32,7 +31,7 @@ endif
bin_PROGRAMS = transmission-remote-gtk
AM_CFLAGS = -DLOCALEDIR=\""$(localedir)"\" $(libcurl_CFLAGS) $(jsonglib_CFLAGS) $(gthread_CFLAGS) $(gtk_CFLAGS) $(gio_CFLAGS) $(notify_CFLAGS) $(libproxy_CFLAGS) $(libappindicator_CFLAGS) $(mrss_CFLAGS) -I$(top_srcdir)/extern
-
+
transmission_remote_gtk_SOURCES = \
trg-cell-renderer-speed.c \
trg-cell-renderer-counter.c \
@@ -118,6 +117,3 @@ else
pod2man --release="" --center="Transmission Remote GTK" $< > $@
endif
-
-transmission-remote-gtk.desktop: transmission-remote-gtk.desktop.in
- sed -e 's,@bindir\@,$(bindir),g' <transmission-remote-gtk.desktop.in > $@
diff --git a/src/transmission-remote-gtk.desktop.in b/src/transmission-remote-gtk.desktop.in
deleted file mode 100644
index 501a4ea..0000000
--- a/src/transmission-remote-gtk.desktop.in
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=Transmission Remote
-Comment=Remotely manage the Transmission BitTorrent client
-Exec=@bindir@/transmission-remote-gtk %U
-Icon=transmission-remote-gtk
-Terminal=false
-TryExec=transmission-remote-gtk
-Type=Application
-MimeType=application/x-bittorrent;x-scheme-handler/magnet;
-Categories=Network;FileTransfer;P2P;GTK;
-Keywords=p2p;bittorrent;transmission;rpc;