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

  • Committer: Jelmer Vernooij
  • Date: 2010-06-17 20:25:27 UTC
  • mfrom: (688.2.6 split)
  • Revision ID: jelmer@samba.org-20100617202527-w3n34ss5zlk0nam3
Merge split of olive into a separate project.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
gconflicts        GTK+ conflicts. 
23
23
gdiff             Show differences in working tree in a GTK+ Window. 
24
24
ginit             Initialise a new branch.
25
 
ginfo             GTK+ branch info dialog
26
25
gloom             GTK+ loom browse dialog
27
26
gmerge            GTK+ merge dialog
28
27
gmissing          GTK+ missing revisions dialog. 
135
134
    "gconflicts": [],
136
135
    "gdiff": [],
137
136
    "ginit": [],
138
 
    "ginfo": [],
139
137
    "gmerge": [],
140
138
    "gmissing": [],
141
139
    "gpreferences": [],
166
164
                                       save_commit_messages,
167
165
                                       "Saving commit messages for gcommit")
168
166
 
169
 
import gettext
170
 
gettext.install('olive-gtk')
171
 
 
172
 
# Let's create a specialized alias to protect '_' from being erased by other
173
 
# uses of '_' as an anonymous variable (think pdb for one).
174
 
_i18n = gettext.gettext
175
 
 
176
167
class NoDisplayError(errors.BzrCommandError):
177
168
    """gtk could not find a proper display"""
178
169
 
212
203
            reload(sys)
213
204
            sys.setdefaultencoding(default_encoding)
214
205
    return basic_tests
 
206
 
 
207
 
 
208
def _i18n(text):
 
209
    # Stub until we support proper i18n
 
210
    return text