Skip to content

Commit

Permalink
0.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
vinifmor authored Dec 20, 2019
2 parents 6bd27b5 + c1cf322 commit 7251d94
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [0.7.5] 2019-12-20
### Fixes
- Fix missing i18n keys when there are no mapped translations for the system's default locale [#40](https://github.com/vinifmor/bauh/issues/40)
- Tray icon is not updating its status after an application is uninstalled

## [0.7.4] 2019-12-09
### Improvements
- AUR
Expand Down
2 changes: 1 addition & 1 deletion bauh/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.7.4'
__version__ = '0.7.5'
__app_name__ = 'bauh'

import os
Expand Down
3 changes: 3 additions & 0 deletions bauh/view/qt/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,9 @@ def _finish_uninstall(self, pkgv: PackageView):
only_pkg_type = len([p for p in self.pkgs if p.model.get_type() == pkgv.model.get_type()]) >= 2
self.recent_uninstall = True
self.refresh_apps(pkg_types={pkgv.model.__class__} if only_pkg_type else None)

if self.tray_icon:
self.tray_icon.verify_updates()
else:
if self._can_notify_user():
util.notify_user('{}: {}'.format(pkgv.model.name, self.i18n['notification.uninstall.failed']))
Expand Down
2 changes: 1 addition & 1 deletion bauh/view/util/translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_locale_keys(key: str = None, locale_dir: str = resource.get_path('locale
break

if not locale_path:
return key, {}
return current_locale if current_locale else key, {}

with open(locale_path, 'r') as f:
locale_keys = f.readlines()
Expand Down

0 comments on commit 7251d94

Please sign in to comment.