From 9291b8082b1d557a54414d10ecf11f3a1a63b27f Mon Sep 17 00:00:00 2001 From: eidheim Date: Wed, 9 Sep 2015 13:45:44 +0200 Subject: [PATCH] Tabs are now reordable, and removed resize symbol that overlapped status field on Debian at least. --- src/notebook.cc | 1 + src/window.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/src/notebook.cc b/src/notebook.cc index 7f472b5..dbac5fa 100644 --- a/src/notebook.cc +++ b/src/notebook.cc @@ -83,6 +83,7 @@ void Notebook::open(const boost::filesystem::path &file_path) { std::string title=file_path.filename().string(); append_page(*hboxes.back(), title); + set_tab_reorderable(*hboxes.back(), true); show_all_children(); set_current_page(size()-1); set_focus_child(*source_views.back()); diff --git a/src/window.cc b/src/window.cc index 3b09318..397b243 100644 --- a/src/window.cc +++ b/src/window.cc @@ -36,6 +36,7 @@ Window::Window() : box(Gtk::ORIENTATION_VERTICAL), notebook(directories), compil DEBUG("start"); set_title("juCi++"); set_default_size(600, 400); + set_has_resize_grip(false); set_events(Gdk::POINTER_MOTION_MASK|Gdk::FOCUS_CHANGE_MASK|Gdk::SCROLL_MASK); add(box);