From 0d4337dc05c4b29b4c3e260426420a24a5d58d20 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Wed, 16 Jun 2010 22:58:19 -0700 Subject: [PATCH] Fix for show/hide. --- src/interface.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/interface.cpp b/src/interface.cpp index 9e0866bc1..47563238a 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -678,10 +678,9 @@ checkitem_update(GtkWidget *widget, GdkEventExpose */*event*/, gpointer user_dat Glib::ustring pref_path = getLayoutPrefPath( view ); pref_path += pref; pref_path += "/state"; - pref_path += pref; Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - bool ison = prefs->getBool(pref_path + "/state", true); + bool ison = prefs->getBool(pref_path, true); g_signal_handlers_block_by_func(G_OBJECT(menuitem), (gpointer)(GCallback)checkitem_toggled, user_data); gtk_check_menu_item_set_active(menuitem, ison); -- 2.30.2