diff --git a/uppsrc/CtrlLib/ColumnList.h b/uppsrc/CtrlLib/ColumnList.h index 8b92c27f0..e1105731c 100644 --- a/uppsrc/CtrlLib/ColumnList.h +++ b/uppsrc/CtrlLib/ColumnList.h @@ -198,6 +198,8 @@ public: bool IsMultiSelect() const { return multi; } ColumnList& PopUpEx(bool b = true) { popupex = b; return *this; } ColumnList& NoPopUpEx() { return PopUpEx(false); } + ColumnList& AutoHideSb(bool b = true) { sb.AutoHide(b); return *this; } + ColumnList& NoAutoHideSb() { return AutoHideSb(false); } ColumnList& SetScrollBarStyle(const ScrollBar::Style& s) { sb.SetStyle(s); return *this; } diff --git a/uppsrc/CtrlLib/FileSel.cpp b/uppsrc/CtrlLib/FileSel.cpp index f2cd68f9b..8d3885563 100644 --- a/uppsrc/CtrlLib/FileSel.cpp +++ b/uppsrc/CtrlLib/FileSel.cpp @@ -1508,7 +1508,7 @@ FileSel& FileSel::AddStandardPlaces() AddPlace(GetDesktopFolder(), t_("Desktop")); AddPlace(GetMusicFolder(), t_("Music")); AddPlace(GetPicturesFolder(), t_("Pictures")); - AddPlace(GetVideoFolder(), t_("Video")); + AddPlace(GetVideoFolder(), t_("Videos")); AddPlace(GetDocumentsFolder(), t_("Documents")); AddPlace(GetDownloadFolder(), t_("Downloads")); AddPlaceSeparator(); @@ -1654,6 +1654,8 @@ FileSel::FileSel() { #endif AddStandardPlaces(); + + list.AutoHideSb(); } FileSel::~FileSel() {}