Issue 373: Changelog revision history does not respond to Windows popup menu 
accelerator
http://bitbucket.org/tortoisehg/stable/issue/373/changelog-revision-history-does-not-respond-to-windows-popup-menu

tortoisehg on Sat, 25 Jul 2009 08:16:35 +0200:

Comment:
  This patch makes the menu popup exactly where the mouse currently is, when 
you hit SHIFT-F10 or the WIndows menu key.
Perhaps someone can be enterprising and figure out how to make it use the 
currently focused row instead of the currently selected row.

{{{
#!python
diff -r 2383e5b9742a hggtk/history.py
--- a/hggtk/history.py  Fri Jul 24 16:40:23 2009 +0200
+++ b/hggtk/history.py  Sat Jul 25 01:12:45 2009 -0500
@@ -445,6 +445,7 @@
         self.graphview.connect('revision-selected', self.selection_changed)
         self.graphview.connect('revisions-loaded', self.revisions_loaded)
 
+        self.tree.connect('popup-menu', self.tree_popup_menu)
         self.tree.connect('button-press-event', self.tree_button_press)
         self.tree.connect('row-activated', self.tree_row_act)
}}}


-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.

------------------------------------------------------------------------------
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to