X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fhistorytreestore.cpp;h=1f0eb9c0cee2944b531c00b5740eff9a232a044e;hb=2d0c3bfcda36f4bd3e94630d92435bb1b4492f45;hp=b9573c82eba1525f99378747134fe15e82f6c45b;hpb=1745915d4d6e1100b381a64d4cfd595165dbf037;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/historytreestore.cpp b/synfig-studio/trunk/src/gtkmm/historytreestore.cpp index b9573c8..1f0eb9c 100644 --- a/synfig-studio/trunk/src/gtkmm/historytreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/historytreestore.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -77,7 +78,8 @@ HistoryTreeStore::HistoryTreeStore(etl::loose_handle instance_ HistoryTreeStore::~HistoryTreeStore() { - synfig::info("HistoryTreeStore::~HistoryTreeStore(): Deleted"); + if (getenv("SYNFIG_DEBUG_DESTRUCTORS")) + synfig::info("HistoryTreeStore::~HistoryTreeStore(): Deleted"); } Glib::RefPtr @@ -102,6 +104,8 @@ HistoryTreeStore::rebuild() { insert_action(*(append()),*iter,true,false,true); } + + signal_undo_tree_changed()(); } void @@ -197,6 +201,8 @@ HistoryTreeStore::on_new_action(etl::handle action) row=*insert(iter); insert_action(row,action); + + signal_undo_tree_changed()(); } void