1. TortoiseHg
  2. TortoiseHg
  3. thg


Steve Borho  committed cb7602c

backout: pack checkbuttons vertically

This was made necessary by longer --merge description

  • Participants
  • Parent commits ec1f5fb
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/backout.py Modified

View file
  • Ignore whitespace
  • Hide word diff
                 _('Commit message text for new changeset that reverses the'
                 '  effect of the change being backed out.'))
-        hbox = gtk.HBox()
         ## use English backout message option
         self.eng_msg = gtk.CheckButton(_('Use English backout message'))
         self.eng_msg.connect('toggled', self.eng_msg_toggled)
         engmsg = self.repo.ui.configbool('tortoisehg', 'engmsg', False)
-        hbox.pack_start(self.eng_msg, False, False)
+        msgvbox.pack_start(self.eng_msg, False, False)
         ## merge after backout
         self.merge_button = gtk.CheckButton(
                 _('Commit backout before merging with current working parent'))
         self.merge_button.connect('toggled', self.merge_toggeled)
-        hbox.pack_start(self.merge_button, False, False, 4)
-        msgvbox.pack_start(hbox, False, False)
+        msgvbox.pack_start(self.merge_button, False, False, 4)
     def get_buttons(self):
         return [('backout', _('Backout'), gtk.RESPONSE_OK),