Slightly bigger patch.

Georg
Index: src/frontends/gtk/Makefile.am
===================================================================
--- src/frontends/gtk/Makefile.am	(Revision 15186)
+++ src/frontends/gtk/Makefile.am	(Arbeitskopie)
@@ -148,3 +148,6 @@ libgtk_la_SOURCES = \
 	xftFontLoader.C \
 	xftFontLoader.h \
 	xftFontMetrics.C
+
+desktopdir = $(datadir)/applications
+dist_desktop_DATA = lyx-gtk.desktop
Index: src/frontends/gtk/lyx-gtk.desktop
===================================================================
--- src/frontends/gtk/lyx-gtk.desktop	(Revision 0)
+++ src/frontends/gtk/lyx-gtk.desktop	(Revision 0)
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Name=LyX (GTK)
+GenericName=Structured Word Processor
+Comment=WYSIWYM (What You See Is What You Mean) word processor with LaTeX output
+Exec=lyx-gtk %F
+TryExec=lyx-gtk
+Icon=lyx
+StartupNotify=false
+Terminal=false
+Categories=GTK;Application;Office;WordProcessor;
+MimeType=text/x-lyx;application/x-lyx;
Index: src/frontends/qt3/Makefile.am
===================================================================
--- src/frontends/qt3/Makefile.am	(Revision 15186)
+++ src/frontends/qt3/Makefile.am	(Arbeitskopie)
@@ -96,3 +96,6 @@ libqt3_la_SOURCES = \
 	qscreen.h qscreen.C \
 	qt_helpers.h qt_helpers.C \
 	$(MOCFILES)
+
+desktopdir = $(datadir)/applications
+dist_desktop_DATA = lyx-qt3.desktop
Index: src/frontends/qt3/lyx-qt3.desktop
===================================================================
--- src/frontends/qt3/lyx-qt3.desktop	(Revision 0)
+++ src/frontends/qt3/lyx-qt3.desktop	(Revision 0)
@@ -0,0 +1,15 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Name=LyX (Qt 3)
+GenericName=Structured Word Processor
+Comment=WYSIWYM (What You See Is What You Mean) word processor with LaTeX output
+Exec=lyx-qt3 %F
+TryExec=lyx-qt3
+Icon=lyx
+StartupNotify=false
+StartupWMClass=Lyx-qt3
+Terminal=false
+Categories=Qt;Application;Office;WordProcessor;
+MimeType=text/x-lyx;application/x-lyx;
Index: src/frontends/qt4/Makefile.am
===================================================================
--- src/frontends/qt4/Makefile.am	(Revision 15186)
+++ src/frontends/qt4/Makefile.am	(Arbeitskopie)
@@ -92,3 +92,6 @@ libqt4_la_SOURCES = \
 	qtTimeout.C qtTimeout.h \
 	UrlView.C UrlView.h \
 	$(MOCFILES)
+
+desktopdir = $(datadir)/applications
+dist_desktop_DATA = lyx-qt4.desktop
Index: src/frontends/qt4/lyx-qt4.desktop
===================================================================
--- src/frontends/qt4/lyx-qt4.desktop	(Revision 0)
+++ src/frontends/qt4/lyx-qt4.desktop	(Revision 0)
@@ -0,0 +1,15 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Name=LyX (Qt 4)
+GenericName=Structured Word Processor
+Comment=WYSIWYM (What You See Is What You Mean) word processor with LaTeX output
+Exec=lyx-qt4 %F
+TryExec=lyx-qt4
+Icon=lyx
+StartupNotify=false
+StartupWMClass=Lyx-qt4
+Terminal=false
+Categories=Qt;Application;Office;WordProcessor;
+MimeType=text/x-lyx;application/x-lyx;

Reply via email to