dbus/python/examples example-service.py, 1.9, 1.10 example-signal-emitter.py, 1.3, 1.4 example-signal-recipient.py, 1.3, 1.4 gconf-proxy-client.py, 1.1, 1.2 gconf-proxy-service.py, 1.3, 1.4 gconf-proxy-service2.py, 1.2, 1.3 list-system-services.py, 1.4, 1.5

John Palmieri johnp at freedesktop.org
Sun May 1 12:35:00 PDT 2005


Update of /cvs/dbus/dbus/python/examples
In directory gabe:/tmp/cvs-serv12321/python/examples

Modified Files:
	example-service.py example-signal-emitter.py 
	example-signal-recipient.py gconf-proxy-client.py 
	gconf-proxy-service.py gconf-proxy-service2.py 
	list-system-services.py 
Log Message:
* python/dbus_bindings.pyx.in: 
- added new type classes for hinting to the marashaler what type 
to send over the wire
- added int16 and uint16 marshalers
- Fixed a bug in the type constants that caused int32 to go out
as uint16 over the wire
* python/dbus.py: split up into different files and renamed _dbus.py
* python/__init__.py, python/_util.py, python/decorators.py, 
python/exceptions.py, python/proxies.py, python/services.py,
python/types.py: new files split off from dbus.py
* python/Makefile.am: Add new files, remove dbus.py and 
install all python files to <python module dir>/dbus
* python/examples/*: Added #!/usr/bin/env python to the top of
every example.  Patch provided by Tatavarty Kalyan



Index: example-service.py
===================================================================
RCS file: /cvs/dbus/dbus/python/examples/example-service.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- example-service.py	25 Apr 2005 22:54:28 -0000	1.9
+++ example-service.py	1 May 2005 19:34:58 -0000	1.10
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 import dbus
 
 import pygtk

Index: example-signal-emitter.py
===================================================================
RCS file: /cvs/dbus/dbus/python/examples/example-signal-emitter.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- example-signal-emitter.py	25 Apr 2005 22:54:28 -0000	1.3
+++ example-signal-emitter.py	1 May 2005 19:34:58 -0000	1.4
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 import dbus
 import gtk
 

Index: example-signal-recipient.py
===================================================================
RCS file: /cvs/dbus/dbus/python/examples/example-signal-recipient.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- example-signal-recipient.py	25 Apr 2005 22:54:28 -0000	1.3
+++ example-signal-recipient.py	1 May 2005 19:34:58 -0000	1.4
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 import gtk
 import dbus
 import gobject

Index: gconf-proxy-client.py
===================================================================
RCS file: /cvs/dbus/dbus/python/examples/gconf-proxy-client.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- gconf-proxy-client.py	30 May 2004 02:26:48 -0000	1.1
+++ gconf-proxy-client.py	1 May 2005 19:34:58 -0000	1.2
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 import dbus
 
 gconf_key = "/desktop/gnome/file_views/icon_theme"

Index: gconf-proxy-service.py
===================================================================
RCS file: /cvs/dbus/dbus/python/examples/gconf-proxy-service.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gconf-proxy-service.py	11 Jul 2004 03:02:14 -0000	1.3
+++ gconf-proxy-service.py	1 May 2005 19:34:58 -0000	1.4
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 import dbus
 
 import gtk

Index: gconf-proxy-service2.py
===================================================================
RCS file: /cvs/dbus/dbus/python/examples/gconf-proxy-service2.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- gconf-proxy-service2.py	11 Jul 2004 03:02:14 -0000	1.2
+++ gconf-proxy-service2.py	1 May 2005 19:34:58 -0000	1.3
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 import dbus
 
 import gtk

Index: list-system-services.py
===================================================================
RCS file: /cvs/dbus/dbus/python/examples/list-system-services.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- list-system-services.py	25 Apr 2005 22:54:28 -0000	1.4
+++ list-system-services.py	1 May 2005 19:34:58 -0000	1.5
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 """Lists services on the system bus
 """
 import dbus



More information about the dbus-commit mailing list