public
Fork of Caged/gitnub
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for downloads and screenshots.
Homepage: http://alternateidea.com
Clone URL: git://github.com/bricooke/gitnub.git
Search Repo:
Restore the Copy item to the contextual menu
kballard (author)
Fri Mar 21 21:46:00 -0700 2008
commit  3548f5318d2069440a30657c713a8b5ed70a7216
tree    4215e5e82d998aa1b54e0de8f10ddd2e6f46b86b
parent  8f6a2803d0447882cd3db0ddc2731d8ffd1b244f
...
113
114
115
116
 
 
 
 
 
 
117
118
119
...
113
114
115
 
116
117
118
119
120
121
122
123
124
0
@@ -113,7 +113,12 @@
0
   end
0
   
0
   def webView_contextMenuItemsForElement_defaultMenuItems(view, element, defaultMenuItems)
0
- nil
0
+ defaultMenuItems.select do |item|
0
+ # WebMenuItemTagCopy = 8
0
+ # WebMenuItemTagCut = 13
0
+ # WebMenuItemTagPaste = 14
0
+ [8, 13, 14].include? item.tag
0
+ end
0
   end
0
   
0
   def imageLoadForURL_didFinishLoading(url, image)

Comments

    No one has commented yet.