~ubuntu-branches/debian/sid/hal/sid

« back to all changes in this revision

Viewing changes to tools/device-manager/Const.py.in

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-10-23 12:33:58 UTC
  • Revision ID: james.westby@ubuntu.com-20071023123358-xaf8mjc5n84d5gtz
Tags: upstream-0.5.10
ImportĀ upstreamĀ versionĀ 0.5.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
"""This file contains global constants."""
2
 
 
3
 
NAME = "hal-device-manager"
4
 
NAME_LONG = "HAL Device Manager"
5
 
VERSION = "@VERSION@"
6
 
COPYRIGHT = "Copyright (C) 2003 David Zeuthen."
7
 
INFO = "This application shows information about\nhardware on your system"""
8
 
AUTHORS = [
9
 
    "David Zeuthen <david@fubar.dk>",
10
 
    "Shannon -jj Behrens <jjinux@yahoo.com> (for simplepy)"
11
 
]
12
 
 
13
 
DATADIR = "@DATADIR@/@PACKAGE@/device-manager"
14
 
 
15
 
PIXBUF_COLUMN = 0
16
 
TITLE_COLUMN  = 1
17
 
UDI_COLUMN    = 2
18
 
 
19
 
BUS_NAMES = {"unknown"       : "Unknown",
20
 
             "usb_device"    : "USB",
21
 
             "platform"      : "Legacy Device",
22
 
             "usb"           : "USB Interface",
23
 
             "pci"           : "PCI",
24
 
             "i2c"           : "I2C",
25
 
             "i2c_adapter"   : "I2C Adapter",
26
 
             "video4linux"   : "Video4Linux",
27
 
             "scsi_host"     : "SCSI Host",
28
 
             "scsi"          : "SCSI",
29
 
             "block"         : "Block",
30
 
             "ide"           : "IDE",
31
 
             "pnp"           : "PNP",
32
 
             "ide_host"      : "IDE Host",
33
 
             "macio"         : "MacIO",
34
 
             "serio"         : "serio",
35
 
             "ieee1394"      : "IEEE1394",
36
 
             "serial"        : "Serial",
37
 
             "usb-serial"    : "USB Serial",
38
 
             "pcmcia"        : "PCMCIA"}
39
 
 
40
 
STATE_NAMES = { 0 : "No device information file was found",
41
 
                1 : "Enabling...",
42
 
                2 : "Need information to enable",
43
 
                3 : "Error enabling the device",
44
 
                4 : "Enabled",
45
 
                5 : "Disabling...",
46
 
                6 : "Disabled",
47
 
                7 : "Not plugged in" }
48