Enhancement: option for a square detail window, fix for filebrowser ribbon height, small cleanup (issue 918)
This commit is contained in:
@@ -70,7 +70,7 @@ FileCatalog::FileCatalog (CoarsePanel* cp, ToolBar* tb, FilePanel* filepanel) :
|
||||
trashButtonBox->show ();
|
||||
|
||||
//initialize hbToolBar1
|
||||
Gtk::HBox* hbToolBar1 = Gtk::manage(new Gtk::HBox ());
|
||||
hbToolBar1 = Gtk::manage(new Gtk::HBox ());
|
||||
|
||||
//setup BrowsePath
|
||||
iRefreshWhite = new Gtk::Image(argv0+"/images/refresh_white.png");
|
||||
@@ -654,6 +654,9 @@ void FileCatalog::refreshThumbImages () {
|
||||
|
||||
void FileCatalog::refreshHeight () {
|
||||
int newHeight=fileBrowser->getEffectiveHeight() + buttonBar->get_height();
|
||||
if (!options.FileBrowserToolbarSingleRow) {
|
||||
newHeight += hbToolBar1->get_height();
|
||||
}
|
||||
set_size_request(0, newHeight);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user