[kupfer: 9/51] ui: Show context menu on correct screen



commit a7b9cc45b38770fc07d3b25f9a24602ab7d37933
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Mon Mar 28 16:51:42 2011 +0200

    ui: Show context menu on correct screen

 kupfer/ui/browser.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/ui/browser.py b/kupfer/ui/browser.py
index b84c12e..8635576 100644
--- a/kupfer/ui/browser.py
+++ b/kupfer/ui/browser.py
@@ -1921,6 +1921,7 @@ class WindowController (pretty.OutputMixin):
 	def _context_clicked(self, widget, event):
 		"The context menu label was clicked"
 		menu = self._setup_menu(True)
+		menu.set_screen(self.window.get_screen())
 		menu.popup(None, None, None, event.button, event.time)
 		return True
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]