Check-in [f1af12b221]
Overview
Comment: | Fix SpinButton() initialization for Gtk3 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
f1af12b221a79d3db68977f9e2859bfd |
User & Date: | mario on 2016-06-16 23:29:55 |
Other Links: | manifest | tags |
Context
2016-06-16
| ||
23:30 | Remove stray print statement check-in: 315eb1c757 user: mario tags: trunk | |
23:29 | Fix SpinButton() initialization for Gtk3 check-in: f1af12b221 user: mario tags: trunk | |
22:04 | Slight changes to extraction regex (`https` links mostly, and title-icon is just text now). check-in: 7843eea22d user: mario tags: trunk | |
Changes
Modified channels/configwin.py from [e39ea3ed2b] to [7969234304].
︙ | ︙ | |||
165 166 167 168 169 170 171 | # drop down list elif opt["type"] in ("select", "choose", "options"): cb = ComboBoxText(ComboBoxText.parse_options(opt["select"])) # custom uikit widget # numeric elif opt["type"] in ("int", "integer", "numeric"): adj = gtk.Adjustment(0, 0, 5000, 1, 10, 0) | > | > > > > | 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | # drop down list elif opt["type"] in ("select", "choose", "options"): cb = ComboBoxText(ComboBoxText.parse_options(opt["select"])) # custom uikit widget # numeric elif opt["type"] in ("int", "integer", "numeric"): adj = gtk.Adjustment(0, 0, 5000, 1, 10, 0) if ver == 2: cb = gtk.SpinButton(adj, 1.0, 0) else: cb = gtk.SpinButton() cb.set_adjustment(adj) cb.set_digits(0) # text field else: cb = gtk.Entry() add_( "config_"+opt["name"], cb, description, color ) |
︙ | ︙ |