Shrunk down tab buttons, fixed selected text highlight, added hover and inactive adjuster button states, removed FileBrowser frame's padding which fixes bug #2948 and bug #2949

This commit is contained in:
Beep6581
2015-11-21 12:03:05 +01:00
parent 7c7f3cf1d0
commit d8ad81c85c
2 changed files with 23 additions and 5 deletions

View File

@@ -56,6 +56,7 @@ FileCatalog::FileCatalog (CoarsePanel* cp, ToolBar* tb, FilePanel* filepanel) :
// construct and initialize thumbnail browsers
fileBrowser = Gtk::manage( new FileBrowser() );
fileBrowser->get_style_context()->add_class ("filebrowser");
fileBrowser->setFileBrowserListener (this);
fileBrowser->setArrangement (ThumbBrowserBase::TB_Vertical);
fileBrowser->show ();
@@ -399,6 +400,7 @@ FileCatalog::FileCatalog (CoarsePanel* cp, ToolBar* tb, FilePanel* filepanel) :
hBox = Gtk::manage( new Gtk::HBox () );
hBox->show ();
hBox->pack_end (*fileBrowser);
hBox->get_style_context()->add_class ("filmstripPanel");
fileBrowser->applyFilter (getFilter()); // warning: can call this only after all objects used in getFilter (e.g. Query) are instantiated
//printf("FileCatalog::FileCatalog fileBrowser->applyFilter (getFilter())\n");
pack_start (*hBox);