Author: andar
Revision: 5471
Log:
Fix setting cache options
Diff:
Modified: trunk/deluge/ui/gtkui/preferences.py
===================================================================
--- trunk/deluge/ui/gtkui/preferences.py 2009-07-07 06:51:47 UTC (rev
5470)
+++ trunk/deluge/ui/gtkui/preferences.py 2009-07-08 07:10:15 UTC (rev
5471)
@@ -734,6 +734,12 @@
new_core_config["seed_time_limit"] = \
self.glade.get_widget("spin_seed_time_limit").get_value()
+ ## Cache tab ##
+ new_core_config["cache_size"] = \
+ self.glade.get_widget("spin_cache_size").get_value_as_int()
+ new_core_config["cache_expiry"] = \
+ self.glade.get_widget("spin_cache_expiry").get_value_as_int()
+
# Run plugin hook to apply preferences
component.get("PluginManager").run_on_apply_prefs()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---