Diff
Differences From Artifact [1622338506]:
- File channels/bookmarks.py — part of check-in [2a364e20fd] at 2015-03-29 14:49:33 on branch trunk — Minor updates to category: field (now displayed in config dialog.) (user: mario, size: 7710) [annotate] [blame] [check-ins using]
To Artifact [de1d64d722]:
- File channels/bookmarks.py — part of check-in [193527df2c] at 2015-03-31 19:26:07 on branch trunk — Add basic menu_label= manually (GtkBuilder option seems to have no effect, only populates tab_label= with child widget.) (user: mario, size: 7903) [annotate] [blame] [check-ins using]
| ︙ | |||
47 48 49 50 51 52 53 54 55 56 57 58 59 60 | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | + + + + + + |
current = "favourite"
default = "favourite"
streams = {"favourite":[], "search":[], "scripts":[], "timer":[], "history":[], }
# cache list, to determine if a PLS url is bookmarked
urls = []
def gui(self, parent):
GenericChannel.gui(self, parent)
parent.notebook_channels.set_menu_label_text(parent.v_bookmarks, "bookmarks")
# this channel does not actually retrieve/parse data from anywhere
def update_categories(self):
pass
# but category sub-plugins might provide a hook
|
| ︙ |