ignore uptodate
authorAlan Knowles <alan@roojs.com>
Wed, 30 Nov 2011 01:17:15 +0000 (09:17 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 30 Nov 2011 01:17:15 +0000 (09:17 +0800)
Scm/Git/Repo.js
StatusIcon.js
XObject.js
install1.2.sh

index e42dafc..4c36808 100644 (file)
@@ -712,7 +712,7 @@ Repo = XObject.define(
         pull : function ()
         {
             // should probably hand error conditions better... 
-            this.git([ 'pull' ]);
+            return this.git([ 'pull' ]);
             
             
         },
index 1e93582..3e4aa59 100644 (file)
@@ -142,7 +142,12 @@ var StatusIcon  = new XObject({
                                     repopath : fn
                                 });
                                 try { 
-                                    var str = repo.pull(); 
+                                    var str = repo.pull();
+                                    // do not care if it's already in sycn..
+                                    if (str.match(/Already up-to-date/)) {
+                                        continue;
+                                    }
+                                    
                                     var notification = new Notify.Notification({
                                        summary: "Updated " + fn,
                                        body : str
index 3064ac3..f524e1c 100644 (file)
@@ -111,8 +111,8 @@ XObject.prototype = {
      /**
      * @property config {Object} the construction configuration.
      */
+     
      /**
-      * @method init
       * Initializes the Element (el) hooks up all the listeners
       * and packs the children.
       * you can override this, in child objects, then 
@@ -252,7 +252,7 @@ XObject.prototype = {
       * @method addItem
       * Adds an item to the object using a new XObject
       * uses pack property to determine how to add it.
-      * @arg cfg {Object} same as XObject constructor.
+      * @param {Object} cfg  same as XObject constructor.
       */
     addItem : function(o) {
         if (typeof(o) == 'undefined') {
index c165616..63dd28a 100644 (file)
@@ -10,3 +10,7 @@ mkdir -p ~/.Builder/girepository-1.2 || false
 ls gir-1.2 | sed s/.gir// | awk \
     '{ print "g-ir-compiler  gir-1.2/" $1 ".gir --includedir=gir-1.2 -o  ~/.Builder/girepository-1.2/" $1 ".typelib" }' \
     | sh -x
+
+
+
+cp ~/.Builder/girepository-1.2/GLib-2.0.typelib /usr/lib/girepository-1.0/