From 3b344f0ee660b9855f6d76fd231f5e7e9f2d4a99 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 10 Jun 2007 07:57:23 +0000 Subject: [PATCH] this fixes the torrentsearch plugin --- plugins/TorrentSearch/plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/TorrentSearch/plugin.py b/plugins/TorrentSearch/plugin.py index 7a3be8a1c..489f405a6 100644 --- a/plugins/TorrentSearch/plugin.py +++ b/plugins/TorrentSearch/plugin.py @@ -32,7 +32,7 @@ class plugin_Search: ### when adding items to the toolbar self.se = '' self.toolbar = self.interface.wtree.get_widget("tb_right") - self.engines = pref.Preferences(self.conf_file) + self.engines = pref.Preferences(self.conf_file, False) self.search_entry = gtk.Entry() self.search_item = gtk.ToolItem() self.search_item.add(self.search_entry) @@ -58,7 +58,7 @@ class plugin_Search: self.menu.show_all() def unload(self): - self.engines.save_to_file(self.conf_file) + self.engines.save(self.conf_file) self.toolbar.remove(self.search_item) self.toolbar.remove(self.menu_button) @@ -102,7 +102,7 @@ class plugin_Search: while the_iter is not None: self.engines.set(model.get_value(the_iter, 0), model.get_value(the_iter, 1)) the_iter = model.iter_next(the_iter) - self.engines.save_to_file(self.conf_file) + self.engines.save(self.conf_file) self.populate_search_menu()