Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.1, 1.1.1, and 1.1.2

history: Make pbranch and mq panes appear in correct order

MQ is to the far left, as it also modifies the PBranch data

Changeset be8349bcb224

Parent 1a68c6ba32e3

by Peer Sommerlund

Changes to one file · Browse files at be8349bcb224 Showing diff from parent 1a68c6ba32e3 Diff from another changeset...

 
1540
1541
1542
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1543
1544
1545
 
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
 
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
 
1590
1591
1592
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1593
1594
1595
@@ -1540,6 +1540,23 @@
  midpane.pack_start(self.graphview)   midpane.show_all()   + # pbranch widget + if 'pbranch' in self.exs: + # create PBranchWidget + self.pbranchwidget = thgpbranch.PBranchWidget( + self.repo, self.stbar, accelgroup, self.tooltips) + + def wrapframe(widget): + frame = gtk.Frame() + frame.set_shadow_type(gtk.SHADOW_ETCHED_IN) + frame.add(widget) + return frame + self.pbranchpaned = gtk.HPaned() + self.pbranchpaned.add1(wrapframe(self.pbranchwidget)) + self.pbranchpaned.add2(wrapframe(midpane)) + + midpane = self.pbranchpaned +   # MQ widget   if 'mq' in self.exs:   # create MQWidget @@ -1573,23 +1590,6 @@
    midpane = self.mqpaned   - # pbranch widget - if 'pbranch' in self.exs: - # create PBranchWidget - self.pbranchwidget = thgpbranch.PBranchWidget( - self.repo, self.stbar, accelgroup, self.tooltips) - - def wrapframe(widget): - frame = gtk.Frame() - frame.set_shadow_type(gtk.SHADOW_ETCHED_IN) - frame.add(widget) - return frame - self.pbranchpaned = gtk.HPaned() - self.pbranchpaned.add1(wrapframe(self.pbranchwidget)) - self.pbranchpaned.add2(wrapframe(midpane)) - - midpane = self.pbranchpaned -   # Add ChangeSet instance to bottom half of vpane   self.changeview.graphview = self.graphview   self.hpaned = self.changeview.get_body()