Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/frame/clipboardpanelwindow.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-02-03 20:51:39 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-02-03 20:51:39 (GMT)
commit1fb786f843aa3568cc5ee1d616721171525ae599 (patch)
tree89dba94354a821904ce32c23f389d29a99e63914 /shell/view/frame/clipboardpanelwindow.py
parent15c4843bbb2ceea9a875dcb7ee6f4041ed66c666 (diff)
Listen for button-press in the hippo.Canvas, not on the gtk.Window.
Diffstat (limited to 'shell/view/frame/clipboardpanelwindow.py')
-rw-r--r--shell/view/frame/clipboardpanelwindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/view/frame/clipboardpanelwindow.py b/shell/view/frame/clipboardpanelwindow.py
index 2f63106..1871f7d 100644
--- a/shell/view/frame/clipboardpanelwindow.py
+++ b/shell/view/frame/clipboardpanelwindow.py
@@ -34,7 +34,7 @@ class ClipboardPanelWindow(PanelWindow):
self.add_events(gtk.gdk.BUTTON_PRESS_MASK |
gtk.gdk.POINTER_MOTION_HINT_MASK)
self.connect("motion_notify_event", box.motion_notify_event_cb)
- self.connect("button_press_event", box.button_press_event_cb)
+ self.get_canvas().connect("button_press_event", box.button_press_event_cb)
self.connect("drag_end", box.drag_end_cb)
self.connect("drag_data_get", box.drag_data_get_cb)