/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to config.py

  • Committer: Curtis Hovey
  • Date: 2011-09-03 01:25:04 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110903012504-0jr4diz9033g5df2
Menu fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# This program is free software; you can redistribute it and/or modify
2
 
# it under the terms of the GNU General Public License as published by
3
 
# the Free Software Foundation; either version 2 of the License, or
4
 
# (at your option) any later version.
5
 
 
6
 
# This program is distributed in the hope that it will be useful,
7
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
8
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9
 
# GNU General Public License for more details.
10
 
 
11
 
# You should have received a copy of the GNU General Public License
12
 
# along with this program; if not, write to the Free Software
13
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
14
 
 
15
 
"""Configuration options."""
16
 
 
17
 
from bzrlib import (
18
 
    config,
19
 
    version_info as bzrlib_version,
20
 
    )
21
 
 
22
 
if bzrlib_version < (2, 5):
23
 
    def Option(*args, **kwargs):
24
 
        if 'help' in kwargs:
25
 
            del kwargs['help']
26
 
        return config.Option(*args, **kwargs)
27
 
else:
28
 
    Option = config.Option
29
 
 
30
 
opt_nautilus_integration = Option('nautilus_integration', default=True,
31
 
               from_unicode=config.bool_from_store,
32
 
               help='''\
33
 
Whether to enable nautilus integration.
34
 
 
35
 
Defines whether Nautilus integration should be enabled.
36
 
''')