From d115c65971ebff265d1d25c98ea3d6c6b2e91cc9 Mon Sep 17 00:00:00 2001 From: Mathieu Comandon Date: Fri, 1 Feb 2019 07:20:05 -0800 Subject: [PATCH] Add description label for the cache --- lutris/gui/config/common.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lutris/gui/config/common.py b/lutris/gui/config/common.py index bf81c316d..80d4297e6 100644 --- a/lutris/gui/config/common.py +++ b/lutris/gui/config/common.py @@ -76,6 +76,16 @@ class GameDialogCommon: def _build_prefs_tab(self): prefs_box = VBox() prefs_box.pack_start(self._get_game_cache_box(), False, False, 6) + + cache_help_label = Gtk.Label(visible=True) + cache_help_label.set_size_request(400, -1) + cache_help_label.set_markup( + "If provided, this location will be used by installers to cache " + "downloaded files locally for future re-use. \nIf left empty, the " + "installer files are discarded after the install completion." + ) + prefs_box.pack_start(cache_help_label, False, False, 6) + info_sw = self.build_scrolled_window(prefs_box) self._add_notebook_tab(info_sw, "Lutris preferences")