gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r12884 - in gnunet/src: include util


From: gnunet
Subject: [GNUnet-SVN] r12884 - in gnunet/src: include util
Date: Tue, 7 Sep 2010 14:33:57 +0200

Author: grothoff
Date: 2010-09-07 14:33:57 +0200 (Tue, 07 Sep 2010)
New Revision: 12884

Modified:
   gnunet/src/include/gnunet_os_lib.h
   gnunet/src/util/os_installation.c
Log:
icondir

Modified: gnunet/src/include/gnunet_os_lib.h
===================================================================
--- gnunet/src/include/gnunet_os_lib.h  2010-09-07 12:13:21 UTC (rev 12883)
+++ gnunet/src/include/gnunet_os_lib.h  2010-09-07 12:33:57 UTC (rev 12884)
@@ -80,7 +80,12 @@
    * the one of the overall GNUnet installation (in case they
    * are different).
    */
-  GNUNET_OS_IPK_SELF_PREFIX
+  GNUNET_OS_IPK_SELF_PREFIX,
+
+  /**
+   * Return the prefix of the path with application icons.
+   */
+  GNUNET_OS_IPK_ICONDIR
 };
 
 

Modified: gnunet/src/util/os_installation.c
===================================================================
--- gnunet/src/util/os_installation.c   2010-09-07 12:13:21 UTC (rev 12883)
+++ gnunet/src/util/os_installation.c   2010-09-07 12:33:57 UTC (rev 12884)
@@ -416,6 +416,10 @@
         DIR_SEPARATOR_STR "share" DIR_SEPARATOR_STR "locale"
         DIR_SEPARATOR_STR;
       break;
+    case GNUNET_OS_IPK_ICONDIR:
+      dirname =
+        DIR_SEPARATOR_STR "share" DIR_SEPARATOR_STR "icons" DIR_SEPARATOR_STR;
+      break;
     default:
       GNUNET_free (execpath);
       return NULL;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]