~ubuntu-branches/ubuntu/utopic/awn-extras-applets/utopic

« back to all changes in this revision

Viewing changes to shared/python/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2010-08-29 14:29:52 UTC
  • mfrom: (1.1.7 upstream) (2.2.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100829142952-9hbpo70i6zgxfw2o
Tags: 0.4.0+bzr1372-0ubuntu1
* Sync with Debian
* New upstream snapshot (LP: #626265)
 - YAMA: use lda instead of xdg for managing desktop files (LP: #497787)
 - Volume: fix crash on high volume value. (LP: #461123)
 - Weather: fix crash on activate_map_cb (LP: #581414)
 - File-browser-launcher: fix crash on mounting LUKS partition (LP: #532848)
 - Feeds: fix crash when getting favicon (LP: #561611)
 - Slickswitcher: Fix division by 0 (LP: #562548)
* debian/control:
 - Build-depends on libindicator-dev (>= 0.3).
 - Build-depends on libzeitgeist-dev (>= 0.2.2).
 - Recommends python-gtop | python-gnome2-desktop for bandwidth-monitor.
 - Update description for new applets.
* debian/rules:
 - Pass --with-indicator to enable indicator applet.
 - Remove schemas for desactivated applets.
 - Disable mount applet.
* debian/awn-applets-c-core.install:
 - Install indicator applet.
 - Install related applet.
* debian/awn-applets-python-core:
 - Disable mount applet. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
11
# Lesser General Public License for more details.
12
12
#
13
 
# You should have received a copy of the GNU Lesser General Public
14
 
# License along with this library; if not, write to the
15
 
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16
 
# Boston, MA 02111-1307, USA.
 
13
# You should have received a copy of the GNU Lesser General Public License
 
14
# along with this library.  If not, see <http://www.gnu.org/licenses/>.
17
15
 
18
16
import gettext
 
17
import locale
19
18
 
20
19
PREFIX = '/usr/local'
21
 
__version__ = '0.4.0'
 
20
__version__ = '0.4.1'
22
21
__version_info__ = ()
23
22
for value in __version__.split('.'):
24
23
    if value.isdigit():
32
31
TEXTDOMAIN = 'awn-extras'
33
32
gettext.bindtextdomain(TEXTDOMAIN, LOCALEDIR)
34
33
gettext.textdomain(TEXTDOMAIN)
 
34
locale.bindtextdomain(TEXTDOMAIN, LOCALEDIR)
 
35
locale.textdomain(TEXTDOMAIN)
35
36
_ = gettext.gettext