116
117
118
119
120
121
122
123
124
125
|
conf.specbuttons = r
self.update_buttons(self.parent)
# Button callback, allow for %url/%title placeholders
def action(self, cmd):
if re.search("[%$]", cmd):
row = self.parent.channel().row()
cmd = action.interpol(cmd, row=row, add_default=False)
action.run(cmd)
|
|
|
116
117
118
119
120
121
122
123
124
125
|
conf.specbuttons = r
self.update_buttons(self.parent)
# Button callback, allow for %url/%title placeholders
def action(self, cmd):
if re.search("[%$]", cmd):
row = self.parent.channel().row()
cmd = action.run_fmt_url(cmd, row=row, add_default=False, cmd=cmd)
action.run(cmd)
|