Index: channels/specbuttons.py ================================================================== --- channels/specbuttons.py +++ channels/specbuttons.py @@ -1,15 +1,15 @@ # encoding: utf-8 -# title: Extra buttons for apps +# title: Spec buttons for apps # description: Adds configurable mini toolbar buttons # version: 0.7 # depends: streamtuner2 >= 2.2.0 # type: feature # category: ui # config: # { name: specbutton_rows, value: 2, max: 4, type: int, description: "Number of rows to arrange buttons in." } -# { name: specbuttons, type: dict, rows: "icon,command", description: "Associate icons to external commands." } +# { name: specbuttons, type: dict, columns: "Icon,Command", description: "Icons can either be `gtk-xyz` internal names, or `/usr/share/icon/*.png` path names ← which icon basenames would be expanded into. Commands can be any external program." } # doc: # http://fossil.include-once.org/streamtuner2/info/43b36ed35b1488d5 # # Adds the mini/extra buttons in the toolbar, which allow to control your # audio player or run other system commands. The configuration list is in @@ -48,11 +48,10 @@ self.parent = parent self.specbuttons = parent.get_widget("specbuttons") parent.hooks["init"].append(self.update_buttons) parent.hooks["config_save"].append(self.update_paths) parent.specbuttons.show() - parent.tv_config_specbuttons.show() # Extra buttons def update_buttons(self, parent): # define table width (2 rows default)