From 76bf2f26705b06297ef8d54f7870092defc3adf9 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Fri, 18 Nov 2011 23:58:19 +0100 Subject: Fix loading glade file when installed. Added desktop entry. --- desktop/.gitignore | 1 + desktop/Makefile.am | 15 +++++++++++++++ desktop/viewtorrents.desktop.in | 11 +++++++++++ desktop/viewtorrents.png | Bin 0 -> 8987 bytes 4 files changed, 27 insertions(+) create mode 100644 desktop/.gitignore create mode 100644 desktop/Makefile.am create mode 100644 desktop/viewtorrents.desktop.in create mode 100644 desktop/viewtorrents.png (limited to 'desktop') diff --git a/desktop/.gitignore b/desktop/.gitignore new file mode 100644 index 0000000..dfd5cd8 --- /dev/null +++ b/desktop/.gitignore @@ -0,0 +1 @@ +/viewtorrents.desktop diff --git a/desktop/Makefile.am b/desktop/Makefile.am new file mode 100644 index 0000000..0ac91e2 --- /dev/null +++ b/desktop/Makefile.am @@ -0,0 +1,15 @@ +MAINTAINERCLEANFILES = Makefile.in + +Applicationdir = $(datadir)/applications +Applicationicondir = $(datadir)/icons/hicolor/128x128/apps + +Application_predata = viewtorrents.desktop.in +dist_Application_DATA = $(Application_predata:.desktop.in=.desktop) +dist_Applicationicon_DATA = viewtorrents.png + +EXTRA_DIST = $(Application_predata) + +%.desktop: %.desktop.in + cp $< $@ + +CONFIG_CLEAN_FILES = viewtorrents.desktop diff --git a/desktop/viewtorrents.desktop.in b/desktop/viewtorrents.desktop.in new file mode 100644 index 0000000..a532843 --- /dev/null +++ b/desktop/viewtorrents.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=viewtorrents +GenericName=GUI for rTorrent +Comment=View your list of torrents +Exec=viewtorrents +Terminal=false +Type=Application +Icon=viewtorrents +Categories=Utility +StartupNotify=true diff --git a/desktop/viewtorrents.png b/desktop/viewtorrents.png new file mode 100644 index 0000000..c83d662 Binary files /dev/null and b/desktop/viewtorrents.png differ -- cgit v1.2.3-70-g09d2