From 196b2c36be18cf43d3b36116b89ffbe3dd9f2728 Mon Sep 17 00:00:00 2001 From: lado Date: Wed, 25 Jan 2012 00:26:45 +0100 Subject: maxRecentChannels --- vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java b/vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java index 640060f..3a788b6 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java @@ -77,8 +77,15 @@ public class Preferences { * Show TMDb button in epg details */ private boolean showTmdbButton = false; + + + private int maxRecentChannels = 10; + public int getMaxRecentChannels() { + return maxRecentChannels; + } + public boolean isShowTmdbButton() { return showTmdbButton; } @@ -486,6 +493,8 @@ public class Preferences { prefs.imdbUrl = getString(context, R.string.qui_imdb_url_key, "akas.imdb.com"); + prefs.maxRecentChannels = getInt(context, R.string.gui_max_recent_channels_key, 10); + thePrefs = prefs; } -- cgit v1.2.3