diff options
Diffstat (limited to 'deskutils/ical/files/patch-pref.tcl')
-rw-r--r-- | deskutils/ical/files/patch-pref.tcl | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/deskutils/ical/files/patch-pref.tcl b/deskutils/ical/files/patch-pref.tcl deleted file mode 100644 index 207decfd57d6..000000000000 --- a/deskutils/ical/files/patch-pref.tcl +++ /dev/null @@ -1,23 +0,0 @@ ---- pref.tcl.orig 2004-03-11 11:26:56 UTC -+++ pref.tcl -@@ -116,10 +116,16 @@ - } - - # XXX People do not seem to like the motif-style popup behavior --# global tk_strictMotif --# if {!$tk_strictMotif} { --# bind Menubutton <Any-ButtonRelease-1> {tkMenuUnpost {}} --# } -+ global tk_strictMotif -+ if {!$tk_strictMotif} { -+ bind Menubutton <Any-ButtonRelease-1> {tkMenuUnpost {}} -+ set tv [info tclversion] -+ if {[package vcompare $tv 8.4] >= 0} { -+ bind Menubutton <Any-ButtonRelease-1> {::tk::MenuUnpost {}} -+ } else { -+ bind Menubutton <Any-ButtonRelease-1> {tkMenuUnpost {}} -+ } -+ } - - # Handle command line preferences - global ical |