[beryl-commits] CCS bindings for python: Changes to 'master' (0e9a9b0a96c4b0fdb5cf77ae212ffac9ad2e8749)
onestone at server.beryl-project.org
onestone at server.beryl-project.org
Thu Jun 14 01:10:11 CEST 2007
New commits:
commit 0e9a9b0a96c4b0fdb5cf77ae212ffac9ad2e8749
Author: Dennis Kasprzyk <onestone at opencompositing.org>
Date: Thu Jun 14 01:10:01 2007 +0200
Convert to python bool.
commit 54ea685c454441121d0fbc65bd7eb367b7970291
Merge: c1b94302163b21d9fb1bdf977e77cdbdbbcf7399 9dca6ea6069e4e7b3908dd5925e933269a192418
Author: Dennis Kasprzyk <onestone at opencompositing.org>
Date: Thu Jun 14 01:06:35 2007 +0200
Merge branch 'master' of git+ssh://git.beryl-project.org/git/compcomm/compiz-configuration-system/bindings/ccs-python
commit c1b94302163b21d9fb1bdf977e77cdbdbbcf7399
Author: Dennis Kasprzyk <onestone at opencompositing.org>
Date: Thu Jun 14 01:06:30 2007 +0200
Reload settings after Profile/Backend change
src/compizconfig.pyx | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Modified: compcomm/compiz-configuration-system/bindings/ccs-python/src/compizconfig.pyx
===================================================================
--- compcomm/compiz-configuration-system/bindings/ccs-python/src/compizconfig.pyx
+++ compcomm/compiz-configuration-system/bindings/ccs-python/src/compizconfig.pyx
@@ -653,7 +653,7 @@ cdef class Plugin:
return features
property Enabled:
def __get__(self):
- return ccsPluginIsActive(self.context.ccsContext, self.ccsPlugin.name);
+ return bool(ccsPluginIsActive(self.context.ccsContext, self.ccsPlugin.name))
def __set__(self,val):
if val:
if len(self.EnableConflicts):
@@ -862,6 +862,7 @@ cdef class Context:
def __set__(self,profile):
self.currentProfile = profile
ccsSetProfile(self.ccsContext, profile.Name)
+ ccsReadSettings(self.ccsContext)
property Profiles:
def __get__(self):
return self.profiles
@@ -871,6 +872,7 @@ cdef class Context:
def __set__(self,backend):
self.currentBackend = backend
ccsSetBackend(self.ccsContext, backend.Name)
+ ccsReadSettings(self.ccsContext)
property Backends:
def __get__(self):
return self.backends
@@ -883,4 +885,5 @@ cdef class Context:
def __set__(self, value):
self.integration = value
ccsSetIntegrationEnabled(self.ccsContext, value)
+ ccsReadSettings(self.ccsContext)
More information about the commits
mailing list