/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 keyring.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:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
 
from gi.repository import GObject
 
17
import gobject
18
18
try:
19
19
    import gnomekeyring
20
20
except ImportError:
36
36
            # External applications that load bzrlib may already have set the
37
37
            # application name so we don't contradict them (when we can
38
38
            # determine it that is).
39
 
            GObject.set_application_name("bzr")
 
39
            gobject.set_application_name("bzr")
40
40
 
41
41
    def decode_password(self, credentials):
42
42
        if gnomekeyring is None: