Check-in [417fcfdbd5]
Overview
| Comment: | Rename `_add` to `_pack`. Support opt= parameter to allow said `pack_*` function to operate on option flags (e.g. `category:` to target widget). |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
417fcfdbd539bcf627e91bf4d9c9792a |
| User & Date: | mario on 2017-02-21 23:21:33 |
| Other Links: | manifest | tags |
Context
|
2017-02-21
| ||
| 23:22 | Add notebook tabs for recordflags plugin. Instead of filtering them, distribute options into notebook tabs "_cfg", "_extra", or "_verbose". check-in: cbec1b81a6 user: mario tags: trunk | |
| 23:21 | Rename `_add` to `_pack`. Support opt= parameter to allow said `pack_*` function to operate on option flags (e.g. `category:` to target widget). check-in: 417fcfdbd5 user: mario tags: trunk | |
| 22:06 | Fix verbose/extra merging, `-d` option for directory. check-in: f5b2e2a1e9 user: mario tags: trunk | |
Changes
Modified channels/configwin.py from [7398b09535] to [860639b8e3].
| ︙ | |||
114 115 116 117 118 119 120 | 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | - - + + - + - + |
# iterate over channel and feature plugins
def add_plugins(self):
ls = all_plugin_meta()
for name,meta in sorted(ls.items(), key=lambda e: e[1]["type"]+e[1]["title"].lower(), reverse=False):
if not name in conf.plugins:
conf.plugins[name] = False
conf.add_plugin_defaults(meta, name)
|
| ︙ | |||
169 170 171 172 173 174 175 | 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | - + - + - + - - + + - + - + |
cb = gtk.SpinButton()
cb.set_adjustment(adj)
cb.set_digits(0)
# ListView
elif opt["type"] in ("list", "table", "array", "dict"):
cb, ls = uikit.config_treeview(opt, opt.get("columns", "Key,Value").split(","))
|