aboutsummaryrefslogtreecommitdiff
path: root/src/common/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/helper.c')
-rw-r--r--src/common/helper.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/helper.c b/src/common/helper.c
index ee63c00d..4db79cf2 100644
--- a/src/common/helper.c
+++ b/src/common/helper.c
@@ -528,6 +528,7 @@ GNUNET_GTK_display_daemon_status (GNUNET_GTK_STATUS status,
528 char *finalPath; 528 char *finalPath;
529 char *instDir; 529 char *instDir;
530 char *dataDir; 530 char *dataDir;
531 char *absPath;
531 532
532 trayIcon = GNUNET_GTK_get_trayIcon (); 533 trayIcon = GNUNET_GTK_get_trayIcon ();
533 534
@@ -551,7 +552,9 @@ GNUNET_GTK_display_daemon_status (GNUNET_GTK_STATUS status,
551 gtk_icon_set_add_source (iconSet, iconSource); 552 gtk_icon_set_add_source (iconSet, iconSource);
552 iconPath = g_build_filename (instDir, "..", "gnunet-gtk", 553 iconPath = g_build_filename (instDir, "..", "gnunet-gtk",
553 "gnunet-gtk-status-connected.png", NULL); 554 "gnunet-gtk-status-connected.png", NULL);
554 gtk_icon_source_set_filename (iconSource, iconPath); 555 absPath = GNUNET_expand_file_name(NULL, iconPath);
556 gtk_icon_source_set_filename (iconSource, absPath);
557 GNUNET_free(absPath);
555 g_free (iconPath); 558 g_free (iconPath);
556 gtk_icon_source_set_size_wildcarded (iconSource, FALSE); 559 gtk_icon_source_set_size_wildcarded (iconSource, FALSE);
557 gtk_icon_set_add_source (iconSet, iconSource); 560 gtk_icon_set_add_source (iconSet, iconSource);