[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7455 - gnunet-gtk/src/common
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7455 - gnunet-gtk/src/common |
Date: |
Sat, 19 Jul 2008 01:33:47 -0600 (MDT) |
Author: grothoff
Date: 2008-07-19 01:33:46 -0600 (Sat, 19 Jul 2008)
New Revision: 7455
Modified:
gnunet-gtk/src/common/helper.c
Log:
need absolute path
Modified: gnunet-gtk/src/common/helper.c
===================================================================
--- gnunet-gtk/src/common/helper.c 2008-07-19 07:33:21 UTC (rev 7454)
+++ gnunet-gtk/src/common/helper.c 2008-07-19 07:33:46 UTC (rev 7455)
@@ -528,6 +528,7 @@
char *finalPath;
char *instDir;
char *dataDir;
+ char *absPath;
trayIcon = GNUNET_GTK_get_trayIcon ();
@@ -551,7 +552,9 @@
gtk_icon_set_add_source (iconSet, iconSource);
iconPath = g_build_filename (instDir, "..", "gnunet-gtk",
"gnunet-gtk-status-connected.png", NULL);
- gtk_icon_source_set_filename (iconSource, iconPath);
+ absPath = GNUNET_expand_file_name(NULL, iconPath);
+ gtk_icon_source_set_filename (iconSource, absPath);
+ GNUNET_free(absPath);
g_free (iconPath);
gtk_icon_source_set_size_wildcarded (iconSource, FALSE);
gtk_icon_set_add_source (iconSet, iconSource);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7455 - gnunet-gtk/src/common,
gnunet <=