Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/frame/frame.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-03-02 14:11:59 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-03-02 14:11:59 (GMT)
commitbaad7784063a8de0c222ace5424a82aca829105b (patch)
treeeb65d5403f05703312b3fb4ff796d581907ad3d6 /shell/view/frame/frame.py
parentd1a29ecf32f2dfada678aa175d099c43e386c0e8 (diff)
Improve logging
Diffstat (limited to 'shell/view/frame/frame.py')
-rw-r--r--shell/view/frame/frame.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/shell/view/frame/frame.py b/shell/view/frame/frame.py
index 6cc2a17..0d2231e 100644
--- a/shell/view/frame/frame.py
+++ b/shell/view/frame/frame.py
@@ -14,7 +14,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-import logging
import gtk
import gobject
import hippo
@@ -151,16 +150,13 @@ class Frame:
def _enter_notify_cb(self, window, event):
self._enter_notify()
- logging.debug('Frame._enter_notify_cb ' + str(self._mode))
def _drag_motion_cb(self, window, context, x, y, time):
self._enter_notify()
- logging.debug('Frame._drag_motion_cb ' + str(self._mode))
return True
def _drag_leave_cb(self, window, drag_context, timestamp):
self._leave_notify(window)
- logging.debug('Frame._drag_leave_cb ' + str(self._mode))
def _leave_notify_cb(self, window, event):
# FIXME for some reason every click cause also a leave-notify
@@ -168,7 +164,6 @@ class Frame:
return
self._leave_notify(window)
- logging.debug('Frame._leave_notify_cb ' + str(self._mode))
def _enter_notify(self):
self._hover_frame = True
@@ -185,17 +180,14 @@ class Frame:
def _enter_edge_cb(self, event_frame):
self._mode = Frame.HIDE_ON_LEAVE
self._timeline.play(None, 'slide_in')
- logging.debug('Frame._enter_edge_cb ' + str(self._mode))
def _enter_corner_cb(self, event_frame):
self._mode = Frame.HIDE_ON_LEAVE
self._timeline.play('slide_in', 'slide_in')
- logging.debug('Frame._enter_corner_cb ' + str(self._mode))
def _event_frame_leave_cb(self, event_frame):
if self._mode != Frame.STICKY:
self._timeline.goto('slide_out', True)
- logging.debug('Frame._event_frame_leave_cb ' + str(self._mode))
def show_and_hide(self, seconds):
self._mode = Frame.AUTOMATIC