diff --git a/src/calibre/gui2/preferences/adding.py b/src/calibre/gui2/preferences/adding.py
index 7a27ed8f2d..e919d53b64 100644
--- a/src/calibre/gui2/preferences/adding.py
+++ b/src/calibre/gui2/preferences/adding.py
@@ -7,7 +7,8 @@ __docformat__ = 'restructuredtext en'
-from calibre.gui2.preferences import ConfigWidgetBase, test_widget
+from calibre.gui2.preferences import ConfigWidgetBase, test_widget, \
+ CommaSeparatedList
from calibre.gui2.preferences.adding_ui import Ui_Form
from calibre.utils.config import prefs
from calibre.gui2.widgets import FilenamePattern
@@ -22,6 +23,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
r('read_file_metadata', prefs)
r('swap_author_names', prefs)
r('add_formats_to_existing', prefs)
+ r('new_book_tags', prefs, setting=CommaSeparatedList)
self.filename_pattern = FilenamePattern(self)
self.metadata_box.layout().insertWidget(0, self.filename_pattern)
diff --git a/src/calibre/gui2/preferences/adding.ui b/src/calibre/gui2/preferences/adding.ui
index 062c45e1ad..75e6c466f0 100644
--- a/src/calibre/gui2/preferences/adding.ui
+++ b/src/calibre/gui2/preferences/adding.ui
@@ -6,7 +6,7 @@
0
0
- 1010
+ 750
339
@@ -27,10 +27,37 @@
-
- Read metadata from &file contents rather than file name
+ Read &metadata from &file contents rather than file name
+ -
+
+
-
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+ Swap the firstname and lastname of the author. This affects only metadata read from file names.
+
+
+ &Swap author firstname and lastname
+
+
+
+
+
-
@@ -44,7 +71,24 @@ Title match ignores leading indefinite articles ("the", "a",
- -
+
-
+
+
+ &Tags to apply when adding a book:
+
+
+ opt_new_book_tags
+
+
+
+ -
+
+
+ A comma-separated list of tags that will be applied to books added to the library
+
+
+
+ -
&Configure metadata from file name
@@ -66,16 +110,6 @@ Title match ignores leading indefinite articles ("the", "a",
- -
-
-
- Swap the firstname and lastname of the author. This affects only metadata read from file names.
-
-
- &Swap author firstname and lastname
-
-
-
diff --git a/src/calibre/gui2/preferences/behavior.py b/src/calibre/gui2/preferences/behavior.py
index 169a2b76fe..aeee6e5064 100644
--- a/src/calibre/gui2/preferences/behavior.py
+++ b/src/calibre/gui2/preferences/behavior.py
@@ -9,8 +9,7 @@ import re
from PyQt4.Qt import Qt, QVariant, QListWidgetItem
-from calibre.gui2.preferences import ConfigWidgetBase, test_widget, \
- CommaSeparatedList
+from calibre.gui2.preferences import ConfigWidgetBase, test_widget
from calibre.gui2.preferences.behavior_ui import Ui_Form
from calibre.gui2 import config, info_dialog, dynamic
from calibre.utils.config import prefs
@@ -49,7 +48,6 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
restrictions = sorted(saved_searches().names(), key=sort_key)
choices = [('', '')] + [(x, x) for x in restrictions]
r('gui_restriction', db.prefs, choices=choices)
- r('new_book_tags', prefs, setting=CommaSeparatedList)
self.reset_confirmation_button.clicked.connect(self.reset_confirmation_dialogs)
self.input_up_button.clicked.connect(self.up_input)
diff --git a/src/calibre/gui2/preferences/behavior.ui b/src/calibre/gui2/preferences/behavior.ui
index 8332212235..0f35d28cd5 100644
--- a/src/calibre/gui2/preferences/behavior.ui
+++ b/src/calibre/gui2/preferences/behavior.ui
@@ -164,20 +164,6 @@
- -
-
-
- A comma-separated list of tags that will be applied to books added to the library
-
-
-
- -
-
-
- Tags to apply when adding a book:
-
-
-
-