summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-07-19 17:42:36 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2010-07-19 18:02:13 +0200
commit34341440f155a79f792ba35edba9dbc429b77850 (patch)
tree0c502244e73502b55b7272c8c66496193f77da1b /src
parentcb192958219286cdf816e152c4184e649c56fdce (diff)
downloadabrt-34341440f155a79f792ba35edba9dbc429b77850.tar.gz
abrt-34341440f155a79f792ba35edba9dbc429b77850.tar.xz
abrt-34341440f155a79f792ba35edba9dbc429b77850.zip
fixed tooltip localization rhbz#574693
Diffstat (limited to 'src')
-rw-r--r--src/Applet/Makefile.am11
-rw-r--r--src/Applet/abrt-applet.desktop.in1
-rw-r--r--src/Gui/Makefile.am21
3 files changed, 16 insertions, 17 deletions
diff --git a/src/Applet/Makefile.am b/src/Applet/Makefile.am
index 64a9ded4..6abef3bb 100644
--- a/src/Applet/Makefile.am
+++ b/src/Applet/Makefile.am
@@ -31,12 +31,13 @@ abrt_applet_LDADD = \
# $(DL_LIBS)
# $(GTK_LIBS)
-EXTRA_DIST = abrt-applet.desktop
-
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+@INTLTOOL_DESKTOP_RULE@
+
autostartdir = $(sysconfdir)/xdg/autostart
-autostart_DATA = abrt-applet.desktop
+autostart_in_files = abrt-applet.desktop.in
+
+autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
-abrt-applet.desktop:
- intltool-merge -d ../../po abrt-applet.desktop.in abrt-applet.desktop
+EXTRA_DIST = $(autostart_in_files)
diff --git a/src/Applet/abrt-applet.desktop.in b/src/Applet/abrt-applet.desktop.in
index 842d4e9f..57a6278e 100644
--- a/src/Applet/abrt-applet.desktop.in
+++ b/src/Applet/abrt-applet.desktop.in
@@ -1,4 +1,5 @@
[Desktop Entry]
+Encoding=UTF-8
_Name=Automatic Bug Reporting Tool
_Comment=ABRT notification applet
Icon=abrt
diff --git a/src/Gui/Makefile.am b/src/Gui/Makefile.am
index 1588b1f0..002b3bc7 100644
--- a/src/Gui/Makefile.am
+++ b/src/Gui/Makefile.am
@@ -1,5 +1,3 @@
-#SUBDIRS=gui tui plugins tests conf
-
bin_SCRIPTS = abrt-gui
PYTHON_FILES = CCDBusBackend.py CCDumpList.py CCDump.py CC_gui_functions.py \
@@ -11,20 +9,19 @@ PYTHON_FILES = CCDBusBackend.py CCDumpList.py CCDump.py CC_gui_functions.py \
GLADE_FILES = ccgui.glade report.glade settings.glade dialogs.glade \
settings_wizard.glade progress_window.glade
-EXTRA_DIST = $(PYTHON_FILES) $(GLADE_FILES) abrt-gui abrt.desktop
-
-#ccguidir = $(pkgdatadir)
-applicationsdir = $(datadir)/applications
-applications_DATA = abrt.desktop
pkgdata_PYTHON = $(PYTHON_FILES)
pkgdata_DATA = $(GLADE_FILES)
-#pixmapdir = $(datadir)/icons/hicolor/48x48/apps/
-#pixmap_DATA = abrt.png
-CLEANFILES := $(notdir $(wildcard *~)) $(notdir $(wildcard *\#)) $(notdir $(wildcard \.\#*)) $(notdir $(wildcard *.pyc))
+@INTLTOOL_DESKTOP_RULE@
+
+desktopdir = $(datadir)/applications
+desktop_in_files = abrt.desktop.in
-abrt.desktop:
- intltool-merge -d ../../po abrt.desktop.in abrt.desktop
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
+EXTRA_DIST = $(PYTHON_FILES) $(GLADE_FILES) abrt-gui $(desktop_in_files)
+
+CLEANFILES := $(notdir $(wildcard *~)) $(notdir $(wildcard *\#)) $(notdir $(wildcard \.\#*)) $(notdir $(wildcard *.pyc))
install-exec-hook:
for b in $(bin_SCRIPTS); do \