diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-07-08 13:22:29 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:31:21 -0500 |
commit | 03b354a99eb2ca03dbec14df38fac97e7821095c (patch) | |
tree | d63773fb34f7505224b8463536448834a1c5c7ba | |
parent | a5150d500d44ebda460e10c84daeed206345bb24 (diff) |
make tabs reorderable
-rw-r--r-- | libs/gtkmm2ext/tabbable.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/tabbable.cc b/libs/gtkmm2ext/tabbable.cc index e4c86e8384..9c3b4694e1 100644 --- a/libs/gtkmm2ext/tabbable.cc +++ b/libs/gtkmm2ext/tabbable.cc @@ -47,6 +47,7 @@ Tabbable::add_to_notebook (Notebook& notebook, const string& tab_title, int posi { notebook.insert_page (_contents, tab_title, position, false); notebook.set_tab_detachable (_contents); + notebook.set_tab_reorderable (_contents); _parent_notebook = ¬ebook; _tab_title = tab_title; @@ -169,6 +170,7 @@ Tabbable::delete_event_handler (GdkEventAny *ev) _parent_notebook->insert_page (_contents, _tab_title, _notebook_position); _parent_notebook->set_tab_detachable (_contents); + _parent_notebook->set_tab_reorderable (_contents); _parent_notebook->set_current_page (_parent_notebook->page_num (_contents)); } |