/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 commit.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-10 18:44:39 UTC
  • mto: This revision was merged to the branch mainline in revision 730.
  • Revision ID: jelmer@samba.org-20110410184439-g7hqaacexqtviq13
Move i18n support to a separate file, so gettext files aren't loaded unless bzr-gtk is used.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
except ImportError:
37
37
    from bzrlib.util import bencode
38
38
 
39
 
from bzrlib.plugins.gtk import _i18n
40
39
from bzrlib.plugins.gtk.dialog import question_dialog
41
40
from bzrlib.plugins.gtk.errors import show_bzr_error
 
41
from bzrlib.plugins.gtk.i18n import _i18n
42
42
 
43
43
try:
44
44
    import dbus
512
512
                                             gtk.CellRendererText(), text=3))
513
513
 
514
514
    def _construct_diff_view(self):
515
 
        from diff import DiffView
 
515
        from bzrlib.plugins.gtk.diff import DiffView
516
516
 
517
517
        # TODO: jam 2007-10-30 The diff label is currently disabled. If we
518
518
        #       decide that we really don't ever want to display it, we should