~umang/indicator-stickynotes/trunk

« back to all changes in this revision

Viewing changes to indicator-stickynotes.py

  • Committer: Umang Varma
  • Date: 2012-07-14 18:04:39 UTC
  • Revision ID: git-v1:6ba63c622bc6b167aaef0b365985e881ef6fa7b9
Find locale_dir correctly

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
        # Fallback to default
134
134
        locale_dir = None
135
135
    else:
136
 
        locale_dir = MO_DIR
 
136
        locale_dir = os.path.join(os.path.dirname(__file__), MO_DIR)
137
137
    locale.bindtextdomain(LOCALE_DOMAIN, locale_dir)
138
138
    locale.textdomain(LOCALE_DOMAIN)
139
139
    indicator = IndicatorStickyNotes()