Index: orxonox/trunk/src/subprojects/particles/Makefile.am
===================================================================
--- orxonox/trunk/src/subprojects/particles/Makefile.am	(revision 4639)
+++ orxonox/trunk/src/subprojects/particles/Makefile.am	(revision 4649)
@@ -33,2 +33,4 @@
                    $(MAINSRCDIR)/util/loading/load_param.cc \
                    $(MAINSRCDIR)/lib/util/ini_parser.cc
+applnkApplication_DATA = particles.desktop
+applnkApplicationdir = $(kde_appsdir)/Application
Index: orxonox/trunk/src/subprojects/particles/Makefile.in
===================================================================
--- orxonox/trunk/src/subprojects/particles/Makefile.in	(revision 4639)
+++ orxonox/trunk/src/subprojects/particles/Makefile.in	(revision 4649)
@@ -14,4 +14,5 @@
 
 @SET_MAKE@
+
 
 SOURCES = $(particles_SOURCES)
@@ -48,5 +49,5 @@
 CONFIG_HEADER = $(top_builddir)/config.h
 CONFIG_CLEAN_FILES =
-am__installdirs = "$(DESTDIR)$(bindir)"
+am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(applnkApplicationdir)"
 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
 PROGRAMS = $(bin_PROGRAMS)
@@ -98,4 +99,6 @@
 SOURCES = $(particles_SOURCES)
 DIST_SOURCES = $(particles_SOURCES)
+applnkApplicationDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(applnkApplication_DATA)
 ETAGS = etags
 CTAGS = ctags
@@ -239,4 +242,6 @@
                    $(MAINSRCDIR)/lib/util/ini_parser.cc
 
+applnkApplication_DATA = particles.desktop
+applnkApplicationdir = $(kde_appsdir)/Application
 all: all-am
 
@@ -611,4 +616,21 @@
 @am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(particles_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o particles-ini_parser.obj `if test -f '$(MAINSRCDIR)/lib/util/ini_parser.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/util/ini_parser.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/util/ini_parser.cc'; fi`
 uninstall-info-am:
+install-applnkApplicationDATA: $(applnkApplication_DATA)
+	@$(NORMAL_INSTALL)
+	test -z "$(applnkApplicationdir)" || $(mkdir_p) "$(DESTDIR)$(applnkApplicationdir)"
+	@list='$(applnkApplication_DATA)'; for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+	  echo " $(applnkApplicationDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(applnkApplicationdir)/$$f'"; \
+	  $(applnkApplicationDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(applnkApplicationdir)/$$f"; \
+	done
+
+uninstall-applnkApplicationDATA:
+	@$(NORMAL_UNINSTALL)
+	@list='$(applnkApplication_DATA)'; for p in $$list; do \
+	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+	  echo " rm -f '$(DESTDIR)$(applnkApplicationdir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(applnkApplicationdir)/$$f"; \
+	done
 
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
@@ -689,7 +711,7 @@
 check-am: all-am
 check: check-am
-all-am: Makefile $(PROGRAMS)
+all-am: Makefile $(PROGRAMS) $(DATA)
 installdirs:
-	for dir in "$(DESTDIR)$(bindir)"; do \
+	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(applnkApplicationdir)"; do \
 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
 	done
@@ -738,5 +760,5 @@
 info-am:
 
-install-data-am:
+install-data-am: install-applnkApplicationDATA
 
 install-exec-am: install-binPROGRAMS
@@ -765,16 +787,19 @@
 ps-am:
 
-uninstall-am: uninstall-binPROGRAMS uninstall-info-am
+uninstall-am: uninstall-applnkApplicationDATA uninstall-binPROGRAMS \
+	uninstall-info-am
 
 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
 	clean-generic ctags distclean distclean-compile \
 	distclean-generic distclean-tags distdir dvi dvi-am html \
-	html-am info info-am install install-am install-binPROGRAMS \
-	install-data install-data-am install-exec install-exec-am \
-	install-info install-info-am install-man install-strip \
-	installcheck installcheck-am installdirs maintainer-clean \
+	html-am info info-am install install-am \
+	install-applnkApplicationDATA install-binPROGRAMS install-data \
+	install-data-am install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
 	maintainer-clean-generic mostlyclean mostlyclean-compile \
 	mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
-	uninstall-am uninstall-binPROGRAMS uninstall-info-am
+	uninstall-am uninstall-applnkApplicationDATA \
+	uninstall-binPROGRAMS uninstall-info-am
 
 include $(MAINSRCDIR)/defs/include_paths.am
Index: orxonox/trunk/src/subprojects/particles/particle_fun.cc
===================================================================
--- orxonox/trunk/src/subprojects/particles/particle_fun.cc	(revision 4639)
+++ orxonox/trunk/src/subprojects/particles/particle_fun.cc	(revision 4649)
@@ -22,4 +22,5 @@
 #include "fields.h"
 #include "stdlibincl.h"
+#include "graphics_engine.h"
 
 #define PINIT_EMISSION_RATE          50
@@ -43,4 +44,6 @@
 void Framework::moduleInit(int argc, char** argv)
 {
+  GraphicsEngine::getInstance()->setWindowName("ParticlesFun", "particles");
+
   verbose = 5;
   ParticleEngine::getInstance();
