RooTicket.vala
[gitlive] / NewBranch.vala
index d468b49..83284d2 100644 (file)
@@ -205,10 +205,12 @@ public class NewBranch : Object
                        _this.name.el.set_text("wip_NAME_DATE");
                        return;
                }
+               
                var ticket = RooTicket.singleton().getById(ticket_id);
                
-                       _this.name.el.set_text("wip_NAME_%s".printf(ticket.toBranchName());
-               GLib.debug ("Selection: %s, %s\n", (string) val1, (string) val2);
+               _this.name.el.set_text("wip_NAME_T%s_%s".printf(ticket.id, ticket.summaryToBranchName()));
+               
+               //GLib.debug ("Selection: %s, %s\n", (string) val1, (string) val2);
             });
         }