Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

status: limit right pane to minum size (fixes crash)

The right pane must not be shrinked smaller than the minimum size request
of the gtk notebook object.

Without this, moving the vertical splitbar to the far right crashes
python.exe here with a runtime error in the C++ runtime library.

Changeset beff284b796b

Parent a4f2ae425f3b

by Adrian Buehlmann

Changes to one file · Browse files at beff284b796b Showing diff from parent a4f2ae425f3b Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​status.py Stacked
 
355
356
357
358
359
 
 
360
361
362
 
355
356
357
 
 
358
359
360
361
362
@@ -355,8 +355,8 @@
  else:   self.diffpane = gtk.HPaned()   - self.diffpane.pack1(tree_frame, True, False) - self.diffpane.pack2(diff_frame, True, True) + self.diffpane.pack1(tree_frame, shrink=False) + self.diffpane.pack2(diff_frame, shrink=False)   self.filetree.set_headers_clickable(True)     sel = self.filetree.get_selection()