Check-in [04f700ea1c]
Overview
Comment: | Add missing `configwin` (the externalized config_dialog). Fixed gtk3.xml for gtk2 once more. Orovide find_executable() in config, used by configwin to show if configured apps are actually available. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
04f700ea1c8a2d2b21737cdf80a00f4d |
User & Date: | mario on 2015-04-02 22:40:45 |
Other Links: | manifest | tags |
Context
2015-04-03
| ||
17:30 | Removed channel icon *.pngs. check-in: 0769283e02 user: mario tags: trunk | |
2015-04-02
| ||
22:40 | Add missing `configwin` (the externalized config_dialog). Fixed gtk3.xml for gtk2 once more. Orovide find_executable() in config, used by configwin to show if configured apps are actually available. check-in: 04f700ea1c user: mario tags: trunk | |
18:40 | Fix incorrent indendation. check-in: 85b88fac15 user: mario tags: trunk | |
Changes
Added channels/configwin.py version [b6f7f7a5cd].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 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 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 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 | # api: streamtuner2 # title: Config dialog # description: Allows to configure players, options, and plugins # version: 2.5 # type: feature # category: ui # config: - # priority: core # # Configuration dialog for audio applications, # general settings, and plugin activaiton and # their options. from uikit import * import channels from config import * import re # Settings window # # Interacts with main.* window (gtkBuilder widgets) # and conf.* dictionary. # class configwin (AuxiliaryWindow): # Display win_config, pre-fill text fields from global conf. object def open(self, widget): if self.first_open: self.add_plugins() self.combobox_theme() self.first_open = 0 self.win_config.resize(565, 625) self.load_config(conf.__dict__, "config_") self.load_config(conf.plugins, "config_plugins_") [callback() for callback in self.hooks["config_load"]] self.win_config.show_all() first_open = 1 # Hide window def hide(self, *args): self.win_config.hide() return True # Load values from conf. store into gtk widgets def load_config(self, config, prefix="config_"): for key,val in config.items(): w = self.main.get_widget(prefix + key) if w: # input field if type(w) is gtk.Entry: w.set_text(str(val)) # checkmark elif type(w) is gtk.CheckButton: w.set_active(bool(val)) # dropdown elif type(w) is ComboBoxText: w.set_default(val) # list elif type(w) is gtk.ListStore: w.clear() for k,v in val.items(): w.append([k, v, True, self.app_bin_check(v)]) w.append(["", "", True, gtk.STOCK_NEW]) __print__(dbg.CONF, "config load", prefix+key, val, type(w)) # Store gtk widget valus back into conf. dict def save_config(self, config, prefix="config_", save=0): for key,val in config.items(): w = self.main.get_widget(prefix + key) if w: # text if type(w) is gtk.Entry: config[key] = w.get_text() # pre-defined text elif type(w) is ComboBoxText: config[key] = w.get_active_text() # boolean elif type(w) is gtk.CheckButton: config[key] = w.get_active() # dict elif type(w) is gtk.ListStore: config[key] = {} for row in w: if row[0] and row[1]: config[key][row[0]] = row[1] __print__(dbg.CONF, "config save", prefix+key, val) # Generic Gtk callback to update ListStore when entries get edited def list_edit(self, liststore, path, column, new_text): liststore[path][column] = new_text liststore[path][3] = self.app_bin_check(new_text) # The signal_connect() dict actually prepares individual lambda functions # to bind the correct ListStore and column id. # return OK or CANCEL depending on availability of app def app_bin_check(self, v): m = re.search("(?![$(`])\S+", v) if m and m.group(0) and find_executable(m.group(0)): return gtk.STOCK_MEDIA_PLAY else: return gtk.STOCK_CANCEL # list of Gtk themes in dropdown def combobox_theme(self): # find themes themedirs = (conf.share+"/themes", conf.dir+"/themes", "/usr/share/themes") themes = ["no theme"] [[themes.append(e) for e in os.listdir(dir)] for dir in themedirs if os.path.exists(dir)] __print__(dbg.STAT, themes) # add dropdown self.widgets["theme"] = ComboBoxText(themes) self.theme_cb_placeholder.pack_start(self.theme) self.theme_cb_placeholder.pack_end(uikit.label("")) # retrieve currently selected value def apply_theme(self): conf.theme = self.theme.get_active_text() uikit.load_theme(conf.theme) # iterate over channel and feature plugins def add_plugins(self): ls = {} for name in module_list(): if name in self.channels: ls[name] = self.channels[name].meta elif name in self.features: ls[name] = self.features[name].meta else: ls[name] = plugin_meta(conf.share+"/channels/"+name+".py") for name,meta in sorted(ls.items(), key=lambda e: e[1]["type"]+e[1]["title"].lower(), reverse=False): self.add_plg(name, meta) #self.plugin_options.pack_start(uikit.label("\n<b>Feature</b> plugins add categories, submenu entries, or other extensions.\n", 500, 1)) # add configuration setting definitions from plugins plugin_text = "<span size='larger' weight='heavy'>%s</span> <span style='italic' foreground='slate blue'>(%s/%s)</span> <span weight='bold' foreground='orange'>%s</span>\n<span size='smaller' stretch='ultraexpanded'>%s</span>" def add_plg(self, name, meta): # add plugin load entry cb = gtk.CheckButton(name) cb.set_sensitive(not meta.get("priority") in ("core", "required", "builtin")) cb.get_children()[0].set_markup(self.plugin_text % (meta.get("title", name), meta.get("type", "plugin"), meta.get("category", "addon"), meta.get("version", "./."), meta.get("description", "no description"))) cb.set_tooltip_text(re.sub("(?<=\S) *\n(?! *\n)", " ",meta.get("doc", "")).strip()) self.add_( "config_plugins_"+name, cb, color=meta.get("color"), image=meta.get("png")) # default values are already in conf[] dict (now done in conf.add_plugin_defaults) for opt in meta["config"]: color = opt.get("color", None) # 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": cb = ComboBoxText(ComboBoxText.parse_options(opt["select"])) # custom uikit widget self.add_( "config_"+opt["name"], cb, opt["description"], color ) # text entry else: self.add_( "config_"+opt["name"], gtk.Entry(), opt["description"], color ) # spacer self.add_( "filler_pl_"+name, gtk.HSeparator() ) # Put config widgets into config dialog notebook, wrap with label, or background, retain widget id/name def add_(self, id=None, w=None, label=None, color=None, image=None): if id: self.widgets[id] = w if label: if type(w) is gtk.Entry: w.set_width_chars(11) w = uikit.hbox(w, uikit.label(label)) if image: pix = gtk.image_new_from_pixbuf(uikit.pixbuf(image)) if pix: w = uikit.hbox(w, pix, exr=False) if color: w = uikit.bg(w, color) self.plugin_options.pack_start(w) # save config def save(self, widget): self.save_config(conf.__dict__, "config_") self.save_config(conf.plugins, "config_plugins_") [callback() for callback in self.hooks["config_save"]] self.apply_theme() conf.save(nice=1) self.hide() |
Modified config.py from [d4c58ff389] to [43829d8ff1].
︙ | ︙ | |||
26 27 28 29 30 31 32 33 34 | import gzip import platform import re import zipfile import inspect import pkgutil # export symbols | > > > > > > > > | | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | import gzip import platform import re import zipfile import inspect import pkgutil # find_executable() is only needed by channels/configwin try: from distutils.spawn import find_executable except: def find_executable(bin): exists = [os.path.exists(dir+"/"+bin) for dir in os.environ.get("PATH").split(":")+["/"]] return exists[0] if len(exists) else None # export symbols __all__ = ["conf", "__print__", "dbg", "plugin_meta", "module_list", "get_data", "find_executable"] #-- create a stub instance of config object conf = object() # separate instance of netrc, if needed netrc = None |
︙ | ︙ |
Modified gtk3.xml from [8193b41029] to [55b839b9e8].
1 2 | <?xml version="1.0" encoding="UTF-8"?> <interface> | > | < | > > | > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> <interface> <requires lib="gtk+" version="3.0"/> <object class="GtkListStore" id="config_play"> <columns> <!-- column-name type --> <column type="gchararray"/> <!-- column-name app --> <column type="gchararray"/> <!-- column-name editable --> <column type="gboolean"/> <!-- column-name icon --> <column type="gchararray"/> </columns> </object> <object class="GtkListStore" id="config_record"> <columns> <!-- column-name type --> <column type="gchararray"/> <!-- column-name app --> <column type="gchararray"/> <!-- column-name editable --> <column type="gboolean"/> <!-- column-name icon --> <column type="gchararray"/> </columns> </object> <object class="GtkWindow" id="win_config"> <property name="width_request">565</property> <property name="can_focus">False</property> <property name="title" translatable="yes">streamtuner settings</property> <property name="window_position">center</property> |
︙ | ︙ | |||
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | <property name="border_width">5</property> <property name="model">config_play</property> <property name="headers_clickable">False</property> <property name="rules_hint">True</property> <property name="search_column">0</property> <property name="level_indentation">8</property> <property name="enable_grid_lines">both</property> <child> <object class="GtkTreeViewColumn" id="tvc_config_player_type"> <property name="spacing">10</property> <property name="min_width">125</property> <property name="title" translatable="yes">Format</property> <property name="sort_indicator">True</property> <child> <object class="GtkCellRendererText" id="tvcr_config_player_type"> <signal name="edited" handler="config_play_list_edit_col0" swapped="no"/> </object> <attributes> <attribute name="editable">2</attribute> <attribute name="text">0</attribute> </attributes> </child> </object> </child> <child> <object class="GtkTreeViewColumn" id="tvc_config_player_app"> | > > > | > > > > > > | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | <property name="border_width">5</property> <property name="model">config_play</property> <property name="headers_clickable">False</property> <property name="rules_hint">True</property> <property name="search_column">0</property> <property name="level_indentation">8</property> <property name="enable_grid_lines">both</property> <child internal-child="selection"> <object class="GtkTreeSelection" id="treeview-selection1"/> </child> <child> <object class="GtkTreeViewColumn" id="tvc_config_player_type"> <property name="spacing">10</property> <property name="min_width">125</property> <property name="title" translatable="yes">Format</property> <property name="sort_indicator">True</property> <child> <object class="GtkCellRendererText" id="tvcr_config_player_type"> <signal name="edited" handler="config_play_list_edit_col0" swapped="no"/> </object> <attributes> <attribute name="editable">2</attribute> <attribute name="text">0</attribute> </attributes> </child> </object> </child> <child> <object class="GtkTreeViewColumn" id="tvc_config_player_app"> <property name="spacing">5</property> <property name="min_width">300</property> <property name="title" translatable="yes">Application</property> <child> <object class="GtkCellRendererPixbuf" id="tvcr_config_player_bin"/> <attributes> <attribute name="stock-id">3</attribute> </attributes> </child> <child> <object class="GtkCellRendererText" id="tvcr_config_player_app"> <signal name="edited" handler="config_play_list_edit_col1" swapped="no"/> </object> <attributes> <attribute name="editable">2</attribute> <attribute name="text">1</attribute> |
︙ | ︙ | |||
173 174 175 176 177 178 179 180 181 182 183 184 185 186 | <property name="border_width">5</property> <property name="model">config_record</property> <property name="headers_clickable">False</property> <property name="rules_hint">True</property> <property name="search_column">0</property> <property name="level_indentation">8</property> <property name="enable_grid_lines">both</property> <child> <object class="GtkTreeViewColumn" id="tvc_config_record_type"> <property name="spacing">10</property> <property name="min_width">125</property> <property name="title" translatable="yes">Format</property> <property name="sort_indicator">True</property> <child> | > > > | 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | <property name="border_width">5</property> <property name="model">config_record</property> <property name="headers_clickable">False</property> <property name="rules_hint">True</property> <property name="search_column">0</property> <property name="level_indentation">8</property> <property name="enable_grid_lines">both</property> <child internal-child="selection"> <object class="GtkTreeSelection" id="treeview-selection2"/> </child> <child> <object class="GtkTreeViewColumn" id="tvc_config_record_type"> <property name="spacing">10</property> <property name="min_width">125</property> <property name="title" translatable="yes">Format</property> <property name="sort_indicator">True</property> <child> |
︙ | ︙ | |||
195 196 197 198 199 200 201 202 203 204 205 206 207 208 | </object> </child> <child> <object class="GtkTreeViewColumn" id="tvc_config_record_app"> <property name="spacing">10</property> <property name="min_width">300</property> <property name="title" translatable="yes">Application</property> <child> <object class="GtkCellRendererText" id="tvcr_config_record_app"> <signal name="edited" handler="config_record_list_edit_col1" swapped="no"/> </object> <attributes> <attribute name="editable">2</attribute> <attribute name="text">1</attribute> | > > > > > > | 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 | </object> </child> <child> <object class="GtkTreeViewColumn" id="tvc_config_record_app"> <property name="spacing">10</property> <property name="min_width">300</property> <property name="title" translatable="yes">Application</property> <child> <object class="GtkCellRendererPixbuf" id="tvcr_config_record_bin"/> <attributes> <attribute name="stock-id">3</attribute> </attributes> </child> <child> <object class="GtkCellRendererText" id="tvcr_config_record_app"> <signal name="edited" handler="config_record_list_edit_col1" swapped="no"/> </object> <attributes> <attribute name="editable">2</attribute> <attribute name="text">1</attribute> |
︙ | ︙ | |||
454 455 456 457 458 459 460 | <property name="max_length">5</property> <property name="invisible_char">●</property> <property name="width_chars">5</property> <property name="text" translatable="yes">500</property> <property name="shadow_type">out</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> | < < | 476 477 478 479 480 481 482 483 484 485 486 487 488 489 | <property name="max_length">5</property> <property name="invisible_char">●</property> <property name="width_chars">5</property> <property name="text" translatable="yes">500</property> <property name="shadow_type">out</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> <property name="position">0</property> </packing> </child> |
︙ | ︙ | |||
607 608 609 610 611 612 613 | <property name="height_request">20</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_stock">gtk-save-as</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> | < < | 627 628 629 630 631 632 633 634 635 636 637 638 639 640 | <property name="height_request">20</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_stock">gtk-save-as</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> <property name="position">1</property> </packing> </child> |
︙ | ︙ | |||
633 634 635 636 637 638 639 640 641 642 643 644 645 646 | </child> <child> <object class="GtkCheckButton" id="config_reuse_m3u"> <property name="label" translatable="yes">Keep and reuse temporary .m3u files for played stations.</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="draw_indicator">True</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="padding">5</property> <property name="position">26</property> | > | 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 | </child> <child> <object class="GtkCheckButton" id="config_reuse_m3u"> <property name="label" translatable="yes">Keep and reuse temporary .m3u files for played stations.</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="xalign">0.5</property> <property name="draw_indicator">True</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="padding">5</property> <property name="position">26</property> |
︙ | ︙ | |||
676 677 678 679 680 681 682 | <property name="can_focus">True</property> <property name="editable">False</property> <property name="invisible_char">●</property> <property name="width_chars">20</property> <property name="primary_icon_stock">gtk-home</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> | < < | 695 696 697 698 699 700 701 702 703 704 705 706 707 708 | <property name="can_focus">True</property> <property name="editable">False</property> <property name="invisible_char">●</property> <property name="width_chars">20</property> <property name="primary_icon_stock">gtk-home</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> |
︙ | ︙ | |||
703 704 705 706 707 708 709 710 711 712 713 714 715 716 | <child> <object class="GtkCheckButton" id="config_debug"> <property name="label" translatable="yes">Enable _debug messages (on the console).</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="use_underline">True</property> <property name="draw_indicator">True</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="padding">5</property> <property name="position">30</property> | > | 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 | <child> <object class="GtkCheckButton" id="config_debug"> <property name="label" translatable="yes">Enable _debug messages (on the console).</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="use_underline">True</property> <property name="xalign">0.5</property> <property name="draw_indicator">True</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="padding">5</property> <property name="position">30</property> |
︙ | ︙ | |||
792 793 794 795 796 797 798 | <child> <object class="GtkEntry" id="config_channel_order"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> | < < | 810 811 812 813 814 815 816 817 818 819 820 821 822 823 | <child> <object class="GtkEntry" id="config_channel_order"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> |
︙ | ︙ | |||
1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 | <property name="visible">True</property> <property name="can_focus">False</property> <property name="stock">gtk-add</property> </object> <object class="GtkDialog" id="search_dialog"> <property name="width_request">325</property> <property name="can_focus">False</property> <property name="border_width">5</property> <property name="title" translatable="yes">station search</property> <property name="window_position">center-on-parent</property> <property name="destroy_with_parent">True</property> <property name="type_hint">dialog</property> <property name="gravity">center</property> | > < | > > | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | | | | < < < < < < | < < < < < < | | < < < < < < | | > > | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | > > > > | 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 | <property name="visible">True</property> <property name="can_focus">False</property> <property name="stock">gtk-add</property> </object> <object class="GtkDialog" id="search_dialog"> <property name="width_request">325</property> <property name="can_focus">False</property> <property name="opacity">0.94999999999999996</property> <property name="border_width">5</property> <property name="title" translatable="yes">station search</property> <property name="window_position">center-on-parent</property> <property name="destroy_with_parent">True</property> <property name="type_hint">dialog</property> <property name="gravity">center</property> <signal name="close" handler="search_cancel" swapped="no"/> <signal name="delete-event" handler="search_cancel" swapped="no"/> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">2</property> <child internal-child="action_area"> <object class="GtkButtonBox" id="dialog-action_area1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="layout_style">end</property> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkVBox" id="vbox1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">20</property> <child> <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes"><b><big>search</big></b></property> <property name="use_markup">True</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <placeholder/> </child> <child> <object class="GtkHBox" id="hbox1"> <property name="visible">True</property> <property name="can_focus">False</property> <child> <object class="GtkLabel" id="label1sd"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="ypad">10</property> <property name="label" translatable="yes">for</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkEntry" id="search_full"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_focus">True</property> <property name="is_focus">True</property> <property name="tooltip_text" translatable="yes">A single word to search for in all stations.</property> <property name="invisible_char">●</property> <property name="activates_default">True</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> <child> <object class="GtkLabel" id="label4sd"> <property name="visible">True</property> <property name="can_focus">False</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">2</property> </packing> </child> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">2</property> </packing> </child> <child> <object class="GtkHBox" id="hbox2"> <property name="visible">True</property> <property name="can_focus">False</property> <child> <object class="GtkLabel" id="label3sd"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xpad">10</property> <property name="ypad">10</property> <property name="label" translatable="yes">in</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkRadioButton" id="search_dialog_all"> <property name="label" translatable="yes">all channels</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="xalign">0.5</property> <property name="active">True</property> <property name="draw_indicator">True</property> <property name="group">search_dialog_current</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> <child> <object class="GtkRadioButton" id="search_dialog_current"> <property name="label" translatable="yes">just current</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="xalign">0.5</property> <property name="active">True</property> <property name="draw_indicator">True</property> <property name="group">search_dialog_all</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">2</property> </packing> </child> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">3</property> </packing> </child> <child> <placeholder/> </child> <child> <object class="GtkHBox" id="hbox3"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">20</property> <child> <object class="GtkButton" id="cache_search"> <property name="label" translatable="yes">Cache _find</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> <property name="tooltip_text" translatable="yes">Start searching for above search term in the currently loaded station lists. Doesn't find *new* information, just looks through the known data.</property> <property name="image">image1</property> <property name="relief">half</property> <property name="use_underline">True</property> <signal name="clicked" handler="search_go" swapped="no"/> <accelerator key="Return" signal="activate"/> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkButton" id="server_search"> <property name="label" translatable="yes">Server _search</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_focus">True</property> <property name="is_focus">True</property> <property name="can_default">True</property> <property name="has_default">True</property> <property name="receives_default">True</property> <property name="tooltip_text" translatable="yes">Instead of doing a cache search, go through the search functions on the directory service homepages. (UNIMPLEMENTED)</property> <property name="image">image2</property> <property name="use_underline">True</property> <signal name="clicked" handler="search_srv" swapped="no"/> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">5</property> </packing> </child> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> </child> </object> <object class="GtkMenu" id="streamactions"> <property name="visible">True</property> <property name="can_focus">False</property> <child> <object class="GtkMenuItem" id="streamactions_play"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Play</property> <property name="use_underline">True</property> <signal name="activate" handler="on_play_clicked" swapped="no"/> </object> </child> <child> <object class="GtkMenuItem" id="streamactions_record"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Record</property> <property name="use_underline">True</property> <signal name="activate" handler="on_record_clicked" swapped="no"/> </object> </child> <child> <object class="GtkMenuItem" id="streamactions_bookmark"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Bookmark</property> <property name="use_underline">True</property> <signal name="activate" handler="bookmark" swapped="no"/> </object> </child> <child> <object class="GtkMenuItem" id="extensionsCTM"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Extensions</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu" id="extensions_context"> <property name="visible">True</property> <property name="can_focus">False</property> </object> </child> </object> </child> <child> <object class="GtkMenuItem" id="save"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Save</property> <property name="use_underline">True</property> <signal name="activate" handler="save_as" swapped="no"/> </object> </child> <child> <object class="GtkMenuItem" id="edit"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Edit / Details</property> <property name="use_underline">True</property> <signal name="activate" handler="streamedit_open" swapped="no"/> </object> </child> <child> <object class="GtkMenuItem" id="homepage"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Station homepage</property> <property name="use_underline">True</property> <signal name="activate" handler="on_homepage_stream_clicked" swapped="no"/> </object> </child> </object> <object class="GtkDialog" id="timer_dialog"> <property name="can_focus">False</property> <property name="border_width">5</property> <property name="type_hint">normal</property> <signal name="close" handler="timer_cancel" swapped="no"/> <signal name="delete-event" handler="timer_cancel" swapped="no"/> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox2"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">2</property> <child internal-child="action_area"> <object class="GtkButtonBox" id="dialog-action_area2"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="layout_style">end</property> <child> <object class="GtkButton" id="timer_cancel"> <property name="label" translatable="yes">cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <signal name="clicked" handler="timer_cancel" swapped="no"/> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkButton" id="timer_ok"> <property name="label" translatable="yes">ok</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <signal name="clicked" handler="timer_ok" swapped="no"/> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkTable" id="table2"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="n_rows">3</property> <property name="n_columns">3</property> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <object class="GtkEntry" id="timer_value"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="text" translatable="yes">Fri,Sat 20:00-21:00</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">1</property> <property name="bottom_attach">2</property> </packing> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> </child> <action-widgets> <action-widget response="0">timer_cancel</action-widget> <action-widget response="0">timer_ok</action-widget> </action-widgets> </object> <object class="GtkWindow" id="url_action_container"> <property name="can_focus">False</property> <child> <object class="GtkVBox" id="url_action_list"> <property name="visible">True</property> <property name="can_focus">False</property> |
︙ | ︙ | |||
1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 | </packing> </child> </object> </child> </object> <object class="GtkWindow" id="win_streamedit"> <property name="can_focus">False</property> <property name="border_width">5</property> <property name="title" translatable="yes">inspect/edit stream data</property> <property name="window_position">center-on-parent</property> <property name="destroy_with_parent">True</property> <property name="skip_pager_hint">True</property> | > < | 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 | </packing> </child> </object> </child> </object> <object class="GtkWindow" id="win_streamedit"> <property name="can_focus">False</property> <property name="opacity">0.94999999999999996</property> <property name="border_width">5</property> <property name="title" translatable="yes">inspect/edit stream data</property> <property name="window_position">center-on-parent</property> <property name="destroy_with_parent">True</property> <property name="skip_pager_hint">True</property> <signal name="delete-event" handler="streamedit_cancel" swapped="no"/> <child> <object class="GtkTable" id="table6"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="border_width">15</property> <property name="n_rows">10</property> |
︙ | ︙ | |||
1290 1291 1292 1293 1294 1295 1296 | <child> <object class="GtkEntry" id="streamedit_title"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> | < < < < < < < < < < < < | 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 | <child> <object class="GtkEntry" id="streamedit_title"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">1</property> <property name="bottom_attach">2</property> </packing> </child> <child> <object class="GtkEntry" id="streamedit_playing"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">2</property> <property name="bottom_attach">3</property> </packing> </child> <child> <object class="GtkEntry" id="streamedit_homepage"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">3</property> <property name="bottom_attach">4</property> </packing> </child> <child> <object class="GtkEntry" id="streamedit_genre"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">4</property> <property name="bottom_attach">5</property> </packing> </child> <child> <object class="GtkEntry" id="streamedit_url"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">5</property> <property name="bottom_attach">6</property> </packing> </child> <child> <object class="GtkEntry" id="streamedit_favicon"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">6</property> <property name="bottom_attach">7</property> </packing> |
︙ | ︙ | |||
1536 1537 1538 1539 1540 1541 1542 | <child> <object class="GtkEntry" id="streamedit_extra"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> | < < | 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 | <child> <object class="GtkEntry" id="streamedit_extra"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">8</property> <property name="bottom_attach">9</property> </packing> |
︙ | ︙ | |||
1577 1578 1579 1580 1581 1582 1583 | <child> <object class="GtkEntry" id="streamedit_format"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> | < < < < < < < | 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 | <child> <object class="GtkEntry" id="streamedit_format"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">7</property> <property name="bottom_attach">8</property> </packing> </child> </object> </child> </object> <object class="GtkWindow" id="win_streamtuner2"> <property name="width_request">500</property> <property name="height_request">330</property> <property name="can_focus">False</property> <property name="title" translatable="yes">streamtuner2</property> <property name="default_width">980</property> <property name="default_height">775</property> <property name="icon">/usr/share/pixmaps/streamtuner2.png</property> <property name="icon_name">applications-multimedia</property> <signal name="delete-event" handler="gtk_main_quit" swapped="no"/> <child> <object class="GtkVBox" id="vbox2"> <property name="visible">True</property> <property name="can_focus">False</property> <child> <object class="GtkHBox" id="hbox8"> |
︙ | ︙ | |||
1637 1638 1639 1640 1641 1642 1643 1644 1645 | <property name="can_focus">False</property> <child> <object class="GtkMenuItem" id="menu_bookmark"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">bookmark</property> <property name="use_underline">True</property> <accelerator key="F8" signal="activate"/> <accelerator key="d" signal="activate" modifiers="GDK_CONTROL_MASK"/> | > < > < > < | | 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 | <property name="can_focus">False</property> <child> <object class="GtkMenuItem" id="menu_bookmark"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">bookmark</property> <property name="use_underline">True</property> <signal name="activate" handler="bookmark" swapped="no"/> <accelerator key="F8" signal="activate"/> <accelerator key="d" signal="activate" modifiers="GDK_CONTROL_MASK"/> </object> </child> <child> <object class="GtkImageMenuItem" id="imagemenuitem_saveas"> <property name="label">gtk-save-as</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <signal name="activate" handler="save_as" swapped="no"/> <accelerator key="s" signal="activate" modifiers="GDK_CONTROL_MASK"/> <accelerator key="F2" signal="activate"/> </object> </child> <child> <object class="GtkImageMenuItem" id="gtk-edit"> <property name="label">gtk-edit</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <signal name="activate" handler="streamedit_open" swapped="no"/> <accelerator key="Return" signal="activate" modifiers="GDK_MOD1_MASK"/> <accelerator key="space" signal="activate" modifiers="GDK_MOD1_MASK"/> <accelerator key="F3" signal="activate"/> </object> </child> <child> <object class="GtkMenuItem" id="extensions_main0"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Extensions</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu" id="extensions"> <property name="visible">True</property> |
︙ | ︙ | |||
1694 1695 1696 1697 1698 1699 1700 | <child> <object class="GtkImageMenuItem" id="imagemenuitem_quit"> <property name="label">gtk-quit</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="use_underline">True</property> <property name="use_stock">True</property> | < > | 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 | <child> <object class="GtkImageMenuItem" id="imagemenuitem_quit"> <property name="label">gtk-quit</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <signal name="activate" handler="gtk_main_quit" swapped="no"/> <accelerator key="F4" signal="activate" modifiers="GDK_MOD1_MASK"/> </object> </child> </object> </child> </object> </child> <child> |
︙ | ︙ | |||
1730 1731 1732 1733 1734 1735 1736 1737 1738 | <child> <object class="GtkImageMenuItem" id="menuitem_delete"> <property name="label">gtk-delete</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <accelerator key="x" signal="activate" modifiers="GDK_CONTROL_MASK"/> <accelerator key="Delete" signal="activate"/> | > < < > | 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 | <child> <object class="GtkImageMenuItem" id="menuitem_delete"> <property name="label">gtk-delete</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <signal name="activate" handler="delete_entry" swapped="no"/> <accelerator key="x" signal="activate" modifiers="GDK_CONTROL_MASK"/> <accelerator key="Delete" signal="activate"/> </object> </child> <child> <object class="GtkImageMenuItem" id="imagemenuitem8"> <property name="label">gtk-find</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <signal name="activate" handler="search_open" swapped="no"/> <accelerator key="f" signal="activate" modifiers="GDK_CONTROL_MASK"/> </object> </child> <child> <object class="GtkSeparatorMenuItem" id="separatormenuitem4"> <property name="visible">True</property> <property name="can_focus">False</property> </object> |
︙ | ︙ | |||
1898 1899 1900 1901 1902 1903 1904 | <child> <object class="GtkImageMenuItem" id="menu_settings"> <property name="label">gtk-properties</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="use_underline">True</property> <property name="use_stock">True</property> | < > | 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 | <child> <object class="GtkImageMenuItem" id="menu_settings"> <property name="label">gtk-properties</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <signal name="activate" handler="menu_properties" swapped="no"/> <accelerator key="F12" signal="activate"/> </object> </child> </object> </child> </object> </child> <child> |
︙ | ︙ | |||
1931 1932 1933 1934 1935 1936 1937 | </child> <child> <object class="GtkMenuItem" id="menuitem_reload"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Reload</property> <property name="use_underline">True</property> | < > | 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 | </child> <child> <object class="GtkMenuItem" id="menuitem_reload"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Reload</property> <property name="use_underline">True</property> <signal name="activate" handler="on_reload_clicked" swapped="no"/> <accelerator key="F5" signal="activate"/> </object> </child> <child> <object class="GtkMenuItem" id="menuitem10favicons"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="tooltip_text" translatable="yes">this will take a few minutes</property> |
︙ | ︙ | |||
2125 2126 2127 2128 2129 2130 2131 | <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="width_chars">10</property> <property name="xalign">0.10000000149011612</property> <property name="secondary_icon_stock">gtk-find</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> | < < | 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 | <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="width_chars">10</property> <property name="xalign">0.10000000149011612</property> <property name="secondary_icon_stock">gtk-find</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> <signal name="changed" handler="quicksearch_set" swapped="no"/> <signal name="icon-press" handler="quicksearch_set" swapped="no"/> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="padding">20</property> |
︙ | ︙ | |||
2158 2159 2160 2161 2162 2163 2164 | <child> <object class="GtkImage" id="img_logo"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="events">GDK_EXPOSURE_MASK | GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_MOTION_MASK | GDK_BUTTON1_MOTION_MASK | GDK_BUTTON2_MOTION_MASK | GDK_BUTTON3_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK | GDK_PROPERTY_CHANGE_MASK | GDK_VISIBILITY_NOTIFY_MASK | GDK_PROXIMITY_IN_MASK | GDK_PROXIMITY_OUT_MASK | GDK_SUBSTRUCTURE_MASK | GDK_SCROLL_MASK</property> <property name="xpad">15</property> <property name="stock">gtk-media-play</property> | < < > > > > > > | 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 | <child> <object class="GtkImage" id="img_logo"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="events">GDK_EXPOSURE_MASK | GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_MOTION_MASK | GDK_BUTTON1_MOTION_MASK | GDK_BUTTON2_MOTION_MASK | GDK_BUTTON3_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK | GDK_PROPERTY_CHANGE_MASK | GDK_VISIBILITY_NOTIFY_MASK | GDK_PROXIMITY_IN_MASK | GDK_PROXIMITY_OUT_MASK | GDK_SUBSTRUCTURE_MASK | GDK_SCROLL_MASK</property> <property name="xpad">15</property> <property name="stock">gtk-media-play</property> <signal name="button-press-event" handler="double_click_channel_tab" swapped="no"/> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkNotebook" id="notebook_channels"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="scrollable">True</property> <property name="enable_popup">True</property> <signal name="switch-page" handler="on_notebook_channels_switch_page" swapped="no"/> <child> <object class="GtkHPaned" id="v_bookmarks"> <property name="visible">True</property> <property name="can_focus">True</property> <child> <object class="GtkScrolledWindow" id="bookmarks_cat_scrollwin1"> <property name="width_request">150</property> <property name="visible">True</property> <property name="can_focus">True</property> <child> <object class="GtkTreeView" id="bookmarks_cat"> <property name="width_request">75</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="enable_tree_lines">True</property> <signal name="button-release-event" handler="on_category_clicked" swapped="no"/> <child internal-child="selection"> <object class="GtkTreeSelection" id="treeview-selection3"/> </child> </object> </child> </object> <packing> <property name="resize">False</property> <property name="shrink">True</property> </packing> </child> <child> <object class="GtkScrolledWindow" id="bookmarks_list_scrollwin1"> <property name="visible">True</property> <property name="can_focus">True</property> <child> <object class="GtkTreeView" id="bookmarks_list"> <property name="width_request">200</property> <property name="visible">True</property> <property name="can_focus">True</property> <signal name="button-press-event" handler="station_context_menu" swapped="no"/> <signal name="row-activated" handler="on_stream_row_activated" swapped="no"/> <child internal-child="selection"> <object class="GtkTreeSelection" id="treeview-selection4"/> </child> </object> </child> </object> <packing> <property name="resize">True</property> <property name="shrink">True</property> </packing> |
︙ | ︙ | |||
2248 2249 2250 2251 2252 2253 2254 | <property name="position">0</property> </packing> </child> <child> <object class="GtkLabel" id="l_bookmarks"> <property name="visible">True</property> <property name="can_focus">False</property> | | < | 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 | <property name="position">0</property> </packing> </child> <child> <object class="GtkLabel" id="l_bookmarks"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">bookmarks</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="tab_fill">False</property> </packing> </child> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> |
︙ | ︙ | |||
2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 | <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">2</property> </packing> </child> </object> </child> </object> </interface> | > > > > > | 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 | <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">2</property> </packing> </child> </object> </child> <child internal-child="accessible"> <object class="AtkObject" id="win_streamtuner2-atkobject"> <property name="AtkObject::accessible-name" translatable="yes">streamtuner2</property> </object> </child> </object> </interface> |