Browse Source

Tabs are now reordable, and removed resize symbol that overlapped status field on Debian at least.

merge-requests/365/head
eidheim 10 years ago
parent
commit
9291b8082b
  1. 1
      src/notebook.cc
  2. 1
      src/window.cc

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

1
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);

Loading…
Cancel
Save