X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdock_history.h;h=00154b2fd8780e0a356bc4c12122e3661c65eb2a;hb=f83c48489a30958935cdab2e9f5b7c34bd72b390;hp=aceb51915f527ce4b9bd0772f12eae36e49d4e74;hpb=837b63e9fb829d66d43f4f169861f8979f76820d;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dock_history.h b/synfig-studio/trunk/src/gtkmm/dock_history.h index aceb519..00154b2 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_history.h +++ b/synfig-studio/trunk/src/gtkmm/dock_history.h @@ -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);