From cf1744f779b38bdc3e5119ab831037ff3228a898 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 21:41:08 +0300 Subject: Add option to allow screensaver. (by default screensaver disabled) --- src/gui/setup_visual.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui') diff --git a/src/gui/setup_visual.cpp b/src/gui/setup_visual.cpp index a7d83b11d..7b35df3a1 100644 --- a/src/gui/setup_visual.cpp +++ b/src/gui/setup_visual.cpp @@ -111,6 +111,9 @@ Setup_Visual::Setup_Visual(const Widget2 *const widget) : "", "centerwindow", this, "centerwindowEvent"); #endif + new SetupItemCheckBox(_("Allow screensaver to run"), + "", "allowscreensaver", this, "allowscreensaverEvent"); + setDimension(gcn::Rectangle(0, 0, 550, 350)); } -- cgit v1.2.3-70-g09d2