Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

thgconfig: improve UI layout

Changeset 277ce852e61c

Parent 685424a36325

by Yuki KODAMA

Changes to one file · Browse files at 277ce852e61c Showing diff from parent 685424a36325 Diff from another changeset...

 
559
560
561
 
 
 
 
 
 
562
563
564
 
570
571
572
573
 
 
 
 
574
575
576
577
578
 
579
580
581
 
559
560
561
562
563
564
565
566
567
568
569
570
 
576
577
578
 
579
580
581
582
583
584
585
586
 
587
588
589
590
@@ -559,6 +559,12 @@
  self.connect('thg-accept', self.thgaccept)   self.connect('delete-event', self.delete_event)   + # wrapper box for padding + wrapbox = gtk.VBox() + wrapbox.set_border_width(5) + self.vbox.pack_start(wrapbox, False, False) + + # create combo to select the target   combo = gtk.combo_box_new_text()   combo.append_text(_('User global settings'))   if repo: @@ -570,12 +576,15 @@
  edit = gtk.Button(_('Edit File'))   hbox.pack_start(edit, False, False, 2)   edit.connect('clicked', self.edit_clicked) - self.vbox.pack_start(hbox, False, False, 4) + wrapbox.pack_start(hbox, False, False, 1) + + # insert padding of between combo and notebook + wrapbox.pack_start(gtk.VBox(), False, False, 3)     # Create a new notebook, place the position of the tabs   self.notebook = notebook = gtk.Notebook()   notebook.set_tab_pos(gtk.POS_TOP) - self.vbox.pack_start(notebook, True, True) + wrapbox.pack_start(notebook, True, True)   notebook.show()   self.show_tabs = True   self.show_border = True