diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2015-07-04 23:24:14 -0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2015-07-04 23:24:14 -0400 |
commit | e09ba1238f6b691b627c34cbb2b8eac098daa2e1 (patch) | |
tree | 802795dba7727e15f81945585fd7f6c28ddeccaa /xsft.py | |
parent | Initial commit (diff) | |
download | xbright-e09ba1238f6b691b627c34cbb2b8eac098daa2e1.tar.gz xbright-e09ba1238f6b691b627c34cbb2b8eac098daa2e1.tar.bz2 xbright-e09ba1238f6b691b627c34cbb2b8eac098daa2e1.zip |
Improve defaults
Diffstat (limited to 'xsft.py')
-rwxr-xr-x | xsft.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -85,8 +85,10 @@ class MyWindow(Gtk.Window): self.box.add(Gtk.Label('Brightness')) self.brightness = self.add_hscale(20, 100) + self.brightness.set_value(80) self.box.add(Gtk.Label('Temperature (K)')) - self.temperature = self.add_hscale(1000, 40000) + self.temperature = self.add_hscale(1000, 25000) + self.temperature.set_value(5500) def add_hscale(self, min_val, max_val): scale = Gtk.Scale(orientation=Gtk.Orientation.HORIZONTAL, digits=0) |