2004-12-30 John (J5) Palmieri <johnp@redhat.com>
authorJohn (J5) Palmieri <johnp@redhat.com>
Thu, 30 Dec 2004 14:19:54 +0000 (14:19 +0000)
committerJohn (J5) Palmieri <johnp@redhat.com>
Thu, 30 Dec 2004 14:19:54 +0000 (14:19 +0000)
        * python/dbus_bindings.pyx.in: Change DBUS_ACTIVATION_REPLY_ACTIVATED
        and DBUS_ACTIVATION_REPLY_ALREADY_ACTIVE to match the values in
        dbus-protocol.h.  Because they are defines and not enums they are not
        autogenerated.

ChangeLog
python/dbus_bindings.pyx.in

index 4ab4332..9a01039 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-12-30  John (J5) Palmieri  <johnp@redhat.com>
+
+       * python/dbus_bindings.pyx.in: Change DBUS_ACTIVATION_REPLY_ACTIVATED
+       and DBUS_ACTIVATION_REPLY_ALREADY_ACTIVE to match the values in
+       dbus-protocol.h.  Because they are defines and not enums they are not
+       autogenerated.
+
 2004-12-26  John (J5) Palmieri  <johnp@redhat.com>
 
        * python/dbus_bindings.pyx.in (bus_activate_service): Bind
index db391e1..d6ec96f 100644 (file)
@@ -1145,8 +1145,9 @@ def bus_get_unix_user(Connection connection, service_name):
         raise DBusException, error.message
     return retval
 
-ACTIVATION_REPLY_ACTIVATED = DBUS_ACTIVATION_REPLY_ACTIVATED
-ACTIVATION_REPLY_ALREADY_ACTIVE = DBUS_ACTIVATION_REPLY_ALREADY_ACTIVE
+#These are defines, not enums so they aren't auto generated
+ACTIVATION_REPLY_ACTIVATED = 0 
+ACTIVATION_REPLY_ALREADY_ACTIVE = 1 
     
 def bus_activate_service(Connection connection, service_name, flags=0):
     cdef DBusError error