summaryrefslogtreecommitdiff
path: root/tools/device-manager/Const.py.in
blob: d15cae7163655a86f110f1ef68cebf134e8acd1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
"""This file contains global constants."""

NAME = "hal-device-manager"
NAME_LONG = "HAL Device Manager"
VERSION = "@VERSION@"
COPYRIGHT = "Copyright (C) 2003 David Zeuthen."
INFO = "This application shows information about\nhardware on your system"""
AUTHORS = [
    "David Zeuthen <david@fubar.dk>",
    "Shannon -jj Behrens <jjinux@yahoo.com> (for simplepy)"
]

DATADIR = "@DATADIR@/@PACKAGE@/device-manager"

PIXBUF_COLUMN = 0
TITLE_COLUMN  = 1
UDI_COLUMN    = 2

BUS_NAMES = {"usb"         : "USB",
             "usbif"       : "USB Interface",
             "pci"         : "PCI",
             "i2c"         : "I2C",
             "i2c_adapter" : "I2C adapter",
             "scsi_host"   : "SCSI Host",
             "scsi_device" : "SCSI",
             "block"       : "Block",
             "ide"         : "IDE",
             "ide_host"    : "IDE Host"}

STATE_NAMES = { 0 : "No device information file was found",
                1 : "Enabling...",
                2 : "Need information to enable",
                3 : "Error enabling the device",
                4 : "Enabled",
                5 : "Disabling...",
                6 : "Disabled",
                7 : "Not plugged in" }