"|editable": "false",
"|init": "function() {\n XObject.prototype.init.call(this);\n var description = Pango.font_description_from_string(\"monospace\");\n\n description.set_size(8000);\n this.el.modify_font(description);\n\n}\n",
"|load": "function(str) {\n\n// show the help page for the active node..\n \n\n\n \n this.el.get_buffer().set_text(str, str.length);\n \n \n var buf = this.el.get_buffer();\n \n \n \n}",
- "|show": "function(p) {\n var line = '[' + p.status_name + '] <b>' + \n GLib.markup_escape_text(p.summary, p.summary.length) + \"</b>\\n\" +\n '<span color=\"#666\">' + \n GLib.markup_escape_text(p.description,p.description.length) +\n '</span>';\n print(line);\n \n this.el.get_buffer().set_text(line, line.length);\n \n}\n",
+ "|show": "function(p) {\n var line = [\n 'Status : ' + p.status_name,\n 'ID : ' + p.id,\n '',\n 'Summary : ' + p.summary,\n '' + \n p.description,\n ].join(\"\\n\") ;\n print(line);\n \n this.el.get_buffer().set_text(line, line.length);\n \n}\n",
"|show_line_numbers": true,
"|xns": "Gtk",
"items": [
},
show : function(p) {
- var line = '[' + p.status_name + '] <b>' +
- GLib.markup_escape_text(p.summary, p.summary.length) + "</b>\n" +
- '<span color="#666">' +
- GLib.markup_escape_text(p.description,p.description.length) +
- '</span>';
+ var line = [
+ 'Status : ' + p.status_name,
+ 'ID : ' + p.id,
+ '',
+ 'Summary : ' + p.summary,
+ '' +
+ p.description,
+ ].join("\n") ;
print(line);
this.el.get_buffer().set_text(line, line.length);