Lines Matching refs:Prefs
152 function Prefs() { }
153 Prefs.prototype = { };
155 Prefs._RefreshRate = 'refresh_rate';
157 Prefs._FilterMode = 'filter';
158 Prefs._FilterAll = 'all';
159 Prefs._FilterActive = 'active';
160 Prefs._FilterSeeding = 'seeding';
161 Prefs._FilterDownloading = 'downloading';
162 Prefs._FilterPaused = 'paused';
163 Prefs._FilterFinished = 'finished';
165 Prefs._SortDirection = 'sort_direction';
166 Prefs._SortAscending = 'ascending';
167 Prefs._SortDescending = 'descending';
169 Prefs._SortMethod = 'sort_method';
170 Prefs._SortByAge = 'age';
171 Prefs._SortByActivity = 'activity';
172 Prefs._SortByName = 'name';
173 Prefs._SortByQueue = 'queue_order';
174 Prefs._SortBySize = 'size';
175 Prefs._SortByProgress = 'percent_completed';
176 Prefs._SortByRatio = 'ratio';
177 Prefs._SortByState = 'state';
179 Prefs._CompactDisplayState= 'compact_display_state';
181 Prefs._Defaults =
194 Prefs.setValue = function(key, val)
196 if (!(key in Prefs._Defaults))
211 Prefs.getValue = function(key, fallback)
215 if (!(key in Prefs._Defaults))
238 Prefs.getClutchPrefs = function(o)
242 for (var key in Prefs._Defaults)
243 o[key] = Prefs.getValue(key, Prefs._Defaults[key]);