From 3997c235bec59e2bac95e46c629b14b945cccba0 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sun, 6 Jan 2008 20:00:13 +0000 Subject: [PATCH] --- src/plugins.py | 6 ++++++ src/pref.py | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/plugins.py b/src/plugins.py index 25db8f269..6b5abf2e5 100644 --- a/src/plugins.py +++ b/src/plugins.py @@ -103,6 +103,12 @@ class PluginManager: def configure_plugin(self, name, window): self.enabled_plugins[name].configure(window) + def launch_site(self, link): + self.enabled_plugins['Anonymizing Browser'].launch_site(link) + + def show_all(self): + self.enabled_plugins['Anonymizing Browser'].window.show_all() + def get_plugin_tray_messages(self): tray_message = "" for name in self.enabled_plugins.keys(): diff --git a/src/pref.py b/src/pref.py index 0086cf348..73c4e7ffb 100644 --- a/src/pref.py +++ b/src/pref.py @@ -41,14 +41,12 @@ import xdg if common.windows_check(): DEFAULT_PREFS = { - "enabled_plugins" : "Torrent Files:Torrent Peers:Torrent Notification", + "enabled_plugins" : "Anonymizing Browser:Torrent Files:Torrent Peers:Torrent Peers:Torrent Notification", "file_manager" : common.FileManager.xdg, "open_folder_stock" : True, "autoload" : False, "open_folder_location": "", "send_info" : True, - "use_internal" : True, - "show_search" : True, "auto_end_seeding" : False, "auto_seed_ratio" : 0, "close_to_tray" : False, @@ -166,8 +164,6 @@ else: "auto_end_seeding" : False, "auto_seed_ratio" : 0, "close_to_tray" : False, - "use_internal" : True, - "show_search" : True, "enable_files_dialog" : False, "enable_multi_only" : True, "queue_above_completed" : False,