From: dooglus Date: Wed, 26 Nov 2008 19:21:51 +0000 (+0000) Subject: Commented info() calls for debugging actions. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c5f8e01a8e9f492833f05d882f701bb8f34673d5;p=synfig.git Commented info() calls for debugging actions. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2287 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/instance.cpp b/synfig-studio/trunk/src/gtkmm/instance.cpp index 0e2ed36..227d84e 100644 --- a/synfig-studio/trunk/src/gtkmm/instance.cpp +++ b/synfig-studio/trunk/src/gtkmm/instance.cpp @@ -946,6 +946,9 @@ Instance::add_actions_to_menu(Gtk::Menu *menu, const synfigapp::Action::ParamLis void Instance::process_action(synfig::String name, synfigapp::Action::ParamList param_list) { + //// debug actions + // synfig::info("%s:%d process_action: '%s'", __FILE__, __LINE__, name.c_str()); + assert(synfigapp::Action::book().count(name)); synfigapp::Action::BookEntry entry(synfigapp::Action::book().find(name)->second); diff --git a/synfig-studio/trunk/src/synfigapp/action.cpp b/synfig-studio/trunk/src/synfigapp/action.cpp index 01faded..7f9e347 100644 --- a/synfig-studio/trunk/src/synfigapp/action.cpp +++ b/synfig-studio/trunk/src/synfigapp/action.cpp @@ -382,10 +382,10 @@ Super::perform() prepare(); ActionList::const_iterator iter; - //synfig::info("%s:%d actions...", __FILE__, __LINE__); for(iter=action_list_.begin();iter!=action_list_.end();++iter) { - //synfig::info("%s:%d action: '%s'", __FILE__, __LINE__, (*iter)->get_name().c_str()); + //// debug actions + // synfig::info("%s:%d action: '%s'", __FILE__, __LINE__, (*iter)->get_name().c_str()); try { try