Fix native applications handling

This commit is contained in:
Marco Pesenti Gritti
2007-10-14 00:25:53 +02:00
parent e39232a622
commit 29bc0a8a20
4 changed files with 20 additions and 7 deletions
+4
View File
@@ -261,6 +261,7 @@ class Activity(Window, gtk.Container):
self.connect('realize', self._realize_cb)
self.connect('delete-event', self._delete_event_cb)
self.connect('window-state-event', self._window_state_event_cb)
self._active = False
self._activity_id = handle.activity_id
@@ -344,6 +345,9 @@ class Activity(Window, gtk.Container):
else:
logging.debug("Unknown share scope %r" % share_scope)
def _window_state_event_cb(self, window, event):
logging.info(event.new_window_state)
def do_set_property(self, pspec, value):
if pspec.name == 'active':
if self._active != value: