"id": "reposView",
"pack": "add",
"xtype": "TreeView",
- "|init": "function() {\n XObject.prototype.init.call(this);\n var description = new Pango.FontDescription.c_new();\n description.set_size(10000);\n this.el.modify_font(description);\n\n this.selection = this.el.get_selection();\n this.selection.set_mode( Gtk.SelectionMode.MULTIPLE);\n var _this = this;\n \n \n this.selection.signal['changed'].connect(function() {\n _this.listeners.cursor_changed.apply(\n _this, [ _this, '']\n );\n });\n \n \n //this.el.set_tooltip_column(8); \n \n \n }\n",
+ "|init": "function() {\n XObject.prototype.init.call(this);\n var description = new Pango.FontDescription.c_new();\n description.set_size(10000);\n this.el.modify_font(description);\n\n this.selection = this.el.get_selection();\n this.selection.set_mode( Gtk.SelectionMode.MULTIPLE);\n var _this = this;\n \n \n this.selection.signal['changed'].connect(function() {\n _this.listeners.cursor_changed.apply(\n _this, [ _this, '']\n );\n });\n \n \n this.el.set_tooltip_column(8); \n \n \n }\n",
"|xns": "Gtk",
"items": [
{
});
- //this.el.set_tooltip_column(8);
+ this.el.set_tooltip_column(8);
},
start : function()
{
+
this.outdir = GLib.get_home_dir() + "/.gitlog";
this.screen = Wnck.Screen.get_default();
GLib.timeout_add(GLib.PRIORITY_LOW, 500, function() { return WindowLog.getStatus() } );
getStatus : function() {
+
var output = xorg.screensaverinfo_get_idletime();
//print(output);
this.win = false;
return true;
}
+
this.screen.force_update();
+
var aw = this.screen.get_active_window();
if (aw) {
var win = aw.get_name();