NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 02:21:35 +0000 (10:21 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 02:21:35 +0000 (10:21 +0800)
NewBranch.vala

NewBranch.bjs
NewBranch.vala

index 92f356b..4cf708d 100644 (file)
         },
         {
          "label" : "Create Branch",
-         "* init" : "{\n  this.get_style_context().add_class(\"suggested-action\");\n}\n",
+         "* init" : "{\n   this.el.get_style_context().add_class(\"suggested-action\");\n}\n",
          "xtype" : "Button",
          "* pack" : "attach_defaults,4,5,3,4",
          "$ xns" : "Gtk"
index e5678ea..48b2ef4 100644 (file)
@@ -657,7 +657,7 @@ public class NewBranch : Object
             // init method
 
             {
-              this.get_style_context().add_class("suggested-action");
+               this.el.get_style_context().add_class("suggested-action");
             }
         }