summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquinn <quinn>2007-01-31 03:00:29 +0000
committerquinn <quinn>2007-01-31 03:00:29 +0000
commit4b424f07de2fbe1c385a8d8511198830bed2fc40 (patch)
treebbf72f2e49f179a6852adeae6858c62649051cd5
parent6e1cdefc0f53951e9caae2047c23a812713c2482 (diff)
downloadberyl-settings-bindings-4b424f07de2fbe1c385a8d8511198830bed2fc40.tar.gz
beryl-settings-bindings-4b424f07de2fbe1c385a8d8511198830bed2fc40.tar.bz2
beryl-settings-bindings:
* oops forgot to commit this little fix
-rw-r--r--python/berylsettings.pyx5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/berylsettings.pyx b/python/berylsettings.pyx
index 560e3a9..28f5ec6 100644
--- a/python/berylsettings.pyx
+++ b/python/berylsettings.pyx
@@ -495,7 +495,10 @@ cdef class Context:
return s
def __set__(self,val):
cdef gchar * s
- s=val
+ if val == None:
+ s = NULL
+ else:
+ s=val
beryl_settings_context_set_profile(self.myContext,s)
property Profiles: