diff --git a/configure.ac b/configure.ac
index 573b7d8..cbdb232 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
AC_PREREQ([2.64])
AC_INIT(roxenlauncher,
- 2.0.4,
+ 2.0.5,
[pontus@poppa.se],
[roxenlauncher],
[https://github.com/poppa/Roxen-Application-Launcher])
diff --git a/data/Makefile.am b/data/Makefile.am
index 8b9f9a8..dfe5def 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -24,11 +24,24 @@ desktop_in_files=roxen-launcher.desktop.in
desktop_DATA=roxen-launcher.desktop
@INTLTOOL_DESKTOP_RULE@
+mimedir = ${datadir}/mime/packages
+mime_DATA = xrl2-mime.xml
EXTRA_DIST = \
$(roxenlauncherextra_DATA) \
$(roxenlauncherpixmaps_DATA) \
$(gsettings_SCHEMAS) \
$(desktop_in_files) \
+ $(mime_DATA) \
$(NULL)
+install-data-local: install-mimeDATA
+ if which update-mime-database>/dev/null 2>&1; then \
+ update-mime-database $(DESTDIR)$(datadir)/mime; \
+ fi
+
+uninstall-local:
+ if which update-mime-database>/dev/null 2>&1; then \
+ update-mime-database $(DESTDIR)$(datadir)/mime; \
+ fi
+
diff --git a/data/mainwindow.ui b/data/mainwindow.ui
index d2b103d..2e59674 100644
--- a/data/mainwindow.ui
+++ b/data/mainwindow.ui
@@ -75,9 +75,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
False