From 6827099bbb61f51a5ba407985b80cbb10ac0a680 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 6 Apr 2001 19:44:07 +0000 Subject: [PATCH] * gscreen.c (tree_size_allocate): Don't call save_setup() if auto_save_setup is 0. --- gnome/ChangeLog | 3 +++ gnome/gscreen.c | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gnome/ChangeLog b/gnome/ChangeLog index c29da6b42..14cafb4c2 100644 --- a/gnome/ChangeLog +++ b/gnome/ChangeLog @@ -1,5 +1,8 @@ 2001-04-06 Pavel Roskin + * gscreen.c (tree_size_allocate): Don't call save_setup() if + auto_save_setup is 0. + * Makefile.in: Add dependencies between gmc and static libraries in the source tree. diff --git a/gnome/gscreen.c b/gnome/gscreen.c index a94f5e1e9..5ec14f8e1 100644 --- a/gnome/gscreen.c +++ b/gnome/gscreen.c @@ -2310,7 +2310,10 @@ tree_size_allocate (GtkWidget *widget, GtkAllocation *allocation, WPanel *panel) } else { tree_panel_visible = allocation->width; } - save_setup (); + + if (auto_save_setup) { + save_setup (); + } } void