Applied a patch offered by Zach Beane to close bug #2145.

This commit is contained in:
Kelly Martin 1999-09-11 17:26:05 +00:00
parent d866698eb3
commit 9cd019f139
5 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
1999-09-11 Kelly Lynn Martin <kelly@poverty.bloomington.in.us>
* app/menus.c (menus_last_opened_cmd_callback): Applied patch
provided by Zach Beane to close bug #2145.
Sat Sep 11 17:46:37 BST 1999 Andy Thomas <alt@gimp.org>
* app/palette.c

View File

@ -610,7 +610,7 @@ menus_last_opened_cmd_callback (GtkWidget *widget,
raw_filename = ((GString *) g_slist_nth_data (last_opened_raw_filenames, num))->str;
filename = g_basename (raw_filename);
if (!file_open (raw_filename, filename))
if (!file_open (raw_filename, raw_filename))
g_message (_("Error opening file: %s\n"), raw_filename);
}

View File

@ -610,7 +610,7 @@ menus_last_opened_cmd_callback (GtkWidget *widget,
raw_filename = ((GString *) g_slist_nth_data (last_opened_raw_filenames, num))->str;
filename = g_basename (raw_filename);
if (!file_open (raw_filename, filename))
if (!file_open (raw_filename, raw_filename))
g_message (_("Error opening file: %s\n"), raw_filename);
}

View File

@ -610,7 +610,7 @@ menus_last_opened_cmd_callback (GtkWidget *widget,
raw_filename = ((GString *) g_slist_nth_data (last_opened_raw_filenames, num))->str;
filename = g_basename (raw_filename);
if (!file_open (raw_filename, filename))
if (!file_open (raw_filename, raw_filename))
g_message (_("Error opening file: %s\n"), raw_filename);
}

View File

@ -610,7 +610,7 @@ menus_last_opened_cmd_callback (GtkWidget *widget,
raw_filename = ((GString *) g_slist_nth_data (last_opened_raw_filenames, num))->str;
filename = g_basename (raw_filename);
if (!file_open (raw_filename, filename))
if (!file_open (raw_filename, raw_filename))
g_message (_("Error opening file: %s\n"), raw_filename);
}