X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=Clones.vala;h=65976e966626c29e1f65ee8375426adc679e6a4d;hp=befa7f30ed012ba691ca937d5ff87fd67b6ffa65;hb=72a4edfbda67d0bf3eb93a91c28c4084945ddae5;hpb=2ac46b7e5e54b5382df0c55b865e47a9937e15f8 diff --git a/Clones.vala b/Clones.vala index befa7f30..65976e96 100644 --- a/Clones.vala +++ b/Clones.vala @@ -68,7 +68,7 @@ public class Clones : Object // user defined functions public void show () { - + GLib.debug("show clones?"); this.el.set_deletable(true); this.el.set_gravity(Gdk.Gravity.NORTH); this.el.move((Gdk.Screen.width() / 2 ) -400 ,0); @@ -81,6 +81,7 @@ public class Clones : Object this.el.show_all(); _this.reposStore.load(); this.el.set_keep_above(true); + GLib.debug("show clones = run?"); this.el.run(); // load clones.. // this.get('/reposStore').load(); @@ -169,6 +170,12 @@ public class Clones : Object // set gobject values this.el.label = "Add Repository"; + // init method + + { + this.el.get_style_context().add_class("suggested-action"); + } + //listeners this.el.clicked.connect( () => { Clone.singleton().show(this.el);