+2009-11-25 [holger] 3.7.3cvs22
+
+ * Makefile.am
+ * src/common/Makefile.am
+ * src/common/utils.c
+ * src/common/utils.h
+ Add a function to query the
+ filepath of the .desktop file
+
2009-11-25 [colin] 3.7.3cvs21
* src/imap.c
pixmap128dir=$(datadir)/icons/hicolor/128x128/apps
pixmap128_DATA=claws-mail-128x128.png
+# when changing the name or location of the .desktop file,
+# also update src/common/Makefile.am
gnomapdir = $(datadir)/applications
gnomap_DATA=claws-mail.desktop
( cvs diff -u -r 1.1.2.27 -r 1.1.2.28 src/printing.c; ) > 3.7.3cvs19.patchset
( cvs diff -u -r 1.36.2.178 -r 1.36.2.179 src/common/utils.c; ) > 3.7.3cvs20.patchset
( cvs diff -u -r 1.179.2.248 -r 1.179.2.249 src/imap.c; ) > 3.7.3cvs21.patchset
+( cvs diff -u -r 1.24.2.28 -r 1.24.2.29 Makefile.am; cvs diff -u -r 1.24.2.19 -r 1.24.2.20 src/common/Makefile.am; cvs diff -u -r 1.36.2.179 -r 1.36.2.180 src/common/utils.c; cvs diff -u -r 1.20.2.72 -r 1.20.2.73 src/common/utils.h; ) > 3.7.3cvs22.patchset
MICRO_VERSION=3
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=21
+EXTRA_VERSION=22
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
PLUGINDIR = $(pkglibdir)/plugins/
+DESKTOPFILEPATH=$(datadir)/applications/claws-mail.desktop
+
noinst_LTLIBRARIES = libclawscommon.la
if OS_WIN32
-DLOCALEDIR=\""$(localedir)"\" \
-DPLUGINDIR=\"$(PLUGINDIR)\" \
-DDATAROOTDIR=\""$(datarootdir)"\" \
+ -DDESKTOPFILEPATH=\"$(DESKTOPFILEPATH)\" \
-DGTK_DISABLE_DEPRECATED
libclawscommon_la_LIBADD = \
}
#endif
+/* Return the filepath of the claws-mail.desktop file */
+const gchar *get_desktop_file(void)
+{
+#ifdef DESKTOPFILEPATH
+ return DESKTOPFILEPATH;
+#else
+ return NULL;
+#endif
+}
+
/* Return the default directory for Plugins. */
const gchar *get_plugin_dir(void)
{
const gchar *get_locale_dir (void);
gchar *get_tmp_file (void);
const gchar *get_domain_name (void);
+const gchar *get_desktop_file(void);
#ifdef G_OS_WIN32
const gchar *get_themes_dir (void);
const gchar *get_cert_file (void);