~qbzr-dev/qbzr/0.21

« back to all changes in this revision

Viewing changes to lib/config.py

  • Committer: A. S. Budden
  • Date: 2011-05-11 11:59:03 UTC
  • mfrom: (1368.2.8 qbzr)
  • Revision ID: abudden@gmail.com-20110511115903-2ruer7sxkj9eal3p
Merged addition of ability to customise tab width on-the-fly in qdiff/qannotate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    extract_name,
36
36
    get_qbzr_config,
37
37
    get_global_config,
38
 
    get_tab_width_chars,
 
38
    get_set_tab_width_chars,
39
39
    )
40
40
 
41
41
 
305
305
                self.emailClientCombo.setCurrentIndex(index)
306
306
 
307
307
        # Tab-width
308
 
        self.tabWidthSpinner.setValue(get_tab_width_chars())
 
308
        self.tabWidthSpinner.setValue(get_set_tab_width_chars())
309
309
 
310
310
        # Spellcheck language
311
311
        spellcheck_language = config.get_user_option('spellcheck_language') or 'en'