Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Do not show the browser fields on the preferences dialog on Windows as we do not use this field on that platform. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
41caf41dfe662709ebb9bbbfce0f87e9 |
User & Date: | patthoyts 2010-01-12 20:46:03.000 |
Context
2010-06-08
| ||
21:18 | * lib/dtglue/dtglue.tcl (::dtglue::cvtfiles): Updated to accept * lib/app-gen-doc/gen_doc.tcl (::app-gen-doc::run): an image map for use by the new 'image' markup command of doctools. check-in: 29040d9a7a user: andreas_kupries tags: trunk | |
2010-01-12
| ||
20:46 | Do not show the browser fields on the preferences dialog on Windows as we do not use this field on that platform. check-in: 41caf41dfe user: patthoyts tags: trunk | |
20:30 | Applied patch 2913790 to add an option not to get queried when exiting and enable /quit when not logged in. Provided by Stuart Cassoff. check-in: 546e09da5d user: patthoyts tags: trunk | |
Changes
Changes to apps/tkchat/ChangeLog.
1 2 3 4 5 6 7 8 9 | 2010-01-12 Pat Thoyts <[email protected]> * tkchat.tcl: Applied patch 2913790 to add an option not to get queried when exiting and enable /quit when not logged in (stu) 2010-01-11 Pat Thoyts <[email protected]> * tkchat.tcl: Fix buggy initialization of the browser list when nothing specified. Problem spotted by ferrieux. | > > | 1 2 3 4 5 6 7 8 9 10 11 | 2010-01-12 Pat Thoyts <[email protected]> * tkchat.tcl: Do not show the browser fields on the preferences page for Windows as we do not use this on that platform. * tkchat.tcl: Applied patch 2913790 to add an option not to get queried when exiting and enable /quit when not logged in (stu) 2010-01-11 Pat Thoyts <[email protected]> * tkchat.tcl: Fix buggy initialization of the browser list when nothing specified. Problem spotted by ferrieux. |
︙ | ︙ |
Changes to apps/tkchat/tkchat.tcl.
︙ | ︙ | |||
275 276 277 278 279 280 281 | } } namespace eval ::tkchat { variable chatWindowTitle "The Tcler's Chat" variable HEADUrl {http://tcllib.cvs.sourceforge.net/*checkout*/tcllib/tclapps/apps/tkchat/tkchat.tcl?revision=HEAD} | | | 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 | } } namespace eval ::tkchat { variable chatWindowTitle "The Tcler's Chat" variable HEADUrl {http://tcllib.cvs.sourceforge.net/*checkout*/tcllib/tclapps/apps/tkchat/tkchat.tcl?revision=HEAD} variable rcsid {$Id: tkchat.tcl,v 1.480 2010/01/12 20:46:03 patthoyts Exp $} variable MSGS set MSGS(entered) [list \ "%user% has entered the chat!" \ "Out of a cloud of smoke, %user% appears!" \ "%user% saunters in." \ "%user% wanders in." \ |
︙ | ︙ | |||
6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 | # The following section sets up the options dialog. The application # preferences are done on the PreferencesPage and plugins can provide # additional pages. If we don't have ttk then a tabbed dialog is mimicked. # See the tkchat_clock.tcl file for a sample plugin. proc ::tkchat::PreferencesPage {parent} { global Options variable NS variable useTile variable EditOptions set EditOptions(Browser) $Options(Browser) set EditOptions(BrowserTab) $Options(BrowserTab) set EditOptions(Style) $Options(Style) | > | 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 | # The following section sets up the options dialog. The application # preferences are done on the PreferencesPage and plugins can provide # additional pages. If we don't have ttk then a tabbed dialog is mimicked. # See the tkchat_clock.tcl file for a sample plugin. proc ::tkchat::PreferencesPage {parent} { global Options global tcl_platform variable NS variable useTile variable EditOptions set EditOptions(Browser) $Options(Browser) set EditOptions(BrowserTab) $Options(BrowserTab) set EditOptions(Style) $Options(Style) |
︙ | ︙ | |||
7076 7077 7078 7079 7080 7081 7082 | grid $af.catz - -sticky ew -padx 2 grid $af.cfe - -sticky ew -padx 2 grid $af.lpc - -sticky ew -padx 2 grid $af.abq - -sticky ew -padx 2 grid $af.aal $af.aae -sticky ew -padx 2 grid columnconfigure $af 1 -weight 1 | > | | | | | | | | | | | | | | > | | | | | | | | | | > | 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 | grid $af.catz - -sticky ew -padx 2 grid $af.cfe - -sticky ew -padx 2 grid $af.lpc - -sticky ew -padx 2 grid $af.abq - -sticky ew -padx 2 grid $af.aal $af.aae -sticky ew -padx 2 grid columnconfigure $af 1 -weight 1 if {$tcl_platform(platform) ne "windows"} { set bf [${NS}::labelframe $page.bf -text "Preferred browser"] if {$useTile} { $bf configure -underline 10 } ${NS}::label $bf.m -anchor nw -wraplength 4i -justify left \ -text "Provide the command used to launch your web browser. For\ instance /opt/bin/mozilla or xterm -e links. The URL to\ be opened will be appended to the command string and for\ mozilla-type browsers we will call the -remote option to\ try to use a previously existing browser." ${NS}::entry $bf.e -textvariable ::tkchat::EditOptions(Browser) ${NS}::button $bf.b -text "..." -width 4 -command { if {[set file [tk_getOpenFile]] != {}} { set ::tkchat::EditOptions(Browser) $file } } ${NS}::checkbutton $bf.tab -underline 0 \ -text "Force new Tab, if possible (Unix only)" \ -variable ::tkchat::EditOptions(BrowserTab) if {!$useTile} {$bf.tab configure -anchor nw} bind $dlg <Alt-b> [list focus $bf.e] bind $dlg <Alt-f> [list $bf.tab invoke] grid $bf.m - -sticky news -padx 2 grid $bf.e $bf.b -sticky ew -padx 2 grid $bf.tab -sticky ew -padx 2 -columnspan 2 grid rowconfigure $bf 0 -weight 1 grid columnconfigure $bf 0 -weight 1 } set sf [${NS}::labelframe $page.sf -text "Tk style"] ;#-padx 1 -pady 1 ${NS}::label $sf.m -anchor nw -wraplength 4i -justify left \ -text "The Tk style selection available here will apply when you \ next restart tkchat." ${NS}::radiobutton $sf.as -text "ActiveState" -underline 0 \ |
︙ | ︙ | |||
7139 7140 7141 7142 7143 7144 7145 | bind $dlg <Alt-n> [list $sf.any invoke] bind $dlg <Alt-t> [list $sf.def invoke] bind $dlg <Alt-w> [list $sf.tkonly invoke] grid $sf.m - - - -sticky news -padx 2 grid $sf.as $sf.gtk $sf.any $sf.def -sticky ew -padx 2 grid $sf.tkonly - - - -sticky ew -padx 2 | | | | 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 | bind $dlg <Alt-n> [list $sf.any invoke] bind $dlg <Alt-t> [list $sf.def invoke] bind $dlg <Alt-w> [list $sf.tkonly invoke] grid $sf.m - - - -sticky news -padx 2 grid $sf.as $sf.gtk $sf.any $sf.def -sticky ew -padx 2 grid $sf.tkonly - - - -sticky ew -padx 2 grid rowconfigure $sf 0 -weight 1 grid columnconfigure $sf 0 -weight 1 # Gimmicks section. set gimmicks 0 set gf [${NS}::labelframe $page.gf -text "Gimmiks"] ;# -padx 1 -pady 1 if {[lsearch [wm attributes .] -alpha] != -1} { set gimmicks 1 ${NS}::checkbutton $gf.fade -text "When not active, fade to " \ |
︙ | ︙ | |||
7176 7177 7178 7179 7180 7181 7182 | grid $gf.fade - $gf.fadelimit $gf.pct x -sticky w -padx 2 grid $gf.alabel $gf.alpha - - - -sticky we -padx 2 grid configure $gf.alabel -pady {20 0} -sticky w grid columnconfigure $gf 4 -weight 1 } grid $af - -sticky news -padx 2 -pady 2 | > | > | 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 | grid $gf.fade - $gf.fadelimit $gf.pct x -sticky w -padx 2 grid $gf.alabel $gf.alpha - - - -sticky we -padx 2 grid configure $gf.alabel -pady {20 0} -sticky w grid columnconfigure $gf 4 -weight 1 } grid $af - -sticky news -padx 2 -pady 2 if {$tcl_platform(platform) ne "windows"} { grid $bf - -sticky news -padx 2 -pady 2 } grid $sf - -sticky news -padx 2 -pady 2 if {$gimmicks} { grid $gf - -sticky news -padx 2 -pady 2 } bind $page <<TkchatOptionsAccept>> [namespace code { global Options ; variable EditOptions set Options(Browser) $EditOptions(Browser) set Options(BrowserTab) $EditOptions(BrowserTab) |
︙ | ︙ |