~stub/ubuntu/precise/calibre/devel

« back to all changes in this revision

Viewing changes to src/calibre/utils/config.py

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-04-12 11:29:25 UTC
  • mfrom: (42.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110412112925-c7171kt2bb5rmft4
Tags: 0.7.50+dfsg-2
* debian/control: Build with libpodofo-dev to enable PDF metadata.
  (Closes: #619632)
* debian/control: Add libboost1.42-dev build dependency. Apparently it is
  needed in some setups. (Closes: #619807)
* debian/rules: Call dh_sip to generate a proper sip API dependency, to
  prevent crashes like #616372 for partial upgrades.
* debian/control: Bump python-qt4 dependency to >= 4.8.3-2, which reportedly
  fixes crashes on startup. (Closes: #619701, #620125)

Show diffs side-by-side

added added

removed removed

Lines of Context:
728
728
    c.add_opt('user_categories', default={}, help=_('User-created tag browser categories'))
729
729
    c.add_opt('manage_device_metadata', default='manual',
730
730
        help=_('How and when calibre updates metadata on the device.'))
 
731
    c.add_opt('limit_search_columns', default=False,
 
732
            help=_('When searching for text without using lookup '
 
733
            'prefixes, as for example, Red instead of title:Red, '
 
734
            'limit the columns searched to those named below.'))
 
735
    c.add_opt('limit_search_columns_to',
 
736
            default=['title', 'authors', 'tags', 'series', 'publisher'],
 
737
            help=_('Choose columns to be searched when not using prefixes, '
 
738
                'as for example, when searching for Redd instead of '
 
739
                'title:Red. Enter a list of search/lookup names '
 
740
                'separated by commas. Only takes effect if you set the option '
 
741
                'to limit search columns above.'))
731
742
 
732
743
    c.add_opt('migrated', default=False, help='For Internal use. Don\'t modify.')
733
744
    return c