StatusIcon.js
authorAlan Knowles <alan@roojs.com>
Sun, 9 Dec 2012 14:23:25 +0000 (22:23 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 9 Dec 2012 14:23:25 +0000 (22:23 +0800)
StatusIcon.js

index 89a5477..bc14701 100644 (file)
@@ -170,6 +170,26 @@ var StatusIcon  = new XObject({
                         }   
                     }
                 },
+                {
+                    init : function() {
+                        this.el = new Gtk.ImageMenuItem.from_stock(Gtk.STOCK_SAVE);
+                        XObject.prototype.init.call(this);
+                    },
+                    label: 'Manage Clones',
+                    always_show_image : true,
+                    accel_group : null,
+                    
+                    //label: 'Pause',
+                    pack:  'append',
+                    listeners : {
+                        activate : function () {
+                             var ret = imports.Clones.Clones.show();
+                            
+                        }
+                    }
+                },
+                
+                
                 {
                     init : function() {
                         this.el = new Gtk.ImageMenuItem.from_stock(Gtk.STOCK_RELOAD);