Author: andar

Revision: 5424

Log:
        Make the cache refresh button actually work

Diff:
Modified: trunk/deluge/ui/gtkui/preferences.py
===================================================================
--- trunk/deluge/ui/gtkui/preferences.py        2009-06-27 11:36:34 UTC (rev 
5423)
+++ trunk/deluge/ui/gtkui/preferences.py        2009-06-27 22:13:50 UTC (rev 
5424)
@@ -103,7 +103,8 @@
             "on_test_port_clicked": self.on_test_port_clicked,
             "on_button_plugin_install_clicked": 
self._on_button_plugin_install_clicked,
             "on_button_rescan_plugins_clicked": 
self._on_button_rescan_plugins_clicked,
-            "on_button_find_plugins_clicked": 
self._on_button_find_plugins_clicked
+            "on_button_find_plugins_clicked": 
self._on_button_find_plugins_clicked,
+            "on_button_cache_refresh_clicked": 
self._on_button_cache_refresh_clicked
         })
 
         # These get updated by requests done to the core
@@ -778,7 +779,7 @@
 
             widget.set_text(value)
 
-    def on_button_cache_refresh_clicked(self, widget):
+    def _on_button_cache_refresh_clicked(self, widget):
         def on_get_cache_status(status):
             self.cache_status = status
             self.__update_cache_status()



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to