home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / hal / device-manager / Const.py next >
Encoding:
Python Source  |  2007-05-11  |  1.6 KB  |  49 lines

  1. """This file contains global constants."""
  2.  
  3. NAME = "hal-device-manager"
  4. NAME_LONG = "HAL Device Manager"
  5. VERSION = "0.5.9"
  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 = "/usr/share/hal/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.  
  49.