summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2012-01-25 00:26:45 +0100
committerlado <herrlado@gmail.com>2012-01-25 00:26:45 +0100
commit196b2c36be18cf43d3b36116b89ffbe3dd9f2728 (patch)
tree5dbee16b82d7dec52f856c3ec9ae0eff7371af16
parentb20a188b7e8eef4717603d7788df1941f5637a1c (diff)
downloadvdr-manager-196b2c36be18cf43d3b36116b89ffbe3dd9f2728.tar.gz
vdr-manager-196b2c36be18cf43d3b36116b89ffbe3dd9f2728.tar.bz2
maxRecentChannels
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java9
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;
}