Move some confs around, add conf to toggle the drop-down menu.

This commit is contained in:
Nicolas Stepien 2012-06-24 23:42:41 +02:00
parent 4dec4bed20
commit faef152020
2 changed files with 31 additions and 23 deletions

View File

@ -86,9 +86,6 @@
'Keybinds': [true, 'Binds actions to keys'],
'Time Formatting': [true, 'Arbitrarily formatted timestamps, using your local time'],
'File Info Formatting': [true, 'Reformats the file information'],
'Report Link': [true, 'Add report links'],
'Delete Link': [true, 'Add delete links'],
'Archive Link': [true, 'Add archive links'],
'Comment Expansion': [true, 'Expand too long comments'],
'Thread Expansion': [true, 'View all replies'],
'Index Navigation': [true, 'Navigate to previous / next thread'],
@ -111,6 +108,12 @@
'Reveal Spoilers': [false, 'Replace spoiler thumbnails by the original thumbnail'],
'Expand From Current': [false, 'Expand images from current position to thread end.']
},
Menu: {
'Menu': [true, 'Add a drop-down menu in posts.'],
'Report Link': [true, 'Add a report link to the menu.'],
'Delete Link': [true, 'Add a delete link to the menu.'],
'Archive Link': [true, 'Add a archive link to the menu.']
},
Monitoring: {
'Thread Updater': [true, 'Update threads. Has more options in its own dialog.'],
'Unread Count': [true, 'Show unread post count in tab title'],
@ -4534,7 +4537,6 @@
if (Conf['Anonymize']) {
Anonymize.init();
}
Menu.init();
if (Conf['Time Formatting']) {
Time.init();
}
@ -4553,14 +4555,17 @@
if (Conf['Image Hover']) {
ImageHover.init();
}
if (Conf['Report Link']) {
ReportLink.init();
}
if (Conf['Delete Link']) {
DeleteLink.init();
}
if (Conf['Archive Link']) {
ArchiveLink.init();
if (Conf['Menu']) {
Menu.init();
if (Conf['Report Link']) {
ReportLink.init();
}
if (Conf['Delete Link']) {
DeleteLink.init();
}
if (Conf['Archive Link']) {
ArchiveLink.init();
}
}
if (Conf['Resurrect Quotes']) {
Quotify.init();

View File

@ -5,9 +5,6 @@ Config =
'Keybinds': [true, 'Binds actions to keys']
'Time Formatting': [true, 'Arbitrarily formatted timestamps, using your local time']
'File Info Formatting': [true, 'Reformats the file information']
'Report Link': [true, 'Add report links']
'Delete Link': [true, 'Add delete links']
'Archive Link': [true, 'Add archive links']
'Comment Expansion': [true, 'Expand too long comments']
'Thread Expansion': [true, 'View all replies']
'Index Navigation': [true, 'Navigate to previous / next thread']
@ -27,6 +24,11 @@ Config =
'Sauce': [true, 'Add sauce to images']
'Reveal Spoilers': [false, 'Replace spoiler thumbnails by the original thumbnail']
'Expand From Current': [false, 'Expand images from current position to thread end.']
Menu:
'Menu': [true, 'Add a drop-down menu in posts.']
'Report Link': [true, 'Add a report link to the menu.']
'Delete Link': [true, 'Add a delete link to the menu.']
'Archive Link': [true, 'Add a archive link to the menu.']
Monitoring:
'Thread Updater': [true, 'Update threads. Has more options in its own dialog.']
'Unread Count': [true, 'Show unread post count in tab title']
@ -3524,8 +3526,6 @@ Main =
if Conf['Anonymize']
Anonymize.init()
Menu.init()
if Conf['Time Formatting']
Time.init()
@ -3544,14 +3544,17 @@ Main =
if Conf['Image Hover']
ImageHover.init()
if Conf['Report Link']
ReportLink.init()
if Conf['Menu']
Menu.init()
if Conf['Delete Link']
DeleteLink.init()
if Conf['Report Link']
ReportLink.init()
if Conf['Archive Link']
ArchiveLink.init()
if Conf['Delete Link']
DeleteLink.init()
if Conf['Archive Link']
ArchiveLink.init()
if Conf['Resurrect Quotes']
Quotify.init()