summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_regions.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-03-31 01:11:48 +0000
committerCarl Hetherington <carl@carlh.net>2010-03-31 01:11:48 +0000
commitd1624f9ed2c5197e7302904ab69996ba897b9ce8 (patch)
tree567fdd80081efac1cae9b092bdc7c989fe027336 /gtk2_ardour/editor_regions.h
parentf7a943403485c63032362c8f29cdc4abb43e18b4 (diff)
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
Diffstat (limited to 'gtk2_ardour/editor_regions.h')
-rw-r--r--gtk2_ardour/editor_regions.h5
1 files changed, 2 insertions, 3 deletions
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<void,boost::shared_ptr<ARDOUR::Region> >);
boost::shared_ptr<ARDOUR::Region> get_dragged_region ();
boost::shared_ptr<ARDOUR::Region> 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<boost::shared_ptr<ARDOUR::Region> > _display;
Glib::RefPtr<Gtk::TreeStore> _model;
+ Glib::RefPtr<Gtk::Action> _hide_action; ///< the action for our Hide menu option
+ Glib::RefPtr<Gtk::Action> _show_action; ///< the action for our Show menu option
Glib::RefPtr<Gtk::ToggleAction> _toggle_full_action;
Glib::RefPtr<Gtk::ToggleAction> _toggle_show_auto_regions_action;
bool _show_automatic_regions;