This commit is contained in:
parent
c6eb180e66
commit
3997c235be
|
@ -103,6 +103,12 @@ class PluginManager:
|
||||||
def configure_plugin(self, name, window):
|
def configure_plugin(self, name, window):
|
||||||
self.enabled_plugins[name].configure(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):
|
def get_plugin_tray_messages(self):
|
||||||
tray_message = ""
|
tray_message = ""
|
||||||
for name in self.enabled_plugins.keys():
|
for name in self.enabled_plugins.keys():
|
||||||
|
|
|
@ -41,14 +41,12 @@ import xdg
|
||||||
|
|
||||||
if common.windows_check():
|
if common.windows_check():
|
||||||
DEFAULT_PREFS = {
|
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,
|
"file_manager" : common.FileManager.xdg,
|
||||||
"open_folder_stock" : True,
|
"open_folder_stock" : True,
|
||||||
"autoload" : False,
|
"autoload" : False,
|
||||||
"open_folder_location": "",
|
"open_folder_location": "",
|
||||||
"send_info" : True,
|
"send_info" : True,
|
||||||
"use_internal" : True,
|
|
||||||
"show_search" : True,
|
|
||||||
"auto_end_seeding" : False,
|
"auto_end_seeding" : False,
|
||||||
"auto_seed_ratio" : 0,
|
"auto_seed_ratio" : 0,
|
||||||
"close_to_tray" : False,
|
"close_to_tray" : False,
|
||||||
|
@ -166,8 +164,6 @@ else:
|
||||||
"auto_end_seeding" : False,
|
"auto_end_seeding" : False,
|
||||||
"auto_seed_ratio" : 0,
|
"auto_seed_ratio" : 0,
|
||||||
"close_to_tray" : False,
|
"close_to_tray" : False,
|
||||||
"use_internal" : True,
|
|
||||||
"show_search" : True,
|
|
||||||
"enable_files_dialog" : False,
|
"enable_files_dialog" : False,
|
||||||
"enable_multi_only" : True,
|
"enable_multi_only" : True,
|
||||||
"queue_above_completed" : False,
|
"queue_above_completed" : False,
|
||||||
|
|
Loading…
Reference in New Issue