merge
authorAlan Knowles <alan@akbkhome.com>
Wed, 23 May 2012 14:39:48 +0000 (22:39 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 23 May 2012 14:39:48 +0000 (22:39 +0800)
Clones.bjs
Clones.js
WindowLog.js

index 85acbe9..e7e3709 100644 (file)
@@ -90,7 +90,7 @@
                                     "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": [
                                         {
index 8b30b65..6e48f5d 100644 (file)
--- a/Clones.js
+++ b/Clones.js
@@ -329,7 +329,7 @@ Clones=new XObject({
                                          });
                                       
                                       
-                                      //this.el.set_tooltip_column(8); 
+                                      this.el.set_tooltip_column(8); 
                                          
                                         
                               },
index ddb1bc5..4dce1ee 100644 (file)
@@ -31,6 +31,7 @@ WindowLog = {
  
     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() } );
@@ -39,6 +40,7 @@ WindowLog = {
         
     getStatus : function() {
         
+         
         var output =  xorg.screensaverinfo_get_idletime();
         //print(output);
          
@@ -50,7 +52,9 @@ WindowLog = {
             this.win = false;
             return true;
         }
+        
         this.screen.force_update();
+       
         var aw = this.screen.get_active_window();
         if (aw) { 
             var win = aw.get_name();