[balsa/gtk3] Define macro TOOLKIT_CATEGORIES in configure.ac



commit 8a4db2df8f756726baf1623bc2db31be53e9e20e
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sun Jun 7 18:21:57 2015 -0400

    Define macro TOOLKIT_CATEGORIES in configure.ac
    
        * balsa.desktop.in.in: use the same macro TOOLKIT_CATEGORIES as
        in balsa-mailto-handler.desktop.in.in.
        * configure.ac: actually define said macro;
        fixes bgo #750516 (pachoramos1 gmail com).

 ChangeLog           |    8 ++++++++
 balsa.desktop.in.in |    2 +-
 configure.ac        |    3 +++
 3 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d1b245b..773f070 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-06-07  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       Fix bgo #750516 (pachoramos1 gmail com)
+
+       * balsa.desktop.in.in: use the same macro TOOLKIT_CATEGORIES as
+       in balsa-mailto-handler.desktop.in.in.
+       * configure.ac: actually define said macro.
+
 2015-05-20  Peter Bloomfield  <pbloomfield bellsouth net>
 
        Silence some autoconf and automake complaints.
diff --git a/balsa.desktop.in.in b/balsa.desktop.in.in
index 5d5f199..da30e76 100644
--- a/balsa.desktop.in.in
+++ b/balsa.desktop.in.in
@@ -9,5 +9,5 @@ Icon=gnome-balsa2
 Terminal=false
 Type=Application
 StartupNotify=true
-Categories=GNOME;GTK;Office;Email;
+Categories= TOOLKIT_CATEGORIES@Network;Email;
 X-GNOME-UsesNotifications=true
diff --git a/configure.ac b/configure.ac
index 77eca03..c2fe7f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -282,6 +282,7 @@ dnl GNOME libs
 dnl #####################################################################
 
 if test x$with_gnome != xno; then
+   TOOLKIT_CATEGORIES="GNOME;GTK;"
    gnome_extras="$gnome_extras gio-unix-2.0"
    if test x$with_libsecret == xno; then
      AC_MSG_CHECKING([whether we have gnome-keyring])
@@ -301,8 +302,10 @@ if test x$with_gnome != xno; then
    fi
    AC_DEFINE(HAVE_GNOME,1,[Defined when building for GNOME.])
 else
+   TOOLKIT_CATEGORIES="GTK;"
    gnome_extras=""
 fi
+AC_SUBST(TOOLKIT_CATEGORIES)
 
 # GMime configuration
 #


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]