From 067fb6a3900061303719569657d8af7e5f2c07fa Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Mon, 16 Jun 2003 14:38:00 +0000 Subject: [PATCH] don't call file_dialog_update_name() here. Fixes bug #112273. 2003-06-16 Sven Neumann * app/gui/file-open-dialog.c (file_open_dialog_set_type): don't call file_dialog_update_name() here. Fixes bug #112273. --- ChangeLog | 5 +++++ app/dialogs/file-open-dialog.c | 3 +-- app/gui/file-open-dialog.c | 3 +-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index b811d0abb8..4c3e02c2e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-06-16 Sven Neumann + + * app/gui/file-open-dialog.c (file_open_dialog_set_type): don't + call file_dialog_update_name() here. Fixes bug #112273. + 2003-06-16 Michael Natterer * plug-ins/dbbrowser/dbbrowser_utils.c: minor cleanups. diff --git a/app/dialogs/file-open-dialog.c b/app/dialogs/file-open-dialog.c index 2518154d35..e10c4f4b6a 100644 --- a/app/dialogs/file-open-dialog.c +++ b/app/dialogs/file-open-dialog.c @@ -105,8 +105,7 @@ static PlugInProcDef *load_file_proc = NULL; void file_open_dialog_set_type (PlugInProcDef *proc) { - if (proc) - file_dialog_update_name (proc, GTK_FILE_SELECTION (fileload)); + /* Don't call file_dialog_update_name() here, see bug #112273. */ load_file_proc = proc; } diff --git a/app/gui/file-open-dialog.c b/app/gui/file-open-dialog.c index 2518154d35..e10c4f4b6a 100644 --- a/app/gui/file-open-dialog.c +++ b/app/gui/file-open-dialog.c @@ -105,8 +105,7 @@ static PlugInProcDef *load_file_proc = NULL; void file_open_dialog_set_type (PlugInProcDef *proc) { - if (proc) - file_dialog_update_name (proc, GTK_FILE_SELECTION (fileload)); + /* Don't call file_dialog_update_name() here, see bug #112273. */ load_file_proc = proc; }