diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2006-12-16 22:55:22 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2006-12-16 22:55:22 (GMT) |
commit | eba35406c5609fe7a2d720ae67a972e03558b4f0 (patch) | |
tree | 5abd9787d97eea0b886c0b747e36ec3a0dd26468 /shell/view/Shell.py | |
parent | 5103f1fb27fcfa0153caf5e6b76e59a48f08df36 (diff) |
Usability fixes for dnd on the clipboard
Diffstat (limited to 'shell/view/Shell.py')
-rw-r--r-- | shell/view/Shell.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/view/Shell.py b/shell/view/Shell.py index 48b3b09..9cca933 100644 --- a/shell/view/Shell.py +++ b/shell/view/Shell.py @@ -130,6 +130,7 @@ class Shell(gobject.GObject): self._frame.notify_key_release() def __window_opened_cb(self, screen, window): + logging.debug('Shell.__window_opened_cb') if window.get_window_type() == wnck.WINDOW_NORMAL: try: activity_host = ActivityHost(self.get_model(), window) @@ -143,6 +144,7 @@ class Shell(gobject.GObject): self.emit('activity-opened', activity_host) def __active_window_changed_cb(self, screen): + logging.debug('Shell.__active_window_changed_cb') window = screen.get_active_window() if not window or window.get_window_type() != wnck.WINDOW_NORMAL: return @@ -157,6 +159,7 @@ class Shell(gobject.GObject): self._set_current_activity(activity_host) def __window_closed_cb(self, screen, window): + logging.debug('Shell.__window_closed_cb') if window.get_window_type() != wnck.WINDOW_NORMAL: return @@ -207,6 +210,7 @@ class Shell(gobject.GObject): logging.error('Cannot start activity.') def start_activity(self, activity_type): + logging.debug('Shell.start_activity') activity = ActivityFactory.create(activity_type) activity.execute('test', []) return activity |