From d1624f9ed2c5197e7302904ab69996ba897b9ce8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 31 Mar 2010 01:11:48 +0000 Subject: Take away the Remove option from the region list, and add Show to re-show hidden regions. git-svn-id: svn://localhost/ardour2/branches/3.0@6814 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_regions.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour/editor_regions.h') diff --git a/gtk2_ardour/editor_regions.h b/gtk2_ardour/editor_regions.h index 54f891950f..c9d5ddf6f5 100644 --- a/gtk2_ardour/editor_regions.h +++ b/gtk2_ardour/editor_regions.h @@ -39,7 +39,6 @@ public: void reset_sort_direction (bool); void reset_sort_type (Editing::RegionListSortType, bool); void set_selected (RegionSelection &); - void remove_region (); void selection_mapover (sigc::slot >); boost::shared_ptr get_dragged_region (); boost::shared_ptr get_single_selection (); @@ -112,9 +111,7 @@ private: void name_edit (const Glib::ustring&, const Glib::ustring&); bool key_press (GdkEventKey *); - bool key_release (GdkEventKey *); bool button_press (GdkEventButton *); - bool button_release (GdkEventButton *); void build_menu (); void show_context_menu (int button, int time); @@ -138,6 +135,8 @@ private: Gtk::Frame _frame; Gtkmm2ext::DnDTreeView > _display; Glib::RefPtr _model; + Glib::RefPtr _hide_action; ///< the action for our Hide menu option + Glib::RefPtr _show_action; ///< the action for our Show menu option Glib::RefPtr _toggle_full_action; Glib::RefPtr _toggle_show_auto_regions_action; bool _show_automatic_regions; -- cgit v1.2.3