~stub/ubuntu/precise/calibre/devel

« back to all changes in this revision

Viewing changes to src/calibre/gui2/__init__.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:
50
50
 
51
51
gprefs.defaults['show_splash_screen'] = True
52
52
gprefs.defaults['toolbar_icon_size'] = 'medium'
 
53
gprefs.defaults['automerge'] = 'ignore'
53
54
gprefs.defaults['toolbar_text'] = 'auto'
54
55
gprefs.defaults['show_child_bar'] = False
55
56
gprefs.defaults['font'] = None
105
106
                'clicked'))
106
107
    c.add_opt('asked_library_thing_password', default=False,
107
108
            help='Asked library thing password at least once.')
108
 
    c.add_opt('search_as_you_type', default=True,
109
 
            help='Start searching as you type. If this is disabled then search will '
110
 
            'only take place when the Enter or Return key is pressed.')
 
109
    c.add_opt('search_as_you_type', default=False,
 
110
            help=_('Start searching as you type. If this is disabled then search will '
 
111
            'only take place when the Enter or Return key is pressed.'))
 
112
    c.add_opt('highlight_search_matches', default=False,
 
113
            help=_('When searching, show all books with search results '
 
114
            'highlighted instead of showing only the matches. You can use the '
 
115
            'N or F3 keys to go to the next match.'))
111
116
    c.add_opt('save_to_disk_template_history', default=[],
112
117
        help='Previously used Save to Disk templates')
113
118
    c.add_opt('send_to_device_template_history', default=[],
132
137
            help=_('Automatically download the cover, if available'))
133
138
    c.add_opt('enforce_cpu_limit', default=True,
134
139
            help=_('Limit max simultaneous jobs to number of CPUs'))
135
 
    c.add_opt('tag_browser_hidden_categories', default=set(),
136
 
            help=_('tag browser categories not to display'))
137
140
    c.add_opt('gui_layout', choices=['wide', 'narrow'],
138
141
            help=_('The layout of the user interface'), default='wide')
139
142
    c.add_opt('show_avg_rating', default=True,
140
143
            help=_('Show the average rating per item indication in the tag browser'))
141
144
    c.add_opt('disable_animations', default=False,
142
145
            help=_('Disable UI animations'))
 
146
 
 
147
    # This option is no longer used. It remains for compatibility with upgrades
 
148
    # so the value can be migrated
 
149
    c.add_opt('tag_browser_hidden_categories', default=set(),
 
150
            help=_('tag browser categories not to display'))
 
151
 
143
152
    c.add_opt
144
153
    return ConfigProxy(c)
145
154
 
331
340
             'rar'     : 'rar',
332
341
             'zip'     : 'zip',
333
342
             'txt'     : 'txt',
 
343
             'text'    : 'txt',
334
344
             'prc'     : 'mobi',
335
345
             'azw'     : 'mobi',
336
346
             'mobi'    : 'mobi',