/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to branchview/linegraph.py

  • Committer: Jelmer Vernooij
  • Date: 2008-10-14 19:49:27 UTC
  • Revision ID: jelmer@samba.org-20081014194927-l8hyj1i4j3sxktte
Fix paths for patch handling command and icons.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: UTF-8 -*-
1
2
"""Directed graph production.
2
3
 
3
4
This module contains the code to produce an ordered directed graph of a
5
6
window.
6
7
"""
7
8
 
8
 
__copyright__ = "Copyright 2005 Canonical Ltd."
 
9
__copyright__ = "Copyright © 2005 Canonical Ltd."
9
10
__author__    = "Scott James Remnant <scott@ubuntu.com>"
10
11
 
11
12
from bzrlib.revision import NULL_REVISION
313
314
        update_root_progress(5)
314
315
        progress_bar = ui.ui_factory.nested_progress_bar()
315
316
        try:
316
 
            progress_bar.update("Prettifying graph", 0, len(lines))
 
317
            progress_bar.update("Pretifying graph", 0, len(lines))
317
318
            for i, (child_index, parent_index, line_col_indexes) in enumerate(lines):
318
319
                if i % 25 == 0:
319
320
                    progress_bar.update(None, i)