remove scrollbars for dirbrowser when unneeded

This commit is contained in:
Andrey Skvortsov
2010-10-07 22:34:24 -07:00
parent 988cc61cb2
commit 35a35db265

View File

@@ -40,7 +40,7 @@ DirBrowser::DirBrowser () {
scrolledwindow4->set_flags(Gtk::CAN_FOCUS);
scrolledwindow4->set_border_width(2);
scrolledwindow4->set_shadow_type(Gtk::SHADOW_NONE);
scrolledwindow4->set_policy(Gtk::POLICY_ALWAYS, Gtk::POLICY_ALWAYS);
scrolledwindow4->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
scrolledwindow4->property_window_placement().set_value(Gtk::CORNER_TOP_LEFT);
scrolledwindow4->add(*dirtree);