From 2cf9c55560f7390d5364d182408cd4527700c53f Mon Sep 17 00:00:00 2001 From: Nikola Pajkovsky Date: Thu, 10 Mar 2011 17:41:55 +0100 Subject: override old gui by new one Signed-off-by: Nikola Pajkovsky --- src/gui-gtk/Makefile.am | 13 +++++++++---- src/gui-gtk/abrt.desktop.in | 11 +++++++++++ 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 src/gui-gtk/abrt.desktop.in (limited to 'src/gui-gtk') diff --git a/src/gui-gtk/Makefile.am b/src/gui-gtk/Makefile.am index 64754080..2c525245 100644 --- a/src/gui-gtk/Makefile.am +++ b/src/gui-gtk/Makefile.am @@ -1,10 +1,10 @@ -bin_PROGRAMS = abrt-gtk +bin_PROGRAMS = abrt-gui -abrt_gtk_SOURCES = \ +abrt_gui_SOURCES = \ abrt-gtk.h abrt-gtk.c \ event_config_dialog.h event_config_dialog.c \ main.c -abrt_gtk_CFLAGS = \ +abrt_gui_CFLAGS = \ -I$(srcdir)/../include/report -I$(srcdir)/../include \ -I$(srcdir)/../lib \ -DBIN_DIR=\"$(bindir)\" \ @@ -22,7 +22,7 @@ abrt_gtk_CFLAGS = \ # -I/usr/lib/glib-2.0/include # $(LIBNOTIFY_CFLAGS) # $(DBUS_GLIB_CFLAGS) -abrt_gtk_LDADD = \ +abrt_gui_LDADD = \ ../lib/libreport.la \ ../lib/libabrt_dbus.la \ -lglib-2.0 \ @@ -44,3 +44,8 @@ abrt_gtk_LDADD = \ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @INTLTOOL_DESKTOP_RULE@ +desktopdir = $(datadir)/applications +desktop_in_files = abrt.desktop.in +desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) + +EXTRA_DIST = $(desktop_in_files) diff --git a/src/gui-gtk/abrt.desktop.in b/src/gui-gtk/abrt.desktop.in new file mode 100644 index 00000000..99d7f8f8 --- /dev/null +++ b/src/gui-gtk/abrt.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +_Name=Automatic Bug Reporting Tool +_Comment=View and report application crashes +Exec=abrt-gui +Icon=abrt +Terminal=false +Type=Application +Categories=System;X-Red-Hat-Base; +StartupNotify=true +X-Desktop-File-Install-Version=0.15 -- cgit