Check-in [7b5b2a40e8]
Overview
Comment: | Allow to supply ordered (key,value) list[] to mygtk.ComboBoxText. Config specifiers can use ID=abc|XY=xyz|... now. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
7b5b2a40e8081a17b08a9ad3f7277edb |
User & Date: | mario on 2014-05-25 16:36:11 |
Other Links: | manifest | tags |
Context
2014-05-25
| ||
17:23 | Simplify streamedit_ by reusing config_dialog.load_config() (Also allows to use a liststore table later..) check-in: 927dc82086 user: mario tags: trunk | |
16:36 | Allow to supply ordered (key,value) list[] to mygtk.ComboBoxText. Config specifiers can use ID=abc|XY=xyz|... now. check-in: 7b5b2a40e8 user: mario tags: trunk | |
11:57 | Use mygtk.ComboBoxText also for theme switcher button. Moved .vbox and .label creating into mygtk, ComboBoxText.set_default() now automatically adds non-predeclated/custom value at end of liststore. check-in: 9ad64ad53a user: mario tags: trunk | |
Changes
Modified channels/jamendo.py from [9ef2d05b7e] to [9a203fe500].
︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | - - + + | "value":"ogg", "type": "text", "description":"Streaming format. Use 'ogg' for Vorbis, 'mp32' for MP3 with 192kbps/VBR, or 'mp31' for 96kbps MP3, and even 'flac' for lossless audio." }, {"name": "jamendo_image_size", "value": "50", "type": "select", |
︙ |
Modified mygtk.py from [aef1299a5d] to [7b64057ace].
︙ | |||
413 414 415 416 417 418 419 | 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 | - + - - + + + + + + + + + + + + + - - + + - + + + + + + + | b = gtk.HBox(homogeneous=False, spacing=10) b.set_property("visible", True) b.pack_start(w1, expand=False, fill=False) b.pack_start(w2, expand=True, fill=True) return b |
Modified st2.py from [d9136b2e9d] to [3e127b9d62].
︙ | |||
216 217 218 219 220 221 222 | 216 217 218 219 220 221 222 223 224 225 226 227 228 229 | - - - - | "streamedit_cancel": streamedit.cancel, }.items() ) + list( self.add_signals.items() ) )) # actually display main window gui_startup(99/100.0) self.win_streamtuner2.show() |
︙ | |||
245 246 247 248 249 250 251 | 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 | - - + - - - - - | return gtk.Builder.get_object(self, name) # returns the currently selected directory/channel object def channel(self): |
︙ | |||
861 862 863 864 865 866 867 | 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 | - + | # display checkbox if opt["type"] == "boolean": cb = gtk.CheckButton(opt["description"]) self.add_( "config_"+opt["name"], cb, color=color ) # drop down list elif opt["type"] == "select": |
︙ |