summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Niklaus <marex@opencompositing.org>2007-06-13 23:50:38 +0200
committerPatrick Niklaus <marex@opencompositing.org>2007-06-13 23:50:38 +0200
commit87bb3310528a4cadd069436104dd7cc1a0b8e14a (patch)
tree08f585603e316a42fdabc7d1d270be11ee2265ea
parent3a11b73b51f5395143d359d161b5737e6651f657 (diff)
downloadccsm-87bb3310528a4cadd069436104dd7cc1a0b8e14a.tar.gz
ccsm-87bb3310528a4cadd069436104dd7cc1a0b8e14a.tar.bz2
Added support for DE integration
-rwxr-xr-xccsm.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/ccsm.in b/ccsm.in
index ac95d1c..ca45ff2 100755
--- a/ccsm.in
+++ b/ccsm.in
@@ -1573,6 +1573,15 @@ class ProfileBackendPage:
rightChild.pack_start(backendLabel, False, False, 5)
rightChild.pack_start(backendBox, False, False, 5)
+ # Integration
+ integrationLabel = MakeLabel()
+ integrationLabel.set_markup("<span color='%s' size='large' weight='800'>Integration</span>" % self.Main.BrightColor)
+ integrationButton = gtk.CheckButton("Enable integration into the desktop environment")
+ integrationButton.set_active(self.Context.Integration)
+ integrationButton.connect("toggled", self.IntegrationChanged)
+ rightChild.pack_start(integrationLabel, False, False, 5)
+ rightChild.pack_start(integrationButton, False, False, 5)
+
# Back Button
self.BackButton = gtk.Button(gtk.STOCK_GO_BACK)
self.BackButton.set_use_stock(True)
@@ -1596,6 +1605,10 @@ class ProfileBackendPage:
if index >= 0:
widget.set_active(index)
+ def IntegrationChanged(self, widget):
+ value = widget.get_active()
+ self.Context.Integration = value
+
def ProfileChanged(self, widget):
name = widget.get_active_text()
if name == 'Default':