aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2004-06-21 21:55:38 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-06-21 21:55:38 +0800
commitcf6965aac2cada45acb8c8f3ab1538e1e803dd5b (patch)
tree45777b0aba3facd064520c9c33975884d6db5dcf /widgets/menus
parente96ec3440d802f242334977492aee5b3c2dafbde (diff)
downloadgsoc2013-evolution-cf6965aac2cada45acb8c8f3ab1538e1e803dd5b.tar.gz
gsoc2013-evolution-cf6965aac2cada45acb8c8f3ab1538e1e803dd5b.tar.zst
gsoc2013-evolution-cf6965aac2cada45acb8c8f3ab1538e1e803dd5b.zip
clone view before saving it to avoid problems with setting current_view_id
2004-06-21 Radek Doulik <rodo@ximian.com> * gal-view-instance-save-as-dialog.c (gal_view_instance_save_as_dialog_save): clone view before saving it to avoid problems with setting current_view_id Fixes #57354 svn path=/trunk/; revision=26437
Diffstat (limited to 'widgets/menus')
-rw-r--r--widgets/menus/gal-view-instance-save-as-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/menus/gal-view-instance-save-as-dialog.c b/widgets/menus/gal-view-instance-save-as-dialog.c
index ce76087553..b65d4acba2 100644
--- a/widgets/menus/gal-view-instance-save-as-dialog.c
+++ b/widgets/menus/gal-view-instance-save-as-dialog.c
@@ -280,6 +280,8 @@ gal_view_instance_save_as_dialog_save (GalViewInstanceSaveAsDialog *dialog)
const char *title;
int n;
const char *id = NULL;
+
+ view = gal_view_clone (view);
switch (dialog->toggle) {
case GAL_VIEW_INSTANCE_SAVE_AS_DIALOG_TOGGLE_REPLACE:
widget = glade_xml_get_widget(dialog->gui, "custom-replace");