@ -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());
@ -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);