[genius] Tue Oct 08 16:57:08 2013 Jiri (George) Lebl <jirka 5z com>



commit bc198fbc853c9435b38da3e9c9537058b4890efe
Author: Jiri (George) Lebl <jiri lebl gmail com>
Date:   Tue Oct 8 16:57:12 2013 -0500

    Tue Oct 08 16:57:08 2013  Jiri (George) Lebl <jirka 5z com>
    
        * configure.in, pixmaps/Makefile.am: Use gtk-update-icon-cache,
          otherwise it seems icons are sometimes not picked up.

 ChangeLog           |    4 ++++
 configure.in        |    5 +++++
 pixmaps/Makefile.am |    3 +++
 3 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 17be4ea..ed111d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@ Tue Oct 08 16:54:53 2013  Jiri (George) Lebl <jirka 5z com>
 
        * src/graphing.c: Very simple PlotCanvasFreeze/Thaw functions, need
          improvement and documentation
+Tue Oct 08 16:57:08 2013  Jiri (George) Lebl <jirka 5z com>
+
+       * configure.in, pixmaps/Makefile.am: Use gtk-update-icon-cache,
+         otherwise it seems icons are sometimes not picked up.
 
 Thu Oct 03 17:15:40 2013  Jiri (George) Lebl <jirka 5z com>
 
diff --git a/configure.in b/configure.in
index 9224d07..8ba6335 100644
--- a/configure.in
+++ b/configure.in
@@ -238,6 +238,11 @@ dnl warn the user, we do this on the end so that the user notices
 AC_CHECK_FUNC(wordexp,AC_DEFINE(HAVE_WORDEXP,[1],[Have the wordexp function]),
              [AC_MSG_WARN([*** You don't have wordexp, glob will be used instead ***])])
 
+AC_PATH_PROG(GTK_UPDATE_ICON_CACHE, gtk-update-icon-cache)
+if test -z "$GTK_UPDATE_ICON_CACHE"; then
+    AC_MSG_ERROR([Could not find gtk-update-icon-cache])
+fi
+
 dnl scrollkeeper checks 
 AC_ARG_ENABLE([scrollkeeper],
        [AC_HELP_STRING([--disable-scrollkeeper],
diff --git a/pixmaps/Makefile.am b/pixmaps/Makefile.am
index e3a1688..4f0d7fc 100644
--- a/pixmaps/Makefile.am
+++ b/pixmaps/Makefile.am
@@ -7,3 +7,6 @@ image_DATA = \
        genius-graph.png
 EXTRA_DIST = \
        $(image_DATA)
+
+install-data-hook:
+       $(GTK_UPDATE_ICON_CACHE) -q $(datadir)/icons/hicolor


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