diff options
-rw-r--r-- | shell/ChangeLog | 7 | ||||
-rw-r--r-- | shell/e-shell-utils.c | 11 |
2 files changed, 10 insertions, 8 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 1f18ddf749..d09a3cff3d 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,10 @@ +2001-05-04 Ettore Perazzoli <ettore@ximian.com> + + * e-shell-utils.c (get_icon_path): Don't use + `gnome_pixmap_file()', which is broken as it looks in the current + working directory first. Instead, if the path is not absolute, + just look up the file in the `EVOLUTION_IMAGES' directory. + 2001-05-03 Ettore Perazzoli <ettore@ximian.com> * glade/e-active-connection-dialog.c: Change the GtkCList mode to diff --git a/shell/e-shell-utils.c b/shell/e-shell-utils.c index 0d7119b970..e0b12f42f8 100644 --- a/shell/e-shell-utils.c +++ b/shell/e-shell-utils.c @@ -40,15 +40,10 @@ get_icon_path (const char *icon_name) { char *icon_path; - if (g_path_is_absolute (icon_name)) { + if (g_path_is_absolute (icon_name)) icon_path = g_strdup (icon_name); - } else { - icon_path = gnome_pixmap_file (icon_name); - - if (icon_path == NULL) - icon_path = g_concat_dir_and_file (EVOLUTION_IMAGES, - icon_name); - } + else + icon_path = g_concat_dir_and_file (EVOLUTION_IMAGES, icon_name); if (g_file_exists (icon_path)) { return icon_path; |