SourceForge: tortoisehg/tortoisehg: changeset 4775:0ba72ad59980
thgconfig: fix UI layout stable
authorYuki KODAMA <endflow.net@gmail.com>
Tue Oct 27 00:41:49 2009 +0900 (4 weeks ago)
branchstable
changeset 47750ba72ad59980
parent 4774a4da7efd44a5
child 477687a7349eb1b1
thgconfig: fix UI layout
tortoisehg/hgtk/thgconfig.py
     1.1 --- a/tortoisehg/hgtk/thgconfig.py	Mon Oct 26 16:23:44 2009 +0100
     1.2 +++ b/tortoisehg/hgtk/thgconfig.py	Tue Oct 27 00:41:49 2009 +0900
     1.3 @@ -872,10 +872,10 @@
     1.4  
     1.5      def fill_path_frame(self, frvbox):
     1.6          frame = gtk.Frame(_('Remote repository paths'))
     1.7 -        frame.set_border_width(10)
     1.8 +        frame.set_border_width(4)
     1.9          frvbox.pack_start(frame, True, True, 2)
    1.10          vbox = gtk.VBox()
    1.11 -        vbox.set_border_width(5)
    1.12 +        vbox.set_border_width(4)
    1.13          frame.add(vbox)
    1.14  
    1.15          # Initialize data model for 'Paths' tab
    1.16 @@ -905,27 +905,27 @@
    1.17          self.addButton = gtk.Button(_('_Add'))
    1.18          self.addButton.set_use_underline(True)
    1.19          self.addButton.connect('clicked', self._add_path)
    1.20 -        buttonbox.pack_start(self.addButton)
    1.21 +        buttonbox.pack_start(self.addButton, True, True, 2)
    1.22  
    1.23          self._editpathbutton = gtk.Button(_('_Edit'))
    1.24          self._editpathbutton.set_use_underline(True)
    1.25          self._editpathbutton.connect('clicked', self._edit_path)
    1.26 -        buttonbox.pack_start(self._editpathbutton)
    1.27 +        buttonbox.pack_start(self._editpathbutton, True, True, 2)
    1.28  
    1.29          self._delpathbutton = gtk.Button(_('_Remove'))
    1.30          self._delpathbutton.set_use_underline(True)
    1.31          self._delpathbutton.connect('clicked', self._remove_path)
    1.32 -        buttonbox.pack_start(self._delpathbutton)
    1.33 +        buttonbox.pack_start(self._delpathbutton, True, True, 2)
    1.34  
    1.35          self._testpathbutton = gtk.Button(_('_Test'))
    1.36          self._testpathbutton.set_use_underline(True)
    1.37          self._testpathbutton.connect('clicked', self._test_path)
    1.38 -        buttonbox.pack_start(self._testpathbutton)
    1.39 +        buttonbox.pack_start(self._testpathbutton, True, True, 2)
    1.40  
    1.41          self._defaultpathbutton = gtk.Button(_('Set as _default'))
    1.42          self._defaultpathbutton.set_use_underline(True)
    1.43          self._defaultpathbutton.connect('clicked', self._default_path)
    1.44 -        buttonbox.pack_start(self._defaultpathbutton)
    1.45 +        buttonbox.pack_start(self._defaultpathbutton, True, True, 2)
    1.46  
    1.47          vbox.pack_start(buttonbox, False, False, 4)
    1.48