From 942d9cd2377a01200a4bf8a0a2dba0d1588c0317 Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Sun, 14 May 2000 23:16:21 +0000 Subject: [PATCH] More tweaks. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2319 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome/file-history.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gnome/file-history.c b/src/gnome/file-history.c index 9e55549210..d9f595f239 100644 --- a/src/gnome/file-history.c +++ b/src/gnome/file-history.c @@ -216,7 +216,7 @@ gnc_history_update_menu() (menu+i)->hint = NULL; (menu+i)->moreinfo = (gpointer)__gnc_history_file_cb; - (menu+i)->user_data = (char *)g_slist_nth_data(history_list, i-1); + (menu+i)->user_data = file; (menu+i)->unused_data = NULL; (menu+i)->pixmap_type = 0; (menu+i)->pixmap_info = NULL; @@ -224,7 +224,7 @@ gnc_history_update_menu() } (menu+i)->type = GNOME_APP_UI_ENDOFINFO; - path = g_strdup_printf("%s/%s", _("_File"), IMPORT_QIF_E_STR_N); + path = g_strdup_printf("%s%s", GNOME_MENU_FILE_PATH, IMPORT_QIF_E_STR_N); gnome_app_insert_menus(GNOME_APP(app), path, menu); num_menu_entries = n; g_free(path);