From: Jon A. Cruz Date: Thu, 17 Jun 2010 05:58:19 +0000 (-0700) Subject: Fix for show/hide. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0d4337dc05c4b29b4c3e260426420a24a5d58d20;p=inkscape.git Fix for show/hide. --- 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);