Browse Source

oopses

master
Julio Biason 15 years ago
parent
commit
06ac76f474
  1. 2
      makefile
  2. 3
      mitterlib/ui/ui_pygtk.py

2
makefile

@ -1,5 +1,5 @@
deb:
dpkg-buildpackage -us uc
dpkg-buildpackage -us -uc
doc:
cd docs

3
mitterlib/ui/ui_pygtk.py

@ -653,6 +653,9 @@ class Interface(object):
def _window_to_tray(self, statusicon, user_data=None):
"""Minimize/display main window (as in minimize to tray.)"""
if self._main_window.get_property('visible'):
(x, y) = self._main_window.get_position()
(width, height) = self._main_window.get_size()
self._options[self.NAMESPACE]['position_x'] = x
self._options[self.NAMESPACE]['position_y'] = y

Loading…
Cancel
Save