~ubuntu-branches/ubuntu/maverick/hal/maverick

« back to all changes in this revision

Viewing changes to tools/device-manager/hal-device-manager

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-10-23 12:33:58 UTC
  • mto: (1.5.1 sid)
  • mto: This revision was merged to the branch mainline in revision 90.
  • 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
 
#!/usr/bin/env python
2
 
 
3
 
"""This is the main executable for DeviceManager. GTK+/Glade code is based
4
 
on simplepy from Shannon -jj Behrens <jjinux@yahoo.com>"""
5
 
 
6
 
import sys
7
 
import pygtk
8
 
import gtk
9
 
import gnome
10
 
 
11
 
sys.path.append('/usr/share/hal/device-manager')
12
 
 
13
 
import Const
14
 
import LibGladeApplication
15
 
from DeviceManager import DeviceManager
16
 
 
17
 
gnome.program_init(Const.NAME, Const.VERSION)
18
 
gtk.glade.bindtextdomain('hal', '/usr/share/locale')
19
 
gtk.glade.textdomain('hal')
20
 
DeviceManager()
21
 
gtk.main()