From 470d7544979a5af5b2ff753709ffb9864909824c Mon Sep 17 00:00:00 2001 From: Timur Bakeyev Date: Thu, 18 Mar 1999 12:09:37 +0000 Subject: [PATCH] Thu Mar 18 14:59:12 1999 Timur Bakeyev * gnome-open-dialog.c (read_directory): s/basename/x_basename/g --- gnome/ChangeLog | 4 ++++ gnome/gnome-open-dialog.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gnome/ChangeLog b/gnome/ChangeLog index 3698cf654..bfcf7516d 100644 --- a/gnome/ChangeLog +++ b/gnome/ChangeLog @@ -1,3 +1,7 @@ +Thu Mar 18 14:59:12 1999 Timur Bakeyev + + * gnome-open-dialog.c (read_directory): s/basename/x_basename/g + 1999-03-17 Jonathan Blandford * gnome-file-property-dialog.c (generate_icon_sel): I don't know diff --git a/gnome/gnome-open-dialog.c b/gnome/gnome-open-dialog.c index 432a68528..0ebcce140 100644 --- a/gnome/gnome-open-dialog.c +++ b/gnome/gnome-open-dialog.c @@ -116,8 +116,8 @@ strip_name_from_gde (GnomeDesktopEntry *gde, if (!fname) return (g_strdup (gde->name)); - if (strcmp (basename (gde->location), ".directory")) { - return g_strdup (basename(gde->location)); + if (strcmp (x_basename (gde->location), ".directory")) { + return g_strdup (x_basename(gde->location)); } ptr = strrchr (gde->location, '/'); @@ -152,7 +152,7 @@ insert_node_custom (GSList *order, temp_node = sorted_list->children; while (order) { - if (!strcmp ((gchar *) order->data, basename (name))) { + if (!strcmp ((gchar *) order->data, x_basename (name))) { if (temp_node) g_node_insert_before (sorted_list, temp_node, node); else