X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdock_history.h;h=00154b2fd8780e0a356bc4c12122e3661c65eb2a;hb=990f7bb7694e0472ed6ad165e0724864539071cd;hp=ba7c3875e25fb95bb8713539d5232d528d6f0700;hpb=c34eaa5441242b3e9a7b7645e9ee4983d14eae85;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dock_history.h b/synfig-studio/trunk/src/gtkmm/dock_history.h index ba7c387..00154b2 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_history.h +++ b/synfig-studio/trunk/src/gtkmm/dock_history.h @@ -1,8 +1,8 @@ /* === S Y N F I G ========================================================= */ -/*! \file dialog_history.h +/*! \file dock_history.h ** \brief Template Header ** -** $Id: dock_history.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -47,6 +47,11 @@ class Dock_History : public Dock_CanvasSpecific Gtk::TreeView *action_tree; etl::loose_handle selected_instance; + + sigc::connection on_undo_tree_changed_connection; + + void on_undo_tree_changed(); + void set_selected_instance_(etl::handle x); @@ -64,6 +69,7 @@ public: void clear_undo(); void clear_redo(); + void clear_undo_and_redo(); bool on_action_event(GdkEvent *event); void on_action_toggle(const Glib::ustring& path);