diff options
author | lado <herrlado@gmail.com> | 2012-01-25 00:26:45 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2012-01-25 00:26:45 +0100 |
commit | 196b2c36be18cf43d3b36116b89ffbe3dd9f2728 (patch) | |
tree | 5dbee16b82d7dec52f856c3ec9ae0eff7371af16 /vdrmanager | |
parent | b20a188b7e8eef4717603d7788df1941f5637a1c (diff) | |
download | vdr-manager-196b2c36be18cf43d3b36116b89ffbe3dd9f2728.tar.gz vdr-manager-196b2c36be18cf43d3b36116b89ffbe3dd9f2728.tar.bz2 |
maxRecentChannels
Diffstat (limited to 'vdrmanager')
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java | 9 |
1 files changed, 9 insertions, 0 deletions
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; } |