FixBug.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 9 Dec 2012 14:47:41 +0000 (22:47 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 9 Dec 2012 14:47:41 +0000 (22:47 +0800)
FixBug.js

FixBug.bjs
FixBug.js

index 0a574ef..6b736ee 100644 (file)
                             ]
                         }
                     ]
+                },
+                {
+                    "pack": "pack_end,false,true,3",
+                    "xtype": "HBox",
+                    "|xns": "Gtk",
+                    "items": [
+                        {
+                            "label": "On this project:",
+                            "xtype": "Label",
+                            "|xns": "Gtk"
+                        },
+                        {
+                            "xtype": "ComboBox",
+                            "|xns": "Gtk"
+                        },
+                        {
+                            "listeners": {
+                                "button_press_event": "function (self, event) {\n \n    FixBug.el.hide();\n}"
+                            },
+                            "height_request": 90,
+                            "label": "Not working on Project",
+                            "pack": "add",
+                            "xtype": "Button",
+                            "|xns": "Gtk"
+                        },
+                        {
+                            "listeners": {
+                                "button_press_event": "function (self, event) {\n\n   FixBug.el.hide();\n}"
+                            },
+                            "id": "ok_button",
+                            "label": "Working on Selected Ticket",
+                            "pack": "add",
+                            "xtype": "Button",
+                            "|xns": "Gtk"
+                        }
+                    ]
                 }
             ]
         }
index 2f8d04f..60dc367 100644 (file)
--- a/FixBug.js
+++ b/FixBug.js
@@ -336,6 +336,43 @@ FixBug=new XObject({
                     ]
                 }
             ]
+        },
+        {
+            xtype: Gtk.HBox,
+            pack : "pack_end,false,true,3",
+            items : [
+                {
+                    xtype: Gtk.Label,
+                    label : "On this project:"
+                },
+                {
+                    xtype: Gtk.ComboBox
+                },
+                {
+                    xtype: Gtk.Button,
+                    listeners : {
+                        button_press_event : function (self, event) {
+                         
+                            FixBug.el.hide();
+                        }
+                    },
+                    height_request : 90,
+                    label : "Not working on Project",
+                    pack : "add"
+                },
+                {
+                    xtype: Gtk.Button,
+                    listeners : {
+                        button_press_event : function (self, event) {
+                        
+                           FixBug.el.hide();
+                        }
+                    },
+                    id : "ok_button",
+                    label : "Working on Selected Ticket",
+                    pack : "add"
+                }
+            ]
         }
     ]
 });