X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=RepoStatusPopover.bjs;fp=RepoStatusPopover.bjs;h=2cda159c0f8d8654d2b52b64c09039220b4bace4;hp=89222f0c4565f26a44574ad8567eef094b21cf4f;hb=4b4588735086d6d1d02e352acea84a73b36b70c9;hpb=c91fea4edfbd04a09799ca8b2509b4cceb4da126 diff --git a/RepoStatusPopover.bjs b/RepoStatusPopover.bjs index 89222f0c..2cda159c 100644 --- a/RepoStatusPopover.bjs +++ b/RepoStatusPopover.bjs @@ -35,8 +35,8 @@ "items" : [ { "Gtk.ToolbarStyle toolbar_style" : "Gtk.ToolbarStyle.BOTH_HORIZ", - "* pack" : "add", "xtype" : "Toolbar", + "* pack" : "add", "$ xns" : "Gtk", "items" : [ { @@ -95,15 +95,15 @@ "items" : [ { "id" : "label_status", - "xtype" : "Label", "* pack" : false, + "xtype" : "Label", "$ xns" : "Gtk", "utf8 label" : "Status" }, { "id" : "label_diff", - "* pack" : false, "xtype" : "Label", + "* pack" : false, "$ xns" : "Gtk", "utf8 label" : "Diff" }, @@ -139,8 +139,8 @@ "items" : [ { "int height_request" : 400, - "xtype" : "ScrolledWindow", "* pack" : "pack_start,true,true,0", + "xtype" : "ScrolledWindow", "$ xns" : "Gtk", "items" : [ { @@ -167,8 +167,8 @@ "items" : [ { "Gtk.ToolbarStyle toolbar_style" : "Gtk.ToolbarStyle.BOTH_HORIZ", - "xtype" : "Toolbar", "* pack" : "add", + "xtype" : "Toolbar", "$ xns" : "Gtk", "items" : [ { @@ -184,7 +184,8 @@ }, { "listeners" : { - "button_press_event" : "() => {\n\n _this.el.hide();\n Clones.singleton().el.response(-1);\n if (_this.repo.activeTicket != null) {\n\t MergeBranch.singleton().show(_this.repo.activeTicket, null); \n }\n return false;\n}" + "button_press_event" : "() => {\n\n _this.el.hide();\n Clones.singleton().el.response(-1);\n if (_this.repo.activeTicket != null) {\n\t MergeBranch.singleton().show(_this.repo.activeTicket, null); \n }\n return false;\n}", + "clicked" : "" }, "label" : "Merge branch/ ticket", "* ctor" : "new Gtk.ToolButton(new Gtk.Image.from_icon_name (\"gtk-goto-top\", Gtk.IconSize.SMALL_TOOLBAR), null);",