hal/tools/device-manager DeviceManager.py, 1.27,
1.28 hal-device-manager.glade, 1.4, 1.5 hal-device-manager.in,
1.1, 1.2
Danny Kukawka
dkukawka at freedesktop.org
Tue Nov 8 07:47:38 PST 2005
Update of /cvs/hal/hal/tools/device-manager
In directory gabe:/tmp/cvs-serv29894/tools/device-manager
Modified Files:
DeviceManager.py hal-device-manager.glade
hal-device-manager.in
Log Message:
2005-11-08 Danny Kukawka <danny.kukawka at web.de>
* hald/linux2/coldplug.c: (coldplug_synthesize_events): fixed typo from
fd.o bug #2115
* doc/spec/hal-spec.xml.in: fixed fd.o bug #4644 and fixed typo in spec
* tools/device-manager/DeviceManager.py,
tools/device-manager/hal-device-manager.glade: slightly adopted fix from
fd.o bug #3954 from Benjamin Berg <benjamin at sipsolutions.net> to make
all fields in hal-device-manager selectable to copy the content
* tools/device-manager/hal-device-manager.in: fixed fd.o bug #2121 with
patch from #4266 (Young-Ho, Cha, <ganadist at chollian.net>) to enable
translation for hal-device-manager
* tools/hal_set_property.c: (usage): fixed fd.o bug #2850, removed option
from the help text.
Index: DeviceManager.py
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/DeviceManager.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- DeviceManager.py 15 Jul 2005 20:28:57 -0000 1.27
+++ DeviceManager.py 8 Nov 2005 15:47:36 -0000 1.28
@@ -465,10 +465,13 @@
cols = prop_tree_view.get_columns()
for cr in cols:
prop_tree_view.remove_column(cr)
-
- column0 = gtk.TreeViewColumn("Key", gtk.CellRendererText(), text=0)
- column1 = gtk.TreeViewColumn("Type", gtk.CellRendererText(), text=1)
- column2 = gtk.TreeViewColumn("Value", gtk.CellRendererText(), text=2)
+
+ cell_renderer = gtk.CellRendererText()
+ cell_renderer.set_property("editable", True)
+
+ column0 = gtk.TreeViewColumn("Key", cell_renderer, text=0)
+ column1 = gtk.TreeViewColumn("Type", cell_renderer, text=1)
+ column2 = gtk.TreeViewColumn("Value", cell_renderer, text=2)
prop_tree_view.append_column(column0)
prop_tree_view.append_column(column1)
prop_tree_view.append_column(column2)
Index: hal-device-manager.glade
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/hal-device-manager.glade,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- hal-device-manager.glade 29 Jul 2005 17:57:05 -0000 1.4
+++ hal-device-manager.glade 8 Nov 2005 15:47:36 -0000 1.5
@@ -221,12 +221,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">Device Name</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -273,12 +274,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">Status</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -299,12 +301,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">Bus Type</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -351,12 +354,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">Device Type</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -377,12 +381,13 @@
<property name="width_request">250</property>
<property name="height_request">96</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">Capabilties this might be a pretty long list so blablabla yada yda dyadhsk hdks jdhsk dks hdks hdks</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
<property name="xpad">0</property>
@@ -403,12 +408,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">Device Vendor</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -657,12 +663,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">USB Version</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -682,12 +689,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">USB Bandwidth</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -708,12 +716,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">Max Power Drain</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -734,12 +743,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">Manufacturer ID</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -760,12 +770,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">Product ID</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -786,12 +797,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">Product Revision</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -1039,12 +1051,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">Manufacturer ID</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -1064,12 +1077,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">Product ID</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -1090,12 +1104,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">OEM Manufacturer ID</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -1116,12 +1131,13 @@
<property name="width_request">250</property>
<property name="height_request">16</property>
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="label" translatable="yes">OEM Product ID</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
- <property name="selectable">False</property>
+ <property name="selectable">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
Index: hal-device-manager.in
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/hal-device-manager.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- hal-device-manager.in 4 Nov 2004 23:32:05 -0000 1.1
+++ hal-device-manager.in 8 Nov 2005 15:47:36 -0000 1.2
@@ -15,5 +15,7 @@
from DeviceManager import DeviceManager
gnome.program_init(Const.NAME, Const.VERSION)
++gtk.glade.bindtextdomain('@PACKAGE@', '@DATADIR@/locale')
++gtk.glade.textdomain('@PACKAGE@')
DeviceManager()
gtk.main()
More information about the hal-commit
mailing list