[gnumeric] GUI: Be proactive about a missing-name problem.



commit 15a9af2cadfb143300cd2096994a7d61f2c9c3b0
Author: Morten Welinder <terra gnome org>
Date:   Thu Feb 24 10:45:10 2011 -0500

    GUI: Be proactive about a missing-name problem.

 src/wbc-gtk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index 9ce49b1..f66aa56 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -4025,7 +4025,7 @@ set_toolbar_position (GtkToolbar *tb, GtkPositionType pos, WBCGtk *gtk)
 
 	g_object_unref (box);
 
-	if (zone)
+	if (zone && name)
 		gnm_conf_set_toolbar_position (name, pos);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]