...
 
Commits (9)
......@@ -3,11 +3,19 @@ users of a German keymapping. The code and commit-massages are written
in English, though.
0.15 (unreleased)
----------------
-----------------
- Bislang keine Änderungen.
- Nothing changed yet.
0.14.1 (2017-09-04)
-------------------
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
- Behebt den Absturz, wenn `OSD Neo2` gestartet wird, wenn es ein
Icon im Benachrichtigungsfeld (`tray`) ist.
0.14 (2017-08-30)
=================
......
......@@ -2,6 +2,7 @@
__all__ = ['package_path']
__version__ = '0.15.dev0'
import os
......
......@@ -328,12 +328,6 @@ class OSDneo2:
# drawing
self.update_status()
if self.iconified:
self.do_iconify()
else:
# show everything in window
self.window.show_all()
if self.keyboard_driver == 'xkbdmap':
self._xmodmap_timer = None
# If we have XKB, we use an event listener
......@@ -346,6 +340,12 @@ class OSDneo2:
self._xmodmap_timer = gobject.timeout_add(
self.polling, self.update_status)
if self.iconified:
self.do_iconify()
else:
# show everything in window
self.window.show_all()
def on_button_press(self, widget, event):
if event.button == 1:
......
......@@ -39,6 +39,7 @@ import os
import ConfigParser
from .locale import _
from . import __version__
__all__ = ['settings', 'DEFAULT_POLLING_INTERVAL']
......@@ -78,7 +79,7 @@ class Settings:
self.__variables__ = {
'application': 'OSD Neo2',
'cmd_line': 'OSDneo2',
'version': '0.14',
'version': __version__,
'years': '2009-2010, 2015-2017',
'authors': 'Martin Zuther, Hartmut Goebel',
'license_short': 'GPL version 3 (or later)',
......
......@@ -21,3 +21,14 @@ ignore-obsolete = True
[compile_catalog]
domain = OSDneo2
directory = osd_neo2/po
##-- Configuration for zest.releaser
[zest.releaser]
create-wheel = no
register = no
push-changes = no
tag-format = v{version}
python-file-with-version = osd_neo2/__init__.py
history_file = NEWS.rst
......@@ -8,6 +8,8 @@ it will display the mapping of the layer.
from setuptools import setup, find_packages
from setuptools.command.sdist import sdist
from osd_neo2 import __version__ as version
class my_sdist(sdist):
"""Custom ``sdist`` command to ensure that mo files are always created."""
......@@ -18,7 +20,7 @@ class my_sdist(sdist):
setup(
name = "OSD-neo2",
version='0.15.dev0',
version=version,
install_requires = ['pygtk'],
scripts = ['OSDneo2'],
......