Merge lp:~gustav-hartvigsson/bzr-gtk/fix-viz into lp:bzr-gtk

Proposed by Gustav Hartvigsson
Status: Needs review
Proposed branch: lp:~gustav-hartvigsson/bzr-gtk/fix-viz
Merge into: lp:bzr-gtk
Diff against target: 15 lines (+0/-6)
1 file modified
viz/branchwin.py (+0/-6)
To merge this branch: bzr merge lp:~gustav-hartvigsson/bzr-gtk/fix-viz
Reviewer Review Type Date Requested Status
Richard Wilbur Needs Information
Review via email: mp+242795@code.launchpad.net

Description of the change

This fixes a long standing issue with the with gtk-bzr's viz util.
The problem was that the GtkAlign was taking too much space because
of the custom allocation of space.

The problem was found using the GtkIntspector.

To post a comment you must log in.
Revision history for this message
Richard Wilbur (richard-wilbur) wrote :

Has this long-standing issue with bzr-gtk's viz utility been documented with a bug filed in Launchpad? If so, please mention the bug number in the "Description of the Change". If no bug has been filed for this problem, please file one.

review: Needs Information

Unmerged revisions

797. By Gustav Hartvigsson

* Fixed bzr-gtk's viz util, using the new Gtk Inspector.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'viz/branchwin.py'
--- viz/branchwin.py 2012-03-01 21:29:00 +0000
+++ viz/branchwin.py 2014-11-25 15:36:24 +0000
@@ -336,12 +336,6 @@
336 align.add(self.treeview)336 align.add(self.treeview)
337 # user-configured size337 # user-configured size
338 size = self._load_size('viz-graph-size')338 size = self._load_size('viz-graph-size')
339 if size:
340 width, height = size
341 align.set_size_request(width, height)
342 else:
343 (width, height) = self.get_size()
344 align.set_size_request(width, int(height / 2.5))
345 self._save_size_on_destroy(align, 'viz-graph-size')339 self._save_size_on_destroy(align, 'viz-graph-size')
346 align.show()340 align.show()
347341

Subscribers

People subscribed via source and target branches

to all changes: