1
=== modified file 'ccm/Settings.py'
2
diff -Nur -x '*.orig' -x '*~' a/compizconfig/ccsm/ccm/Settings.py b/compizconfig/Settings.py
3
--- a/compizconfig/ccsm/ccm/Settings.py 2011-08-22 13:38:46.000000000 +0200
4
+++ b/compizconfig/ccsm/ccm/Settings.py 2012-02-01 12:44:46.254767412 +0100
6
self.NoneValue = info[0]
7
self.Adj = gtk.Adjustment(self.Get(), info[0], info[1], inc, inc*10)
8
self.Spin = gtk.SpinButton(self.Adj)
10
- self.Scale = gtk.HScale(self.Adj)
12
- self.Scale.set_update_policy(gtk.UPDATE_DISCONTINUOUS)
13
- self.Scale.connect("value-changed", self.Changed)
14
self.Spin.connect("value-changed", self.Changed)
15
- self.Widget = self.Scale
16
+ self.Widget = self.Spin
18
- self.Box.pack_start(self.Scale, True, True)
19
- self.Box.pack_start(self.Spin, False, False)
20
+ self.Box.pack_end(self.Spin, False, False)
23
self.Adj.set_value(self.Get())
26
NumberSetting._Init(self)
27
self.Spin.set_digits(0)
28
- self.Scale.set_digits(0)
30
class FloatSetting(NumberSetting):
34
NumberSetting._Init(self)
35
self.Spin.set_digits(4)
36
- self.Scale.set_digits(4)
39
class ColorSetting(StockSetting):