[Tkabber-dev] r716 - in trunk/tkabber: . examples examples/configs examples/tools examples/xrdb

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sat Sep 16 20:43:21 MSD 2006


Author: sergei
Date: 2006-09-16 20:42:52 +0400 (Sat, 16 Sep 2006)
New Revision: 716

Added:
   trunk/tkabber/examples/configs/
   trunk/tkabber/examples/configs/badlop-config-home.tcl
   trunk/tkabber/examples/configs/badlop-config.tcl
   trunk/tkabber/examples/configs/config.tcl
   trunk/tkabber/examples/configs/mtr-config.tcl
   trunk/tkabber/examples/configs/teo-config.tcl
   trunk/tkabber/examples/tools/tkabber_setstatus
   trunk/tkabber/examples/xrdb/
   trunk/tkabber/examples/xrdb/badlop-dark.xrdb
   trunk/tkabber/examples/xrdb/black.xrdb
   trunk/tkabber/examples/xrdb/dark.xrdb
   trunk/tkabber/examples/xrdb/dark2.xrdb
   trunk/tkabber/examples/xrdb/green.xrdb
   trunk/tkabber/examples/xrdb/ice.xrdb
   trunk/tkabber/examples/xrdb/light.xrdb
   trunk/tkabber/examples/xrdb/lighthouse.xrdb
   trunk/tkabber/examples/xrdb/ocean-deep.xrdb
   trunk/tkabber/examples/xrdb/teopetuk.xrdb
   trunk/tkabber/examples/xrdb/warm.xrdb
Removed:
   trunk/tkabber/examples/badlop-config-home.tcl
   trunk/tkabber/examples/badlop-config.tcl
   trunk/tkabber/examples/badlop-dark.xrdb
   trunk/tkabber/examples/black.xrdb
   trunk/tkabber/examples/config.tcl
   trunk/tkabber/examples/dark.xrdb
   trunk/tkabber/examples/dark2.xrdb
   trunk/tkabber/examples/green.xrdb
   trunk/tkabber/examples/ice.xrdb
   trunk/tkabber/examples/light.xrdb
   trunk/tkabber/examples/mtr-config.tcl
   trunk/tkabber/examples/ocean-deep.xrdb
   trunk/tkabber/examples/teo-config.tcl
   trunk/tkabber/examples/teopetuk.xrdb
   trunk/tkabber/examples/tkabber_setstatus
   trunk/tkabber/examples/warm.xrdb
Modified:
   trunk/tkabber/ChangeLog
Log:
	* examples/xrdb/lighthouse.tcl: New color theme (thanks to
	  Max Loparyev).

	* examples/*.xrdb: Moved to examples/xrdb subdirectory.

	* examples/*.tcl: Moved to examples/configs subdirectory.

	* examples/tkabber_setstatus: Moved to examples/tools subdirectory.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/ChangeLog	2006-09-16 16:42:52 UTC (rev 716)
@@ -22,6 +22,15 @@
 
 	* msgs/ru.msg: Updated.
 
+	* examples/xrdb/lighthouse.tcl: New color theme (thanks to
+	  Max Loparyev).
+
+	* examples/*.xrdb: Moved to examples/xrdb subdirectory.
+
+	* examples/*.tcl: Moved to examples/configs subdirectory.
+
+	* examples/tkabber_setstatus: Moved to examples/tools subdirectory.
+
 2006-09-15  Sergei Golovan  <sgolovan at nes.ru>
 
 	* ifacetk/idefault.tcl: Bind mouse buttons to scroll events

Deleted: trunk/tkabber/examples/badlop-config-home.tcl
===================================================================
--- trunk/tkabber/examples/badlop-config-home.tcl	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/badlop-config-home.tcl	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,49 +0,0 @@
-# Language
-#::msgcat::mclocale en
-
-# Now we will load Badlop's configuration file, if available.
-# It will set a bunch of options. 
-# It's not a good idea to modify 'badlop-config.tcl' 
-#   as it will be updated often to add more and more options.
-# If you want to change any of them, copy the corresponding line (or lines) from that file,
-#   insert it on the following section ('finload_hook') so your personal options
-#   will always be securely saved on your own config file.
-if {[file exists $rootdir/examples/badlop-config.tcl]} {
-    source $rootdir/examples/badlop-config.tcl
-}
-
-# Configure here your own options
-hook::add finload_hook {
-
-	# Set here your Jabber account information
-
-    #                            1. User:
-#    set ::loginconf(user)                ********
-    #                            2. Server:
-#    set ::loginconf(server)              ********
-    #                            3. Password:
-#    set ::loginconf(password)            ********
-
-	# You can modify the resource, for example put 'home', or 'laptop/work'
-#    set ::loginconf(resource)	TkabberP
-	# If you have installed all the needed to run SSL, you can activate it
-#    set ::loginconf(usessl)		0
-
-	# For example, if you do not want sound, uncomment this line
-#	set sound::options(sound)		0
-
-#	set ::BROWSER c:/Mozilla/mozillafirebird.exe
-
-#	option add *font -monotype-arial-medium-r-*-*-11-*-100-100-*-*-iso10646-1
-#	set font -monotype-arial-medium-r-*-*-11-*-100-100-*-*-iso10646-1
-
-
-
-
-
-
-
-
-
-
-}

Deleted: trunk/tkabber/examples/badlop-config.tcl
===================================================================
--- trunk/tkabber/examples/badlop-config.tcl	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/badlop-config.tcl	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,388 +0,0 @@
-# Badlop's config file for Tkabber 20031201
-#  - based on MTR and TeopeTuK config files (available on 'examples/' directory)
-#  - includes references to Tkabber documentation (available on 'doc/' directory)
-#  - contributions: 
-#     Marcansoft for Linux options
-# Report any error or suggestion to badlop at ono.com
-
-
-# Configuration ------------------------------------------------------------------ PRELOAD
-
-# 2. Configuration
-
-# 2.1 Pre-load
-
-# 2.1.1 Tabbed Interface
-
-#    set usetabbar 1
-
-# 2.1.2 Primary Look-and-Feel
-
-    set pixmaps_theme gush
-
-    set load_default_xrdb 0
-    option readfile $rootdir/examples/badlop-dark.xrdb userDefault
-
-#    option add *font fixed userDefault
-    switch -- [winfo screenwidth .]x[winfo screenheight .] {
-        1400x1050
-            -
-        1280x1024 {
-            option add Tkabber.geometry =788x550-0+0 userDefault    
-        }
-        1024x768 {
-            option add Tkabber.geometry =700x520-30+170 userDefault
-
-            # sets font of most of labels in widgets, 
-            option add *font -monotype-arial-medium-r-*-*-11-*-100-100-*-*-iso10646-1
-
-            # sets font of chat and roster text
-            set font -monotype-arial-medium-r-*-*-11-*-100-100-*-*-iso10646-1
-		}
-        800x600 {
-            option add Tkabber.geometry =600x420-30+100 userDefault    
-
-            # sets font of most of labels in widgets, 
-            option add *font -monotype-arial-medium-r-*-*-9-*-100-100-*-*-iso10646-1
-
-            # sets font of chat and roster text
-            set font -monotype-arial-medium-r-*-*-9-*-100-100-*-*-iso10646-1
-        }
-        default {
-            #option add Tkabber.geometry =630x412-0+0 userDefault    
-        }
-    }
-
-
-
-# 2.1.3 Cryptography by default
-
-#    set ssj::options(one-passphrase)  1
-#    set ssj::options(sign-traffic)    1
-#    set ssj::options(encrypt-traffic) 1
-
-# 2.1.4 Using of external TclXML library
-
-#    set use_external_tclxml			1
-
-# 2.1.5 Use ispell to check spelling
-
-#    set use_ispell 1
-
-# 2.1.6 Debugging Output
-
-#    set debug_lvls		{jlib warning}
-#    set debug_lvls     [list message presence ssj warning]
-#    set debug_lvls     [list zerobot]
-#    set debug_lvls		[list jlib plugins]
-#    set debug_winP      0
-
-# 2.1.7 Splash window
-
-#    set show_splash_window 1
-
-# 2.1.8 Periodically send empty string to server
-
-#    set keep_alive           0
-#    set keep_alive_interval 10
-
-# 2.1.9 I18n/L10n
-
-#    ::msgcat::mclocale es
-
-# Other non documented:
-
-# Remove the four button bar at the top of the roster
-
-#    hook::add finload_hook {.mainframe showtoolbar 0 0}
-
-# Define here the route to your prefered web browser
-#	if {$tcl_platform(platform) == "unix"} {
-#		# Linux users
-#		proc browseurl {url} {
-#			exec mozilla $url &}
-#		} else {
-#		# Windows users
-#		proc browseurl {url} {
-#			exec "c:/Mozilla/MozillaFirebird.exe" $url &
-#		}
-#	}
-
-#	global BROWSER
-#	if {$tcl_platform(platform) == "unix"} {
-#		# Linux users
-#		set ::BROWSER mozilla
-#	} else {
-#		# Windows users
-#		set ::BROWSER explorer
-#	}
-#	proc browseurl {url} {
-#		exec $::BROWSER $url &
-#	}
-	
-	# show SSL warnings
-#	set ::tls_warnings 0
-
-# Join groupchats automatically at the start (other available option: -nick <yournick>)
-#proc connload {connid} {
-#	join_group jabber at conference.jabber.org -connection $connid }
-#hook::add connected_hook connload 1000
-
-
-# 2.2 Post-load ------------------------------------------------------------------ POSTLOAD
-proc postload {} {
-
-# 2.2.1 Look-and-Feel
-
-#    set raise_new_tab 0
-
-# 2.2.2 The Autoaway Module
-
-#    set plugins::autoaway::options(awaytime) [expr  2*60*1000]
-#    set plugins::autoaway::options(xatime)   [expr 15*60*1000]
-#    set plugins::autoaway::options(status)   "Idle"
-#    set plugins::autoaway::options(drop_priority) 0
-    
-# 2.2.3 The Avatar Module    
-
-#	if {[file exists  ~/.tkabber/avatar.gif]} {
-#		avatar::load_file ~/.tkabber/avatar.gif
-#	} else {
-#		avatar::load_file $::rootdir/pixmaps/default/tkabber/mainlogo.gif
-#	}
-#	set avatar::options(announce)	1
-#	set avatar::options(share)		1
-
-# 2.2.4 The Chat Module (chat, normal)
-
-#    set chat::options(default_message_type)		chat
-#    set chat::options(stop_scroll)				0
-#    set chat::options(smart_scroll)				1
-#	set chat::options(display_status_description) 1
-
-# Examples:
-#  [%R] -- [20:37]
-#  [%T] -- [20:37:12]
-#  [%a %b %d %H:%M:%S %Z %Y] -- [Thu Jan 01 03:00:00 MSK 1970]
-
-#    set plugins::options(timestamp_format)  {[%R]}
-
-# 2.2.5 The Clientinfo Module   
-  
-#    set plugins::clientinfo::options(autoask) 1
-
-# 2.2.6 The Conferenceinfo Module
-
-#    set plugins::conferenceinfo::options(autoask)         1
-#    set plugins::conferenceinfo::options(interval)      300
-#    set plugins::conferenceinfo::options(err_interval) 3600
-
-# 2.2.7 The Cryptographic Module
-
-#    set ssj::options(encrypt,fred at example.com) 1
-
-# 2.2.8 The Emoticons Module
-
-#	emoteicons::load_dir $::rootdir/emoticons/rhymbox-1.0
-
-# 2.2.9 The File Transfer Module
-
-#	if {$::tcl_platform(platform) == "unix"} {
-	# Linux users
-#		set ft::options(download_dir) "~"
-#	} else {
-	# Windows users
-#		set ft::options(download_dir) "c:/"
-#	}
-
-# 2.2.10 The Groupchat Module
-
-#    global gra_group gra_server
-#    global gr_nick gr_group gr_server gr_v2
-#    global defaultnick
-    
-#    set defaultnick(talks at conference.jabber.org) teo
-
-# 2.2.11 The Ispell Module
-
-#	set plugins::ispell::options(executable)            ispell/bin/ispell.exe
-#	set plugins::ispell::options(executable)            /usr/bin/ispell
-#	set plugins::ispell::options(dictionary)            spanish
-#	set plugins::ispell::options(check_every_symbol)    0
-#	set plugins::ispell::options(dictionary_encoding)	koi8-r
-
-# 2.2.12 The Jidlink Module
-
-#    set jidlink::transport(allowed,dtcp-passive) 0
-
-# 2.2.13 The Logger Module
-
-#    set logger::options(logdir) ~/.tkabber/logs
-#    set logger::options(log_chat)      1
-#    set logger::options(log_groupchat) 1
-
-# 2.2.14 The Login Module
-
-    global loginconf autologin loginconf1 loginconf2
-
-    # Jabber account:
-    set loginconf1(profile)      Default
-#    set loginconf1(user)         ++++++++
-#    set loginconf1(password)     ++++++++
-#    set loginconf1(server)       ++++++++
-    
-    # Other Jabber account:
-    set loginconf2(profile)      Secondary
-#    set loginconf2(user)         --------
-#    set loginconf2(password)     --------
-#    set loginconf2(server)       --------
-
-#    set loginconf(usedigest)     1
-#    set loginconf(resource)      TkabberP
-#    set loginconf(port)          5222
-#    set loginconf(priority)      3
-#    set loginconf(usessl)        0 
-#    set loginconf(sslport)       5223
-#    set loginconf(useproxy)      0
-#    set loginconf(httpproxy)     localhost
-#    set loginconf(httpproxyport) 3128
-#    set loginconf(replace_opened) 0
-
-#    array set loginconf          [array get loginconf1]
-
-    set autologin 0
-    
-# 2.2.15 The Message Module
-
-#    set message::options(headlines,cache)    1
-#    set message::options(headlines,multiple) 1
-
-# 2.2.16 The Raw XML Input Module
-
-#    set plugins::rawxml::options(pretty_print) 1
-#    set plugins::rawxml::options(indent)       2
-
-# 2.2.17 The Roster Module
-
-#    set roster::show_only_online              1
-#    set roster::show_transport_icons          1
-#    set roster::show_transport_user_icons     1
-
-#    set roster::roster(collapsed,Transports)  1
-#    set roster::roster(collapsed,Conferences) 1
-#    set roster::roster(collapsed,Undefined)   1
-    
-#	set roster::options(show_subscription)	  1
-#	set roster::options(show_conference_user_info) 1
-
-#	set roster::use_aliases 0
-#	set roster::aliases(perico at servidor.org) \
-#			{perico at servidor2.com}
-
-# 2.2.18 The Sound Module
-
-#    set sound::options(sound)					1
-#    set sound::options(mute)					0 
-#    set sound::options(mute_groupchat_delayed)	1
-#    set sound::options(mute_chat_delayed)		1
-#    set sound::options(delay)					200
-    set sound::options(theme)					"psi"
-
-#	if {$::tcl_platform(platform) == "unix"} {
-	# Linux users
-		# If no sound is available, use one of the following:
-		#set sound::options(external_play_program) /usr/bin/play
-		#set sound::options(external_play_program) artsplay
-#	} else {
-	# Windows users
-#		set sound::options(external_play_program) plwav.exe 
-#	}
-
-# Others non documented:
-
-# .. The XHTML Module
-
-#    set plugins::xhtml::options(enable)			1
-
-#    emoteicons::load_dir ~/.tkabber/cool-emoticon-theme
-    
-# Set theme for chess plugin
-
-#    set plugins::chess::theme 1
-    
-# special key bindings (due to KDE)
-
-    bind . <Alt-Left>      {ifacetk::tab_move .nb -1}
-    bind . <Alt-Right>     {ifacetk::tab_move .nb 1}
-    bind . <Alt-Up>        {ifacetk::current_tab_move .nb -1}
-    bind . <Alt-Down>      {ifacetk::current_tab_move .nb  1}
-    bind . <Alt-Key-w> {
-	if {[.nb raise] != ""} {
-	    eval destroy [pack slaves [.nb getframe [.nb raise]]]
-	    .nb delete [.nb raise] 1
-	    ifacetk::tab_move .nb 0
-	}
-    }
-
-    # Change presence indicator
-    #bind . <Control-Key-Fx>      {set userstatus chat}
-    bind . <Control-Key-F1>      {set userstatus available}
-    #bind . <Control-Key-Fx>      {set userstatus away}
-    bind . <Control-Key-F2>      {set userstatus xa}
-    bind . <Control-Key-F3>      {set userstatus dnd}
-    #bind . <Control-Key-Fx>      {set userstatus invisible}
-
-
-# Set search behaviour
-#    set search::show_all 1
-
-
-# Georoster plugin 
-
-# MTR's config file for tkabber
-
-# If you want to use Georoster, uncomment the lines that start with a '#'.
-# The lines that start with '   #' are not necessary.
-
-#    source ~/.tkabber/tkabber-plugins/georoster/georoster.tcl
-
-    # automatically open GeoRoster window
-#    set georoster::options(automatic) 0
-    
-    # show cities on map (none, markers, or all)
-#    set georoster::options(showcities) all
-    
-    # file defining city names & locations, localized for XX
-    #set georoster::options(citiesfile) ~/.tkabber/tkabber-plugins/georoster/earth.XX
-    
-    # file defining ISO 3166 country codes
-    #set georoster::options(3166file) iso3166
-    
-    # default country to use, if unspecified in vCard
-    #set georoster::options(default_country) us
-    
-    # file defining region/locality names & locations, for country XX
-    #set georoster::options(coords,XX) ~/.tkabber/tkabber-plugins/georoster/XX.coords
-    
-    # file containing gif to use as background for map
-#    set georoster::options(mapfile) ~/.tkabber/tkabber-plugins/georoster/colormap.jpg
-    
-    # procedures to map from x/y to lo/la, and back again
-    #proc georoster::lo {x  y}
-    #proc georoster::la {x  y}
-    #proc georoster::x  {lo la}
-    #proc georoster::y  {lo la}
-
-    # hook to locate a given jid:
-    
-    #proc XX {jid update} {
-    #    if {$success} {
-    #        eval $update [list $la $lo]
-    #        return stop
-    #    }
-    #}
-    
-    #hook::add georoster:locate_hook [namespace current]::XX
-
-
-}

Deleted: trunk/tkabber/examples/badlop-dark.xrdb
===================================================================
--- trunk/tkabber/examples/badlop-dark.xrdb	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/badlop-dark.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,301 +0,0 @@
-! Badlop-Dark.xrdb theme for Tkabber (based on dark2.xrdb)
-
-! Font for drawing text (except cases where $font is used)
-!*font:				    -monotype-arial-medium-r-normal-*-17-*-*-*-*-*-koi8-r
-
-! Main window geometry
-!   [tamaño horizontal]
-!   x[tamaño vertical]
-!   -[separacion con borde derecho de pantalla]
-!   +[separación con borde superior de lapantalla]
-Tkabber.geometry:		    700x520-30+170
-
-! Chat window geometry (in no tabs mode)
-!*Chat.geometry:	            300x500-70+350 ! notabs
-*Chat.geometry:			    300x500-70+350
-*Chat.groupchatgeometry:	    600x500
-*Chat.chatgeometry:		    500x500
-
-! Browser and Headlines window geometry (in no tabs mode)
-*JBrowser.geometry:		    350x350
-*JDisco.geometry:		    500x500
-
-! Roster width (tabbed interface only)
-Tkabber.mainRosterWidth:	    150
-
-! Roster width in groupchat windows
-Tkabber.chatRosterWidth:	    80
-
-! Scrollbar bed color
-*troughColor:			    #424242
-
-*background:			    #5e5e5e
-*foreground:			    #ffffff
-
-! Colors, which are used when mouse is over the item
-*activeBackground:		    #550066
-*activeForeground:		    #ffffff
-
-*disabledBackground:		    #3f3f3f
-*disabledForeground:		    #aaaaaa
-
-! Colors and border width selected item
-*selectBackground:		    #550066
-*selectForeground:		    #ffffff
-*selectBorderWidth:		    0
-
-! Color for checkboxes
-*selectColor:			    #4f135b
-
-! Color of traversal highlight rectangle
-*highlightBackground:		    #5e5e5e
-*highlightColor:		    #000000
-
-! Color of insertion cursor
-*insertBackground:		    #ffffff
-
-! Currently there is only progressbar (at the splash screen)
-*ProgressBar.foreground:	    #550066
-
-! Flatten ComboBox and ArrowButton +++
-*Spinbox.borderWidth:		    1
-*Spinbox.background:		    #424242
-*SpinBox.borderWidth:		    1
-*SpinBox*Entry*highlightBackground: #424242
-*ComboBox.borderWidth:		    1
-*ArrowButton*borderWidth:	    1
-*ArrowButton.borderWidth:	    0
-*ArrowButton.highlightThickness:    0
-
-! Colors for multicolumn listboxes (as in search result window)
-*Mclistbox.background:		    #424242
-*Mclistbox.labelActiveBackground:   #550066
-*Mclistbox.labelBackground:	    #5e5e5e
-*Mclistbox.labelForeground:	    #ffffff
-*Mclistbox.labelActiveForeground:   #ffffff
-
-! Button and Menubutton colors
-! Generic button
-*Button.background:		    #5e5e5e
-*Button.activeBackground:	    #550066
-
-! Generic menubutton
-*Menubutton.background:		    #5e5e5e
-*Menubutton.activeBackground:	    #550066
-
-! Buttons in chat and message windows
-*Chat*Button.background:	    #5e5e5e
-*Chat*Menubutton.background:	    #5e5e5e
-*Message*Menubutton.background:	    #5e5e5e
-
-*bbox.Button.background:	    #5e5e5e
-
-! Menu colors
-*Menu.background:		    #5e5e5e
-*Menu.activeBackground:		    #550066
-
-! Main toolbar buttons
-*mainframe.topf.tb0.bbox.Button.background: #5e5e5e
-
-! Sign/encrypt message buttons
-*bottom.buttons1.Button.background: #5e5e5e
-
-! Type of subitem in roster (1 - display number of resources,
-! 2 - display arrow, 3 - display both, 0 - display nothing
-*Roster.subitemtype:		    3
-
-! Roster background color
-*Roster.cbackground:		    #424242
-
-! Inactive JID background color
-*Roster.jidfill:		    #424242
-
-! Active JID background color
-*Roster.jidhlfill:		    #4f135b
-
-! Color of border around JID
-*Roster.jidborder:		    #424242
-
-! Inctive group background color
-*Roster.groupfill:		    #5e5e5e
-
-! Inactive closed group background color
-*Roster.groupcfill:		    #5e5e5e
-
-! Active group background color
-*Roster.grouphlfill:		    #550066
-
-! Color of border around group
-*Roster.groupborder:		    #5e5e5e
-
-! Indent of group names
-*Roster.groupindent:		    21
-
-! Indent of JIDs
-*Roster.jidindent:		    42
-
-! Indent of second order JIDs
-! (resources for those who is logged in multiple times)
-*Roster.subjidindent:		    62
-
-! Indent of group icons (closed or open arrow icon)
-*Roster.groupiconindent:	    2
-
-! Indent of group icons when subitemtype is 2 or 3
-*Roster.subgroupiconindent:	    2
-
-! Indent of regular JID icons (status icon)
-*Roster.iconindent:		    21
-
-! Indent of second order JID icons
-*Roster.subiconindent:		    42
-
-! Additional amount of text height
-*Roster.textuppad:		    0
-*Roster.textdownpad:		    0
-
-! Vertical distance between adjacent items
-*Roster.linepad:		    2
-
-! Foregrounds of JID label
-! (stalkerforeground is for contacts with pending subscription)
-*Roster.stalkerforeground:	    #d2b48c
-
-! Other colors are selfexplanatory
-*Roster.unavailableforeground:	    #b8b8b8
-*Roster.dndforeground:		    #ffc1c1
-*Roster.xaforeground:		    #c1cdcd
-*Roster.awayforeground:		    #c1cdcd
-*Roster.availableforeground:	    #ffffff
-*Roster.chatforeground:		    #ffffff
-
-! Colors in chat and groupchat windows
-*Chat*Text*Label.background:		    #66685e
-
-! Color of other people nicknames
-*Chat.theyforeground:		    #ff7f50
-
-! Color of my nickname
-*Chat.meforeground:		    #add8e6
-
-! Colors of server messages
-*Chat.serverlabelforeground:	    #caff70
-*Chat.serverforeground:		    #ff69b4
-
-! Color of error messages
-*Chat.errforeground:		    #ff6a6a
-
-! Color of inactive urls in text
-*urlforeground:		    	    #add8e6
-
-! Color of active urls in text
-*urlactiveforeground:	    	    #add8e6
-
-! Colors of erroneous words (when ispell module is using)
-*Chat.errorColor:		    #ff7f50
-*Chat.comboColor:		    #add8e6
-
-*Chat.inputheight:                  3
-
-! Colors of tab labels (when in tabbed mode)
-*NoteBook*Entry.readonlyBackground: #3f3f3f
-! Usual color
-*NoteBook.alertColor0:              #ffffff
-
-! Color when server message is arrived
-*NoteBook.alertColor1:              #ff69b4
-
-! Color when message is arrived
-*NoteBook.alertColor2:              #add8e6
-
-! Color when personally addressed message is arrived
-*NoteBook.alertColor3:              #ff7f50
-
-! Colors for browser and discovery service windows
-*JBrowser.fill:			    #ffffff
-*JBrowser.activefill:		    #ffffff
-*JBrowser.border:		    #424242
-
-! ale
-*JBrowser.nscolor:		    #b8b8b8
-*JBrowser.nsactivecolor:	    #b8b8b8
-*JBrowser.cbackground:   	    #b8b8b8
-! White
-*JBrowser.foreground:    	    #b8b8b8
-! Black
-*JBrowser.levelindent:   	    24
-*JBrowser.indent:        	    3
-*JBrowser.nsindent:      	    2
-*JBrowser.linepad:       	    2
-*JBrowser.toppad:        	    1
-*JBrowser.bottompad:     	    1
-*JBrowser.icontextpad:   	    2
-! MidnightBlue 
-! Blue 
-
-*JDisco.fill:			    #ffffff
-*JDisco.activefill:		    #ffffff
-*JDisco.border:			    #424242
-*JDisco.featurecolor:		    #b8b8b8
-*JDisco.identitycolor:		    #b4eeb4
-*JDisco.optioncolor:		    #ff69b4
-*Tree*background:		    #424242
-*linesfill:			    #ffffff
-*crossfill:			    #000000
-
-! ale
-*JDisco.cbackground:                #ffffff
-*JDisco.foreground:                 #000000
-
-! Tooltip options
-*Balloon.background:		    #424242
-*Balloon.foreground:		    #ffffff
-*Balloon*padX:			    1
-*Balloon*padY:			    0
-*DynamicHelp.background:	    #424242
-*DynamicHelp.foreground:	    #ffffff
-*Baloon.style:                      delay
-
-*Listbox.background:		    #424242
-*Listbox.foreground:		    #ffffff
-*Listbox.borderWidth:		    1
-
-*Text.background:		    #424242
-*Text.foreground:		    #ffffff
-*Text.borderWidth:		    1
-
-*Entry.background:		    #424242
-*Entry.foreground:		    #ffffff
-*Entry.borderWidth:		    1
-
-*NoteBook*Entry.background:	    #424242
-*NoteBook*Entry.disabledBackground: #5e5e5e
-*NoteBook*Entry.foreground:	    #ffffff
-
-*Button.borderWidth:		    1
-
-*Menu.activeBorderWidth:	    1
-*Menu.borderWidth:		    1
-*Menubutton.borderWidth:	    1
-
-*Buttonbox*borderWidth:		    0
-*Buttonbox*activeBorderWidth:	    0
-
-! ale
-*Search.itemBackground:             #ffffff
-
-! ale
-*RawXML.inforeground:               #e0c3c3
-*RawXML.outforeground:              #a3a3ff
-*RawXML.intagforeground:            #e0c3c3
-*RawXML.inattrforeground:           #e0c3c3
-*RawXML.invalueforeground:          #d1aef2
-*RawXML.incdataforeground:          #b2dcff
-*RawXML.outtagforeground:           #efb3ef
-*RawXML.outattrforeground:          #efb3ef
-*RawXML.outvalueforeground:         #c9ffc9
-*RawXML.outcdataforeground:         #b6b6f9
-*RawXML.inputheight:                4
-
-*Scrollbar.width:		    8
-

Deleted: trunk/tkabber/examples/black.xrdb
===================================================================
--- trunk/tkabber/examples/black.xrdb	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/black.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,89 +0,0 @@
-*background:			    black
-*foreground:			    grey
-*disabledBackground:		    black
-*disabledForeground:		    grey50
-*errorForeground:		    coral3
-*activeBackground:		    grey30
-*activeForeground:		    grey100
-*selectBackground:		    grey
-*selectForeground:		    black
-*selectBorderWidth:		    0
-*highlightSearchBackground:         #c1eec1
-*highlightBackground:		    black
-*highlightColor:		    grey
-*insertBackground:		    grey
-*troughColor:			    black
-
-*Spinbox.borderWidth:		    1
-*Spinbox.background:		    black
-*SpinBox.borderWidth:		    1
-*SpinBox*Entry*highlightBackground: black
-*ComboBox.borderWidth:		    1
-*ArrowButton.borderWidth:	    0
-*ArrowButton.highlightThickness:    0
-
-*Mclistbox.background:		    black
-*Mclistbox.labelBackground:	    black
-*Mclistbox.labelForeground:	    grey
-*Mclistbox.labelActiveBackground:   grey30
-*Mclistbox.labelActiveForeground:   grey100
-
-*Roster.cbackground:		    Black
-*Roster.jidfill:		    Black
-*Roster.jidhlfill:		    #382b54
-*Roster.jidborder:		    Black
-*Roster.groupfill:		    Gray30
-*Roster.groupcfill:		    Gray30
-*Roster.grouphlfill:		    MediumPurple4
-*Roster.groupborder:		    Black
-
-*JBrowser.fill:			    Grey
-*JBrowser.activefill:		    Grey
-*JBrowser.border:		    Black
-*JBrowser.nscolor:		    LightSteelBlue3
-*JBrowser.nsactivecolor:	    LightSteelBlue3
-*linesfill:			    Grey
-*crossfill:			    Grey
-
-*JDisco.fill:			    Grey
-*JDisco.activefill:		    Grey
-*JDisco.border:			    Black
-*JDisco.featurecolor:		    LightSteelBlue3
-*JDisco.identitycolor:		    darkolivegreen3
-*JDisco.optioncolor:		    mediumorchid3
-*Tree*background:		    Black
-
-*Roster.stalkerforeground:	    grey40
-*Roster.unavailableforeground:	    grey40
-*Roster.dndforeground:		    grey45
-*Roster.xaforeground:		    grey50
-*Roster.awayforeground:		    grey50
-*Roster.availableforeground:	    grey55
-*Roster.chatforeground:		    grey55
-
-*Chat*Text*Label.background:	    black
-*Chat.theyforeground:		    cornflowerblue
-*Chat.meforeground:		    coral3
-*Chat.serverlabelforeground:	    darkolivegreen3
-*Chat.serverforeground:		    mediumorchid3
-*Chat.infoforeground:		    cornflowerblue
-*Chat.errforeground:		    coral3
-*urlforeground:			    cornflowerblue
-*urlactiveforeground:		    skyblue
-*Chat.errorColor:		    coral3
-*Chat.comboColor:		    cornflowerblue
-
-*ProgressBar.foreground:	    grey
-
-*NoteBook.alertColor0:		    Grey
-*NoteBook.alertColor1:		    mediumorchid3
-*NoteBook.alertColor2:		    cornflowerblue
-*NoteBook.alertColor3:		    coral3
-
-*NoteBook*Entry.background:	    #000000
-*NoteBook*Entry.disabledBackground: #000000
-*NoteBook*Entry.readonlyBackground: #000000
-*NoteBook*Entry.foreground:	    grey
-
-*Customize.varforeground:	    cornflowerblue
-

Deleted: trunk/tkabber/examples/config.tcl
===================================================================
--- trunk/tkabber/examples/config.tcl	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/config.tcl	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,62 +0,0 @@
-# $Id$
-
-# Sample config file for Tkabber
-
-# login settings
-set loginconf(user) aleksey
-set loginconf(password) secret
-set loginconf(resource) tkabber
-set loginconf(server) jabber.ru
-
-
-# Also instead of above login settings you can setup few different profiles:
-#set loginconf1(profile)  "Local test login"
-#set loginconf1(user)     test
-#set loginconf1(password) test
-#set loginconf1(resource) tkabber
-#set loginconf1(server)   localhost
-#set loginconf2(profile)  "aleksey at jabber.ru"
-#set loginconf2(user)     aleksey
-#set loginconf2(password) secret
-#set loginconf2(resource) tkabber
-#set loginconf2(server)   jabber.ru
-# And by default use first profile:
-#array set loginconf [array get loginconf1]
-
-# For different you can set different default nicks:
-#set defaultnick(cool at conference.jabber.org) mY_cOOl_NIcK
-
-# You can choose different set of icons:
-#set pixmaps_theme gabber
-#set pixmaps_theme psi
-
-
-
-
-# Use this to load X resources
-#option readfile ~/.tkabber/teopetuk.xrdb userDefault
-
-# Popup balloons on roster and browser can work in two styles: "delay" &
-# "follow".
-#option add *Balloon.style follow userDefault
-
-# Define 'browseurl' to browse urls with your favorite browser.
-# For konqueror:
-#proc browseurl {url} {
-#    exec konqueror $url &
-#}
-# For galeon:
-#proc browseurl {url} {
-#    exec galeon -n $url &
-#}
-
-# This function called after loading of tkabber's modules (maybe removed in the
-# future)
-proc postload {} {
-    # To setup your avatar uncomment this:
-    #avatar::load_file ~/.tkabber/myface.gif
-
-    # If you download some emoticons theme, and untar it e.g. in
-    # ~/.tkabber/cool-emoticon-theme, then you can load it as follow:
-    #emoteicons::load_dir ~/.tkabber/cool-emoticon-theme
-}
\ No newline at end of file

Copied: trunk/tkabber/examples/configs/badlop-config-home.tcl (from rev 706, trunk/tkabber/examples/badlop-config-home.tcl)
===================================================================
--- trunk/tkabber/examples/configs/badlop-config-home.tcl	                        (rev 0)
+++ trunk/tkabber/examples/configs/badlop-config-home.tcl	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,49 @@
+# Language
+#::msgcat::mclocale en
+
+# Now we will load Badlop's configuration file, if available.
+# It will set a bunch of options. 
+# It's not a good idea to modify 'badlop-config.tcl' 
+#   as it will be updated often to add more and more options.
+# If you want to change any of them, copy the corresponding line (or lines) from that file,
+#   insert it on the following section ('finload_hook') so your personal options
+#   will always be securely saved on your own config file.
+if {[file exists $rootdir/examples/badlop-config.tcl]} {
+    source $rootdir/examples/badlop-config.tcl
+}
+
+# Configure here your own options
+hook::add finload_hook {
+
+	# Set here your Jabber account information
+
+    #                            1. User:
+#    set ::loginconf(user)                ********
+    #                            2. Server:
+#    set ::loginconf(server)              ********
+    #                            3. Password:
+#    set ::loginconf(password)            ********
+
+	# You can modify the resource, for example put 'home', or 'laptop/work'
+#    set ::loginconf(resource)	TkabberP
+	# If you have installed all the needed to run SSL, you can activate it
+#    set ::loginconf(usessl)		0
+
+	# For example, if you do not want sound, uncomment this line
+#	set sound::options(sound)		0
+
+#	set ::BROWSER c:/Mozilla/mozillafirebird.exe
+
+#	option add *font -monotype-arial-medium-r-*-*-11-*-100-100-*-*-iso10646-1
+#	set font -monotype-arial-medium-r-*-*-11-*-100-100-*-*-iso10646-1
+
+
+
+
+
+
+
+
+
+
+}

Copied: trunk/tkabber/examples/configs/badlop-config.tcl (from rev 706, trunk/tkabber/examples/badlop-config.tcl)
===================================================================
--- trunk/tkabber/examples/configs/badlop-config.tcl	                        (rev 0)
+++ trunk/tkabber/examples/configs/badlop-config.tcl	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,388 @@
+# Badlop's config file for Tkabber 20031201
+#  - based on MTR and TeopeTuK config files (available on 'examples/' directory)
+#  - includes references to Tkabber documentation (available on 'doc/' directory)
+#  - contributions: 
+#     Marcansoft for Linux options
+# Report any error or suggestion to badlop at ono.com
+
+
+# Configuration ------------------------------------------------------------------ PRELOAD
+
+# 2. Configuration
+
+# 2.1 Pre-load
+
+# 2.1.1 Tabbed Interface
+
+#    set usetabbar 1
+
+# 2.1.2 Primary Look-and-Feel
+
+    set pixmaps_theme gush
+
+    set load_default_xrdb 0
+    option readfile $rootdir/examples/badlop-dark.xrdb userDefault
+
+#    option add *font fixed userDefault
+    switch -- [winfo screenwidth .]x[winfo screenheight .] {
+        1400x1050
+            -
+        1280x1024 {
+            option add Tkabber.geometry =788x550-0+0 userDefault    
+        }
+        1024x768 {
+            option add Tkabber.geometry =700x520-30+170 userDefault
+
+            # sets font of most of labels in widgets, 
+            option add *font -monotype-arial-medium-r-*-*-11-*-100-100-*-*-iso10646-1
+
+            # sets font of chat and roster text
+            set font -monotype-arial-medium-r-*-*-11-*-100-100-*-*-iso10646-1
+		}
+        800x600 {
+            option add Tkabber.geometry =600x420-30+100 userDefault    
+
+            # sets font of most of labels in widgets, 
+            option add *font -monotype-arial-medium-r-*-*-9-*-100-100-*-*-iso10646-1
+
+            # sets font of chat and roster text
+            set font -monotype-arial-medium-r-*-*-9-*-100-100-*-*-iso10646-1
+        }
+        default {
+            #option add Tkabber.geometry =630x412-0+0 userDefault    
+        }
+    }
+
+
+
+# 2.1.3 Cryptography by default
+
+#    set ssj::options(one-passphrase)  1
+#    set ssj::options(sign-traffic)    1
+#    set ssj::options(encrypt-traffic) 1
+
+# 2.1.4 Using of external TclXML library
+
+#    set use_external_tclxml			1
+
+# 2.1.5 Use ispell to check spelling
+
+#    set use_ispell 1
+
+# 2.1.6 Debugging Output
+
+#    set debug_lvls		{jlib warning}
+#    set debug_lvls     [list message presence ssj warning]
+#    set debug_lvls     [list zerobot]
+#    set debug_lvls		[list jlib plugins]
+#    set debug_winP      0
+
+# 2.1.7 Splash window
+
+#    set show_splash_window 1
+
+# 2.1.8 Periodically send empty string to server
+
+#    set keep_alive           0
+#    set keep_alive_interval 10
+
+# 2.1.9 I18n/L10n
+
+#    ::msgcat::mclocale es
+
+# Other non documented:
+
+# Remove the four button bar at the top of the roster
+
+#    hook::add finload_hook {.mainframe showtoolbar 0 0}
+
+# Define here the route to your prefered web browser
+#	if {$tcl_platform(platform) == "unix"} {
+#		# Linux users
+#		proc browseurl {url} {
+#			exec mozilla $url &}
+#		} else {
+#		# Windows users
+#		proc browseurl {url} {
+#			exec "c:/Mozilla/MozillaFirebird.exe" $url &
+#		}
+#	}
+
+#	global BROWSER
+#	if {$tcl_platform(platform) == "unix"} {
+#		# Linux users
+#		set ::BROWSER mozilla
+#	} else {
+#		# Windows users
+#		set ::BROWSER explorer
+#	}
+#	proc browseurl {url} {
+#		exec $::BROWSER $url &
+#	}
+	
+	# show SSL warnings
+#	set ::tls_warnings 0
+
+# Join groupchats automatically at the start (other available option: -nick <yournick>)
+#proc connload {connid} {
+#	join_group jabber at conference.jabber.org -connection $connid }
+#hook::add connected_hook connload 1000
+
+
+# 2.2 Post-load ------------------------------------------------------------------ POSTLOAD
+proc postload {} {
+
+# 2.2.1 Look-and-Feel
+
+#    set raise_new_tab 0
+
+# 2.2.2 The Autoaway Module
+
+#    set plugins::autoaway::options(awaytime) [expr  2*60*1000]
+#    set plugins::autoaway::options(xatime)   [expr 15*60*1000]
+#    set plugins::autoaway::options(status)   "Idle"
+#    set plugins::autoaway::options(drop_priority) 0
+    
+# 2.2.3 The Avatar Module    
+
+#	if {[file exists  ~/.tkabber/avatar.gif]} {
+#		avatar::load_file ~/.tkabber/avatar.gif
+#	} else {
+#		avatar::load_file $::rootdir/pixmaps/default/tkabber/mainlogo.gif
+#	}
+#	set avatar::options(announce)	1
+#	set avatar::options(share)		1
+
+# 2.2.4 The Chat Module (chat, normal)
+
+#    set chat::options(default_message_type)		chat
+#    set chat::options(stop_scroll)				0
+#    set chat::options(smart_scroll)				1
+#	set chat::options(display_status_description) 1
+
+# Examples:
+#  [%R] -- [20:37]
+#  [%T] -- [20:37:12]
+#  [%a %b %d %H:%M:%S %Z %Y] -- [Thu Jan 01 03:00:00 MSK 1970]
+
+#    set plugins::options(timestamp_format)  {[%R]}
+
+# 2.2.5 The Clientinfo Module   
+  
+#    set plugins::clientinfo::options(autoask) 1
+
+# 2.2.6 The Conferenceinfo Module
+
+#    set plugins::conferenceinfo::options(autoask)         1
+#    set plugins::conferenceinfo::options(interval)      300
+#    set plugins::conferenceinfo::options(err_interval) 3600
+
+# 2.2.7 The Cryptographic Module
+
+#    set ssj::options(encrypt,fred at example.com) 1
+
+# 2.2.8 The Emoticons Module
+
+#	emoteicons::load_dir $::rootdir/emoticons/rhymbox-1.0
+
+# 2.2.9 The File Transfer Module
+
+#	if {$::tcl_platform(platform) == "unix"} {
+	# Linux users
+#		set ft::options(download_dir) "~"
+#	} else {
+	# Windows users
+#		set ft::options(download_dir) "c:/"
+#	}
+
+# 2.2.10 The Groupchat Module
+
+#    global gra_group gra_server
+#    global gr_nick gr_group gr_server gr_v2
+#    global defaultnick
+    
+#    set defaultnick(talks at conference.jabber.org) teo
+
+# 2.2.11 The Ispell Module
+
+#	set plugins::ispell::options(executable)            ispell/bin/ispell.exe
+#	set plugins::ispell::options(executable)            /usr/bin/ispell
+#	set plugins::ispell::options(dictionary)            spanish
+#	set plugins::ispell::options(check_every_symbol)    0
+#	set plugins::ispell::options(dictionary_encoding)	koi8-r
+
+# 2.2.12 The Jidlink Module
+
+#    set jidlink::transport(allowed,dtcp-passive) 0
+
+# 2.2.13 The Logger Module
+
+#    set logger::options(logdir) ~/.tkabber/logs
+#    set logger::options(log_chat)      1
+#    set logger::options(log_groupchat) 1
+
+# 2.2.14 The Login Module
+
+    global loginconf autologin loginconf1 loginconf2
+
+    # Jabber account:
+    set loginconf1(profile)      Default
+#    set loginconf1(user)         ++++++++
+#    set loginconf1(password)     ++++++++
+#    set loginconf1(server)       ++++++++
+    
+    # Other Jabber account:
+    set loginconf2(profile)      Secondary
+#    set loginconf2(user)         --------
+#    set loginconf2(password)     --------
+#    set loginconf2(server)       --------
+
+#    set loginconf(usedigest)     1
+#    set loginconf(resource)      TkabberP
+#    set loginconf(port)          5222
+#    set loginconf(priority)      3
+#    set loginconf(usessl)        0 
+#    set loginconf(sslport)       5223
+#    set loginconf(useproxy)      0
+#    set loginconf(httpproxy)     localhost
+#    set loginconf(httpproxyport) 3128
+#    set loginconf(replace_opened) 0
+
+#    array set loginconf          [array get loginconf1]
+
+    set autologin 0
+    
+# 2.2.15 The Message Module
+
+#    set message::options(headlines,cache)    1
+#    set message::options(headlines,multiple) 1
+
+# 2.2.16 The Raw XML Input Module
+
+#    set plugins::rawxml::options(pretty_print) 1
+#    set plugins::rawxml::options(indent)       2
+
+# 2.2.17 The Roster Module
+
+#    set roster::show_only_online              1
+#    set roster::show_transport_icons          1
+#    set roster::show_transport_user_icons     1
+
+#    set roster::roster(collapsed,Transports)  1
+#    set roster::roster(collapsed,Conferences) 1
+#    set roster::roster(collapsed,Undefined)   1
+    
+#	set roster::options(show_subscription)	  1
+#	set roster::options(show_conference_user_info) 1
+
+#	set roster::use_aliases 0
+#	set roster::aliases(perico at servidor.org) \
+#			{perico at servidor2.com}
+
+# 2.2.18 The Sound Module
+
+#    set sound::options(sound)					1
+#    set sound::options(mute)					0 
+#    set sound::options(mute_groupchat_delayed)	1
+#    set sound::options(mute_chat_delayed)		1
+#    set sound::options(delay)					200
+    set sound::options(theme)					"psi"
+
+#	if {$::tcl_platform(platform) == "unix"} {
+	# Linux users
+		# If no sound is available, use one of the following:
+		#set sound::options(external_play_program) /usr/bin/play
+		#set sound::options(external_play_program) artsplay
+#	} else {
+	# Windows users
+#		set sound::options(external_play_program) plwav.exe 
+#	}
+
+# Others non documented:
+
+# .. The XHTML Module
+
+#    set plugins::xhtml::options(enable)			1
+
+#    emoteicons::load_dir ~/.tkabber/cool-emoticon-theme
+    
+# Set theme for chess plugin
+
+#    set plugins::chess::theme 1
+    
+# special key bindings (due to KDE)
+
+    bind . <Alt-Left>      {ifacetk::tab_move .nb -1}
+    bind . <Alt-Right>     {ifacetk::tab_move .nb 1}
+    bind . <Alt-Up>        {ifacetk::current_tab_move .nb -1}
+    bind . <Alt-Down>      {ifacetk::current_tab_move .nb  1}
+    bind . <Alt-Key-w> {
+	if {[.nb raise] != ""} {
+	    eval destroy [pack slaves [.nb getframe [.nb raise]]]
+	    .nb delete [.nb raise] 1
+	    ifacetk::tab_move .nb 0
+	}
+    }
+
+    # Change presence indicator
+    #bind . <Control-Key-Fx>      {set userstatus chat}
+    bind . <Control-Key-F1>      {set userstatus available}
+    #bind . <Control-Key-Fx>      {set userstatus away}
+    bind . <Control-Key-F2>      {set userstatus xa}
+    bind . <Control-Key-F3>      {set userstatus dnd}
+    #bind . <Control-Key-Fx>      {set userstatus invisible}
+
+
+# Set search behaviour
+#    set search::show_all 1
+
+
+# Georoster plugin 
+
+# MTR's config file for tkabber
+
+# If you want to use Georoster, uncomment the lines that start with a '#'.
+# The lines that start with '   #' are not necessary.
+
+#    source ~/.tkabber/tkabber-plugins/georoster/georoster.tcl
+
+    # automatically open GeoRoster window
+#    set georoster::options(automatic) 0
+    
+    # show cities on map (none, markers, or all)
+#    set georoster::options(showcities) all
+    
+    # file defining city names & locations, localized for XX
+    #set georoster::options(citiesfile) ~/.tkabber/tkabber-plugins/georoster/earth.XX
+    
+    # file defining ISO 3166 country codes
+    #set georoster::options(3166file) iso3166
+    
+    # default country to use, if unspecified in vCard
+    #set georoster::options(default_country) us
+    
+    # file defining region/locality names & locations, for country XX
+    #set georoster::options(coords,XX) ~/.tkabber/tkabber-plugins/georoster/XX.coords
+    
+    # file containing gif to use as background for map
+#    set georoster::options(mapfile) ~/.tkabber/tkabber-plugins/georoster/colormap.jpg
+    
+    # procedures to map from x/y to lo/la, and back again
+    #proc georoster::lo {x  y}
+    #proc georoster::la {x  y}
+    #proc georoster::x  {lo la}
+    #proc georoster::y  {lo la}
+
+    # hook to locate a given jid:
+    
+    #proc XX {jid update} {
+    #    if {$success} {
+    #        eval $update [list $la $lo]
+    #        return stop
+    #    }
+    #}
+    
+    #hook::add georoster:locate_hook [namespace current]::XX
+
+
+}

Copied: trunk/tkabber/examples/configs/config.tcl (from rev 706, trunk/tkabber/examples/config.tcl)
===================================================================
--- trunk/tkabber/examples/configs/config.tcl	                        (rev 0)
+++ trunk/tkabber/examples/configs/config.tcl	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,62 @@
+# $Id$
+
+# Sample config file for Tkabber
+
+# login settings
+set loginconf(user) aleksey
+set loginconf(password) secret
+set loginconf(resource) tkabber
+set loginconf(server) jabber.ru
+
+
+# Also instead of above login settings you can setup few different profiles:
+#set loginconf1(profile)  "Local test login"
+#set loginconf1(user)     test
+#set loginconf1(password) test
+#set loginconf1(resource) tkabber
+#set loginconf1(server)   localhost
+#set loginconf2(profile)  "aleksey at jabber.ru"
+#set loginconf2(user)     aleksey
+#set loginconf2(password) secret
+#set loginconf2(resource) tkabber
+#set loginconf2(server)   jabber.ru
+# And by default use first profile:
+#array set loginconf [array get loginconf1]
+
+# For different you can set different default nicks:
+#set defaultnick(cool at conference.jabber.org) mY_cOOl_NIcK
+
+# You can choose different set of icons:
+#set pixmaps_theme gabber
+#set pixmaps_theme psi
+
+
+
+
+# Use this to load X resources
+#option readfile ~/.tkabber/teopetuk.xrdb userDefault
+
+# Popup balloons on roster and browser can work in two styles: "delay" &
+# "follow".
+#option add *Balloon.style follow userDefault
+
+# Define 'browseurl' to browse urls with your favorite browser.
+# For konqueror:
+#proc browseurl {url} {
+#    exec konqueror $url &
+#}
+# For galeon:
+#proc browseurl {url} {
+#    exec galeon -n $url &
+#}
+
+# This function called after loading of tkabber's modules (maybe removed in the
+# future)
+proc postload {} {
+    # To setup your avatar uncomment this:
+    #avatar::load_file ~/.tkabber/myface.gif
+
+    # If you download some emoticons theme, and untar it e.g. in
+    # ~/.tkabber/cool-emoticon-theme, then you can load it as follow:
+    #emoteicons::load_dir ~/.tkabber/cool-emoticon-theme
+}
\ No newline at end of file

Copied: trunk/tkabber/examples/configs/mtr-config.tcl (from rev 706, trunk/tkabber/examples/mtr-config.tcl)
===================================================================
--- trunk/tkabber/examples/configs/mtr-config.tcl	                        (rev 0)
+++ trunk/tkabber/examples/configs/mtr-config.tcl	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,463 @@
+# MTR's config file for tkabber (now with Aqua support!)
+
+
+set ssj::options(one-passphrase)  1
+set ssj::options(sign-traffic)    1
+set ssj::options(encrypt-traffic) 1
+
+set use_ispell                    1
+
+set debug_lvls                    [list zerobot]
+set debug_winP                    1
+
+set show_splash_window            1
+
+proc debugmsg {module msg} {
+    global debug_lvls w
+    global debug_fd debug_winP
+
+    if {![info exists debug_fd]} {
+        catch { file rename -force -- ~/.tkabber/tkabber.log \
+                                      ~/.tkabber/tkabber0.log }
+        set debug_fd [open ~/.tkabber/tkabber.log \
+                           { WRONLY CREAT TRUNC APPEND }]
+        fconfigure $debug_fd -buffering line
+    }
+
+    puts $debug_fd [format "%s %-12.12s %s" \
+                           [clock format [clock seconds] -format "%m/%d %T"] \
+                           $module $msg]
+
+    if {([lsearch -exact $debug_lvls $module] < 0) || (!$debug_winP)} {
+        return
+    }
+
+    set dw $w.debug
+
+    if {![winfo exists $dw]} {
+        add_win $dw -title Debug -tabtitle debug -class Chat
+
+        [ScrolledWindow $dw.sw] setwidget \
+            [text $dw.body -yscrollcommand [list $dw.scroll set]]
+
+        pack $dw.sw -side bottom -fill both -expand yes
+
+        $dw.body tag configure module \
+            -foreground [option get $dw theyforeground Chat]
+        $dw.body tag configure proc   \
+            -foreground [option get $dw meforeground Chat]
+        $dw.body tag configure error  \
+            -foreground [option get $dw errforeground Chat]
+    }
+
+    $dw.body insert end [format "%-12.12s" $module] module " "
+    set tag normal
+    switch -- $module {
+        jlib {
+            if {[set x [string first "(jlib::" $msg]] > 0} {
+                set tag error
+            }
+            if {[set y [string first ")" $msg]] > 0} {
+                $dw.body insert end \
+                         [string range $msg [expr $x+7] [expr $y-1]] proc \
+                         "\n"
+                set msg [string trimleft \
+                                [string range $msg [expr $y+1] end]]
+            }
+        }
+
+        default {
+        }
+    }
+    $dw.body insert end [string trimright $msg] $tag
+    $dw.body insert end "\n"
+
+    if {!$chat::options(stop_scroll)} {
+        $dw.body see end
+    }
+}
+
+if {$aquaP} {
+    set load_default_xrdb 1
+    set font {Monoco 12 normal}
+    option add *font $font userDefault
+} else {
+    set load_default_xrdb 0
+    option readfile ~/src/tkabber/tkabber/examples/ice.xrdb userDefault
+    option add *font fixed userDefault
+}
+
+switch -- [winfo screenwidth .]x[winfo screenheight .] {
+    1440x900
+        -
+    1440x879 {
+        option add Tkabber.geometry =710x481+730+21 userDefault
+    }
+
+    1400x1050
+        -
+    1280x1024 {
+        option add Tkabber.geometry =788x550-0+0 userDefault    
+    }
+
+    1024x768
+        -
+    default {
+        option add Tkabber.geometry =630x412-0+0 userDefault    
+    }
+}
+
+
+proc config_postload {} {
+# the emoticon module
+
+    emoteicons::load_dir ~/.tkabber/emoticons/rythmbox
+
+
+# the georoster module
+
+    source ~/src/tkabber/tkabber-plugins/georoster/georoster.tcl
+#   source ~/.tkabber/proprietary/georoster-prop.tcl
+
+    namespace eval georoster {
+        variable mapnum 1
+        variable mapwidth
+        variable mapheight
+        variable options
+
+        set options(showcities)  none
+
+        switch -- [winfo screenwidth .]x[winfo screenheight .] {
+            1440x900 {
+                set mapwidth  812
+                set mapheight 422
+	    }
+
+            1400x1050
+                -
+            1280x1024 {
+                set mapwidth  975
+                set mapheight 506
+            }
+
+            1024x768
+                -
+            default {
+                set mapwidth  650
+                set mapheight 338
+
+                set options(mapfile) \
+                    ~/src/tkabber/tkabber-plugins/georoster/bwmap4.gif
+
+                proc lo {x y} {expr {($x*2 - 649)*18/65 + 10}}
+                proc la {x y} {expr {(371 - $y*2)*9/40}}
+
+                proc x {lo la} {expr {(649+(($lo-10)*65/18))/2}}
+                proc y {lo la} {expr {(371-($la * 40/9))/2}}
+            }
+        }
+
+
+        variable M_PI       3.14159265358979323846
+        variable M_PI_2     [expr $M_PI/2.0]
+        variable deg_to_rad [expr $M_PI/180.0]
+        variable TWO_PI     [expr $M_PI*2.0]
+        variable M_DEG      [expr 180/$M_PI]
+        variable M_INVDEG   [expr $M_PI/180]
+
+        variable del_lon    [expr $TWO_PI/$mapwidth]
+        variable del_lat    [expr $M_PI/$mapheight]
+
+        variable lon_array
+        for {set i 0} {$i < $mapwidth} {incr i} {
+            set lon_array($i) [expr (($i+0.5)*$del_lon-$M_PI)]
+        }
+
+        variable lat_array
+        for {set i 0} {$i < $mapheight} {incr i} {
+            set lat_array($i) [expr ($M_PI_2 - ($i+0.5)*$del_lat)]
+        }
+
+        proc sp2px {lo la} {
+            variable M_PI
+            variable M_PI_2
+            variable TWO_PI
+            variable del_lon
+            variable del_lat
+            variable mapwidth
+            variable mapheight
+
+            if {$lo > $M_PI} {
+                set lo [expr $lo-$TWO_PI]
+            } elseif {$lo < -$M_PI} {
+                set lo [expr $lo+$TWO_PI]
+            }
+
+            set x [expr round(($lo+$M_PI)/$del_lon + 0.5)]
+            if {$x >= $mapwidth} {
+                incr x -$mapwidth
+            } elseif {$x < 0} {
+                incr x $mapwidth
+            }
+
+            set y [expr round(($M_PI_2-$la)/$del_lat + 0.5)]
+            if {$y >= $mapheight} {
+                set y [expr $mapheight-1]
+            }
+
+            return [list $x $y]
+        }
+
+        proc refresh {} {
+            variable mapcmd
+            variable mapnum
+            variable mapwidth
+            variable mapheight
+
+            if {![winfo exists .georoster.c]} {
+                return [after [expr 60*1000] [namespace current]::refresh]
+            }
+
+            set file [file join [glob ~] .tkabber georoster_${mapnum}.gif]
+            if {[catch { exec xplanet -geometry =${mapwidth}x${mapheight} \
+                                      -projection rectangular \
+                                      -num_times 1 \
+                                      -output $file & } result]} {
+                set_status "unable to create new georoster image: $result"
+            } else {
+                after [expr 60*1000] \
+                      [list [namespace current]::refresh_aux $file]
+            }
+        }
+
+        proc refresh_aux {file} {
+            variable mapimage
+
+            image delete $mapimage
+            set mapimage [image create photo -file $file]
+            catch { file delete -- $file }
+
+            [set c .georoster.c] delete map
+            $c create image 0 0 -image $mapimage -anchor nw -tag map
+            $c configure -scrollregion [list 0 0 [image width $mapimage] \
+                                                 [image height $mapimage]]
+
+            proc x {lo la} {
+                variable M_INVDEG
+
+                lindex [sp2px [expr $lo*$M_INVDEG] [expr $la*$M_INVDEG]] 0
+            }
+
+            proc y {lo la} {
+                variable M_INVDEG
+
+                lindex [sp2px [expr $lo*$M_INVDEG] [expr $la*$M_INVDEG]] 1
+            }
+
+            proc lo {x y} {
+                variable lon_array
+                variable M_DEG
+        
+                if {[set x [expr int($x)]] < 0} {
+                    set x 0
+                } elseif {![info exists lon_array($x)]} {
+                    return 180
+                }
+                return [expr $lon_array($x)*$M_DEG]
+            }
+    
+            proc la {x y} {
+                variable lat_array
+                variable M_DEG
+        
+                if {[set y [expr int($y)]] < 0} {
+                    set y 0
+                } elseif {![info exists lat_array($x)]} {
+                    return -90
+                }
+                return [expr $lat_array($y)*$M_DEG]
+            }
+
+            redraw $c
+
+            after [expr 10*60*1000] [list [namespace current]::refresh]
+        }
+    }
+
+
+# special key bindings (due to KDE)
+
+    bind . <Alt-Left>      {ifacetk::tab_move .nb -1}
+    bind . <Alt-Right>     {ifacetk::tab_move .nb  1}
+    bind . <Control-Left>  {ifacetk::current_tab_move .nb -1}
+    bind . <Control-Right> {ifacetk::current_tab_move .nb  1}
+    bind . <Control-w> {
+        if {[.nb raise] != ""} {
+            eval destroy [pack slaves [.nb getframe [.nb raise]]]
+            .nb delete [.nb raise] 1
+            ifacetk::tab_move .nb 0
+        }
+    }
+}
+
+hook::add postload_hook config_postload 9
+
+
+proc roster_user_popup_info {info connid user} {
+    set text [set $info]
+    if {([set x [string first "(" $text]] > 0) \
+            && ([string compare [string index $text end] ")"] == 0) \
+            && ([string first "\n" [string range $text $x end]] > 0)} {
+        set start [string range $text 0 [expr $x-1]]
+        if {[set y [string last ":" $start]] > 0} {
+            set start [string range $start 0 [expr $y-1]]
+        }
+        set $info $start
+        append $info "\n    " 
+        append $info [string map [list "\n" "\n    "] \
+                             [string range $text [expr $x+1] end-1]]
+    }
+}
+
+hook::add roster_user_popup_info_hook \
+          [namespace current]::roster_user_popup_info 1
+
+
+namespace eval jbot {
+    proc open_chat_post {chatid type} {
+        global usetabbar
+
+        if {[cequal [chat::get_nick [chat::get_connid $chatid] [chat::get_jid $chatid] $type]/$type \
+                    jbot/chat]} {
+            set cw [chat::winid $chatid]
+            pack forget $cw.csw
+            pack $cw.csw -expand yes -fill both -side left
+            destroy $cw.status $cw.input $cw.pw0
+            if {$usetabbar} {
+                .nb itemconfigure [crange [win_id tab $cw] 1 end] \
+                    -text jbot \
+                    -raisecmd "tab_set_updated [list $cw]
+                               hook::run raise_chat_tab_hook [list $cw] [list $chatid]"
+            }
+
+            return stop
+        }
+    }
+
+    proc draw_message {chatid from type body x} {
+        if {[cequal [chat::get_nick [chat::get_connid $chatid] $from $type]/$type jbot/chat]} {
+            set cw [chat::chat_win $chatid]
+            foreach line [split [string trimright $body] "\n"] {
+                if {[cequal [string index $line 15] " "]} {
+                    $cw insert end [string range $line 0 15] me
+                    set line [string range $line 16 end]
+                    if {([set d [string first " " $line]] > 0) \
+                            && (([string first ": " $line] > $d)
+                                    || ([string first "last message repeated" \
+                                                $line] > $d))} {
+                        $cw insert end [string range $line 0 $d] they
+                        set line [string range $line [expr $d+1] end]
+                    }
+                }
+                if {[set d [string first ": " $line]] > 0} {
+                    $cw insert end [string range $line 0 $d] me
+                    set line [string range $line [expr $d+1] end]
+                }
+                $cw insert end "$line\n" ""
+            }
+
+            return stop
+        }
+    }
+
+    proc normalize_chat_id {chatidvar type} {
+        upvar 2 $chatidvar chatid
+
+        if {[cequal [chat::get_nick [chat::get_connid $chatid] [set jid [chat::get_jid $chatid]] \
+                                    $type]/$type \
+                    jbot/chat]} {
+            set chatid [chat::chatid [chat::get_connid $chatid] \
+                            [node_and_server_from_jid $jid]/syslog]
+        }
+    }
+
+    hook::add open_chat_post_hook    [namespace current]::open_chat_post     1
+    hook::add draw_message_hook      [namespace current]::draw_message       1
+    hook::add normalize_chat_id_hook [namespace current]::normalize_chat_id  1
+}
+
+
+hook::add finload_hook georoster::refresh 100
+
+
+proc config_connload {connid} {
+    return
+
+    foreach g [list xmpp] {
+        join_group ${g}@ietf.xmpp.org -nick mrose -connection $connid
+    }
+    join_group wgchairs at conference.psg.com -nick mrose -connection $connid
+}
+
+hook::add connected_hook config_connload 1000
+
+
+if {![catch { package require tclCarbonNotification }]} {
+    proc config_tab_set_updated {path updated level} {
+        switch -- $level {
+	    message {
+		switch -glob -- $path {
+		    .chat_*_jbot*
+			-
+		    .headlines_* {
+		    }
+
+		    default {
+		        tclCarbonNotification 1 ""
+		    }
+		}
+	    }
+
+	    mesg_to_user {
+	        tclCarbonNotification 1 ""
+	    }
+
+	    default {
+	    }
+	}
+    }
+
+    hook::add tab_set_updated config_tab_set_updated 10
+}
+
+
+
+if {(![file exists [set file .jsendrc.tcl]]) \
+        && (![file exists [set file ~/.jsendrc.tcl]])} {
+    return
+}
+source $file
+
+namespace eval zerobot {
+    proc examine_message {connid from id type is_subject subject body err thread priority x} {
+        global userstatus
+
+        switch -- $userstatus {
+            away
+                -
+            xa {
+                if {([string length [set body [checkP $from $type $subject \
+                                                     $body $x]]] > 0) \
+                        && ([catch { notify $from $body } result])} {
+                    debugmsg zerobot "notify: $result"
+                }
+            }
+
+            default {
+                reset
+            }
+        }
+    }
+
+    hook::add process_message_hook   [namespace current]::examine_message   10
+}

Copied: trunk/tkabber/examples/configs/teo-config.tcl (from rev 706, trunk/tkabber/examples/teo-config.tcl)
===================================================================
--- trunk/tkabber/examples/configs/teo-config.tcl	                        (rev 0)
+++ trunk/tkabber/examples/configs/teo-config.tcl	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,233 @@
+# TeopeTuK config file for Tkabber
+
+# Loading X resources
+option readfile ~/.tkabber/teopetuk.xrdb userDefault
+#option readfile ~/.tkabber/light.xrdb userDefault
+
+# Loading non-raising buttons
+#source ~/.tkabber/button.tcl
+
+# Setting Balloon style
+option add *Balloon.style delay userDefault
+
+# Set message locale explicitly
+#msgcat::mclocale ru
+
+#set font "-monotype-arial unicode-medium-r-*-*-14-*-90-100-*-*-iso10646-1"
+set font "-monotype-arial-medium-r-*-*-13-*-100-100-*-*-iso10646-1"
+set usetabbar 1
+set autologin 0
+set ssj::options(sign-traffic) 0
+set ssj::options(encrypt-traffic) 0
+set pixmaps_theme gabber
+#set pixmaps_theme psi
+
+# Login settings, common for all profiles
+set loginconf(usedigest) 1
+set loginconf(httpproxy) sun
+set loginconf(httpproxyport) 3128
+set loginconf(priority) 0
+
+# Every 10 minutes send empty message to the server
+# to avoid proxy disconnect
+set keep_alive 1
+set keep_alive_interval 10
+
+# Login profiles setup
+set loginconf1(profile)  "teopetuk at jabber.ru"
+set loginconf1(user)     teopetuk
+set loginconf1(password) ""
+set loginconf1(server)   jabber.ru
+set loginconf1(resource) tkabber
+set loginconf1(usealtserver)       0
+set loginconf1(altserver)       ""
+set loginconf1(useproxy) 1
+
+set loginconf2(profile)  "teopetuk at amessage.info"
+set loginconf2(user)     teopetuk
+set loginconf2(password) ""
+set loginconf2(server)   amessage.info
+set loginconf2(resource) tkabber
+set loginconf2(usealtserver)       0
+set loginconf2(altserver)       ""
+set loginconf2(useproxy) 1
+
+# Set default profile
+array set loginconf [array get loginconf2]
+
+# Set default conference nicks
+set defaultnick(talks at conference.jabber.ru) teo
+set defaultnick(debian at conference.jabber.ru) teo
+#set defaultnick(talks at conference.jabber.ru) "\u0473\u0463\u0461"
+#set defaultnick(talks at conference.jupiter.golovan.ru) "\u0473\u0463\u0461"
+#set defaultnick(talks at conference.jupiter.golovan.ru) "\u03c4\u03b5\u03bf"
+
+# Check spelling using ispell module
+set use_ispell 1
+
+# Set procedure for launching browser
+proc browseurl {url} {
+    exec galeon -w $url &
+}
+
+#hook::add connected_hook {join_group talks at conference.jupiter.golovan.ru teo} 100
+
+proc postload {} {
+
+# Set initial roster options
+    set roster::show_only_online 1
+    set roster::show_transport_icons 1
+    set roster::show_transport_user_icons 1
+    set roster::roster(collapsed,Agents) 1
+    #set roster::aliases(teopetuk at amessage.info) {258151 at aim.jabber.ru}
+    #set roster::aliases(teo at jupiter.golovan.ru) {petr at golovan.ru}
+    #set roster::use_aliases 0
+
+# Set search behaviour
+    set search::show_all 1
+
+# Set sound module options
+    set sound::options(sound) 1
+    set sound::options(theme) "~/.tkabber/sounds"
+    set sound::options(external_play_program) "esdplay"
+
+# Set autoaway module options
+    set plugins::autoaway::options(awaytime) [expr 5*60*1000]
+    set plugins::autoaway::options(xatime) [expr 15*60*1000]
+
+# Set ispell module options
+    set plugins::ispell::options(dictionary) engrus
+    set plugins::ispell::options(dictionary_encoding) koi8-r
+
+# Define the set of emoticons (empty set)
+    unset  emoteicons::emoteicons
+    array set emoteicons::emoteicons {}
+
+# Set theme for chess plugin
+    set plugins::chess::theme 1
+
+}
+
+# Debug window handling (mostly taken from MTR config file)
+#set debug_lvls [list presence ssj warning]
+set debug_lvls [list jlib plugins]
+set debug_winP 0
+
+proc menuload {menudesc} {
+    set newmenu [lindex $menudesc end]
+    lappend newmenu [list checkbutton "Debug window" {} {} {} -variable debug_winP -command debug_window_update]
+    lappend newmenu [list cascad Debug {} {} 1 [debug_buttons]]
+    return [lreplace $menudesc end end $newmenu]
+}
+
+proc debug_buttons {} {
+    global debug_levels debug_lvls
+
+    set buttons {}
+    foreach l [list avatar       browser      chat         completion   \
+                    conference   filetransfer filters      iq           \
+                    jlib         logger       login        message      \
+                    nick         plugins      presence     register     \
+                    roster       search       ssj          tkabber      \
+                    userinfo     warning] {
+        if {[lsearch -exact $debug_lvls $l] >= 0} {
+            set debug_levels($l) 1
+        } else {
+            set debug_levels($l) 0
+        }
+
+        lappend buttons [list checkbutton $l {} {} {} \
+                              -variable debug_levels($l) -command debug_update]
+    }
+
+    return $buttons
+}
+
+proc debug_window_update {} {
+    global w debug_winP usetabbar
+    if {!$debug_winP && [winfo exists $w.debug]} {
+	if {$usetabbar} {
+	    foreach tab [.nb pages] {
+		if {[lsearch -exact [pack slaves [.nb getframe $tab]] $w.debug] >= 0} {
+		    eval destroy [pack slaves [.nb getframe $tab]]
+		    .nb delete $tab 1
+		    tab_move .nb 0
+		}
+	    }
+	} else {
+	    destroy $w.debug
+	}
+    }
+}
+
+proc debug_update {} {
+    global debug_levels debug_lvls
+    
+    set debug_lvls {}
+    foreach {k v} [array get debug_levels] {
+        if {$v} {
+            lappend debug_lvls $k
+        }
+    }
+}
+
+proc debugmsg {module msg} {
+    global debug_lvls w
+    global debug_fd debug_winP
+
+    if {![info exists debug_fd]} {
+        catch { file rename -force -- ~/.tkabber/tkabber.log \
+                                      ~/.tkabber/tkabber0.log }
+        set debug_fd [open ~/.tkabber/tkabber.log \
+                           { WRONLY CREAT TRUNC APPEND }]
+        fconfigure $debug_fd -buffering line
+    }
+
+    puts $debug_fd [format "%s %-12.12s %s" \
+                           [clock format [clock seconds] -format "%m/%d %T"] \
+                           $module $msg]
+
+    if {([lsearch -exact $debug_lvls $module] < 0) || (!$debug_winP)} {
+        return
+    }
+
+    set dw $w.debug
+
+    if {![winfo exists $dw]} {
+        add_win $dw -title Debug -tabtitle debug 
+
+        [ScrolledWindow $dw.sw] setwidget \
+            [text $dw.body -yscrollcommand [list $dw.scroll set]]
+
+        pack $dw.sw -side bottom -fill both -expand yes
+
+        $dw.body tag configure module -foreground red3
+        $dw.body tag configure proc  -foreground blue
+        $dw.body tag configure error -foreground red
+    }
+
+    $dw.body insert end [format "%s: %-12.12s" [clock format [clock seconds] -format "%m/%d %T"] \
+	$module] module " "
+    set tag normal
+    switch -- $module {
+        jlib {
+            if {[set x [string first "(jlib::" $msg]] > 0} {
+                set tag error
+            }
+            if {[set y [string first ")" $msg]] > 0} {
+                $dw.body insert end \
+                         [string range $msg [expr $x+7] [expr $y-1]] proc \
+                         "\n"
+                set msg [string trimleft \
+                                [string range $msg [expr $y+1] end]]
+            }
+        }
+
+        default {
+        }
+    }
+    $dw.body insert end [string trimright $msg] $tag
+    $dw.body insert end "\n\n"
+}
+
+

Deleted: trunk/tkabber/examples/dark.xrdb
===================================================================
--- trunk/tkabber/examples/dark.xrdb	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/dark.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,228 +0,0 @@
-! Main window geometry
-Tkabber.geometry:		    788x550-70+100
-!Tkabber.geometry:		    180x400-70+100
-
-! Chat window geometry (in no tabs mode)
-*Chat.geometry:			    500x500
-
-! Browser and Headlines window geometry (in no tabs mode)
-*JBrowser.geometry:		    500x500
-
-! Roster width (tabbed interface only)
-Tkabber.mainRosterWidth:	    120
-
-! Roster width in groupchat windows
-Tkabber.chatRosterWidth:	    90
-
-! Scrollbar bed color
-*troughColor:			    #424242
-
-*background:			    #5e5e5e
-*foreground:			    #ffffff
-*disabledBackground:		    #5e5e5e
-*disabledForeground:		    #cccccc
-*errorForeground:		    indianred1
-
-! Colors, which are used when mouse is over the item
-*activeBackground:		    #550066
-*activeForeground:		    #ffffff
-
-! Colors and border width selected item
-*selectBackground:		    #550066
-*selectForeground:		    #ffffff
-*selectBorderWidth:		    0
-
-! Color for checkboxes
-*selectColor:			    #4f135b
-
-! Color of traversal highlight rectangle
-*highlightBackground:		    #5e5e5e
-*highlightColor:		    #000000
-
-! Color of insertion cursor
-*insertBackground:		    #ffffff
-
-! Font for drawing text (except cases where $font is used)
-*font:				    -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
-
-! Currently there is only progressbar (at the splash screen)
-*ProgressBar.foreground:	    #550066
-
-! Flatten ComboBox and ArrowButton
-*Spinbox.borderWidth:		    1
-*Spinbox.background:		    #424242
-*SpinBox.borderWidth:		    1
-*SpinBox*Entry*highlightBackground: #424242
-*ComboBox.borderWidth:		    1
-*ArrowButton.borderWidth:	    0
-*ArrowButton.highlightThickness:    0
-
-! Colors for multicolumn listboxes (as in search result window)
-*Mclistbox.background:		    #424242
-*Mclistbox.labelActiveBackground:   #550066
-*Mclistbox.labelBackground:	    #5e5e5e
-*Mclistbox.labelForeground:	    #ffffff
-*Mclistbox.labelActiveForeground:   #ffffff
-
-! Type of subitem in roster (1 - display number of resources,
-! 2 - display arrow, 3 - display both, 0 - display nothing
-*Roster.subitemtype:		    3
-
-! Roster background color
-*Roster.cbackground:		    #424242
-
-! Inactive JID background color
-*Roster.jidfill:		    #424242
-
-! Active JID background color
-*Roster.jidhlfill:		    #4f135b
-
-! Color of border around JID
-*Roster.jidborder:		    #424242
-
-! Inctive group background color
-*Roster.groupfill:		    #5e5e5e
-
-! Inactive closed group background color
-*Roster.groupcfill:		    #5e5e5e
-
-! Active group background color
-*Roster.grouphlfill:		    #550066
-
-! Color of border around group
-*Roster.groupborder:		    #5e5e5e
-
-! Indent of group names
-*Roster.groupindent:		    21
-
-! Indent of JIDs
-*Roster.jidindent:		    42
-
-! Indent of second order JIDs
-! (resources for those who is logged in multiple times)
-*Roster.subjidindent:		    62
-
-! Indent of group icons (closed or open arrow icon)
-*Roster.groupiconindent:	    2
-
-! Indent of group icons when subitemtype is 2 or 3
-*Roster.subgroupiconindent:	    2
-
-! Indent of regular JID icons (status icon)
-*Roster.iconindent:		    21
-
-! Indent of second order JID icons
-*Roster.subiconindent:		    42
-
-! Additional amount of text height
-*Roster.textuppad:		    0
-*Roster.textdownpad:		    0
-
-! Vertical distance between adjacent items
-*Roster.linepad:		    2
-
-! Foregrounds of JID label
-! (stalkerforeground is for contacts with pending subscription)
-*Roster.stalkerforeground:	    tan
-
-! Other colors are selfexplanatory
-*Roster.unavailableforeground:	    grey72
-*Roster.dndforeground:		    rosybrown1
-*Roster.xaforeground:		    azure3
-*Roster.awayforeground:		    azure3
-*Roster.availableforeground:	    #ffffff
-*Roster.chatforeground:		    #ffffff
-
-! Colors in chat and groupchat windows
-*Chat*Text*Label.background:		    #424242
-
-! Color of other people nicknames
-*Chat.theyforeground:		    coral
-
-! Color of my nickname
-*Chat.meforeground:		    lightblue
-
-! Colors of server messages
-*Chat.serverlabelforeground:	    darkolivegreen1
-*Chat.serverforeground:		    hotpink
-
-! Color of info & error messages
-*Chat.infoforeground:		    lightblue
-*Chat.errforeground:		    indianred1
-
-! Color of inactive urls in text
-*urlforeground:		    lightblue
-
-! Color of active urls in text
-*urlactiveforeground:	    lightblue1
-
-! Colors of erroneous words (when ispell module is using)
-*Chat.errorColor:		    coral
-*Chat.comboColor:		    lightblue
-
-! Colors of tab labels (when in tabbed mode)
-! Usual color
-*NoteBook.alertColor0: white
-
-! Color when server message is arrived
-*NoteBook.alertColor1: hotpink
-
-! Color when message is arrived
-*NoteBook.alertColor2: lightblue
-
-! Color when personally addressed message is arrived
-*NoteBook.alertColor3: coral
-
-! Colors for browser and discovery service windows
-*JBrowser.fill:			    #ffffff
-*JBrowser.activefill:		    #ffffff
-*JBrowser.border:		    #424242
-*JBrowser.nscolor:		    grey72
-*JBrowser.nsactivecolor:	    grey72
-
-*JDisco.fill:			    #ffffff
-*JDisco.activefill:		    #ffffff
-*JDisco.border:			    #424242
-*JDisco.featurecolor:		    grey72
-*JDisco.identitycolor:		    DarkSeaGreen2
-*JDisco.optioncolor:		    HotPink
-*Tree*background:		    #424242
-*linesfill:			    #ffffff
-*crossfill:			    #ffffff
-
-*Customize.varforeground:	    lightblue
-
-! Tooltip options
-*Balloon.background:		    #424242
-*Balloon.foreground:		    #ffffff
-*Balloon*padX:			    0
-*Balloon*padY:			    0
-*DynamicHelp.background:	    #424242
-*DynamicHelp.foreground:	    #ffffff
-
-
-*Listbox.background:		    #424242
-*Listbox.foreground:		    #ffffff
-*Listbox.borderWidth:		    1
-
-*Text.background:		    #424242
-*Text.foreground:		    #ffffff
-*Text.borderWidth:		    1
-
-*Entry.background:		    #424242
-*Entry.foreground:		    #ffffff
-*Entry.borderWidth:		    1
-
-*NoteBook*Entry.background:	    #424242
-*NoteBook*Entry.readonlyBackground: #5e5e5e
-*NoteBook*Entry.disabledBackground: #5e5e5e
-*NoteBook*Entry.foreground:	    #ffffff
-
-*Button.borderWidth:		    1
-
-*Menu.activeBorderWidth:	    1
-*Menu.borderWidth:		    1
-*Menubutton.borderWidth:	    1
-
-*Buttonbox*borderWidth:		    0
-*Buttonbox*activeBorderWidth:	    0

Deleted: trunk/tkabber/examples/dark2.xrdb
===================================================================
--- trunk/tkabber/examples/dark2.xrdb	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/dark2.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,242 +0,0 @@
-! Main window geometry
-Tkabber.geometry:		    788x550-70+100
-!Tkabber.geometry:		    180x400-70+100
-
-! Chat window geometry (in no tabs mode)
-*Chat.geometry:			    500x500
-
-! Browser and Headlines window geometry (in no tabs mode)
-*JBrowser.geometry:		    500x500
-
-! Roster width (tabbed interface only)
-Tkabber.mainRosterWidth:	    110
-
-! Roster width in groupchat windows
-Tkabber.chatRosterWidth:	    100
-
-! Scrollbar bed color
-*troughColor:			    #2c2c2c
-
-*background:			    #3f3f3f
-*foreground:			    #bfbfae
-*disabledForeground:		    #a9a999
-*errorForeground:		    #f99393
-*disabledBackground:		    #3f3f3f
-
-! Colors, which are used when mouse is over the item
-*activeBackground:		    #616151
-*activeForeground:		    #ffffff
-
-! Colors and border width selected item
-*selectBackground:		    #4c4c3f
-*selectForeground:		    #bfbfae
-*selectBorderWidth:		    0
-
-! Color for checkboxes
-*selectColor:			    #616151
-
-! Color of traversal highlight rectangle
-*highlightBackground:		    #3f3f3f
-*highlightColor:		    #000000
-
-! Color of insertion cursor
-*insertBackground:		    #bfbfae
-
-! Font for drawing text (except cases where $font is used)
-*font:				    -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
-
-! Currently there is only progressbar (at the splash screen)
-*ProgressBar.foreground:	    #616151
-
-! Flatten ComboBox and ArrowButton
-*Spinbox.borderWidth:		    1
-*Spinbox.background:		    #66685e
-*SpinBox.borderWidth:		    1
-*SpinBox*Entry*highlightBackground: #66685e
-*ComboBox.borderWidth:		    1
-*ArrowButton.borderWidth:	    0
-*ArrowButton.highlightThickness:    0
-
-! Colors for multicolumn listboxes (as in search result window)
-*Mclistbox.background:		    #66685e
-*Mclistbox.labelActiveBackground:   #616151
-*Mclistbox.labelBackground:	    #3f3f3f
-*Mclistbox.labelForeground:	    #bfbfae
-*Mclistbox.labelActiveForeground:   #ffffff
-
-! Type of subitem in roster (1 - display number of resources,
-! 2 - display arrow, 3 - display both, 0 - display nothing
-*Roster.subitemtype:		    3
-
-! Roster background color
-*Roster.cbackground:		    #66685e
-
-! Inactive JID background color
-*Roster.jidfill:		    #66685e
-
-! Active JID background color
-*Roster.jidhlfill:		    #4c4c3f
-
-! Color of border around JID
-*Roster.jidborder:		    #66685e
-
-! Inactive group background color
-*Roster.groupfill:		    #575747
-
-! Inactive closed group background color
-*Roster.groupcfill:		    #575747
-
-! Active group background color
-*Roster.grouphlfill:		    #4c4c3f
-
-! Color of border around group
-*Roster.groupborder:		    #575747
-
-! Indent of group names
-*Roster.groupindent:		    21
-
-! Indent of JIDs
-*Roster.jidindent:		    42
-
-! Indent of second order JIDs
-! (resources for those who is logged in multiple times)
-*Roster.subjidindent:		    62
-
-! Indent of group icons (closed or open arrow icon)
-*Roster.groupiconindent:	    2
-
-! Indent of group icons when subitemtype is 2 or 3
-*Roster.subgroupiconindent:	    2
-
-! Indent of regular JID icons (status icon)
-*Roster.iconindent:		    21
-
-! Indent of second order JID icons
-*Roster.subiconindent:		    42
-
-! Additional amount of text height
-*Roster.textuppad:		    0
-*Roster.textdownpad:		    0
-
-! Vertical distance between adjacent items
-*Roster.linepad:		    2
-
-! Foregrounds of JID label
-! (stalkerforeground is for contacts with pending subscription)
-*Roster.stalkerforeground:	    tan
-
-! Other colors are selfexplanatory
-*Roster.unavailableforeground:	    #b5b5a6
-*Roster.dndforeground:		    #ccb5a6
-*Roster.xaforeground:		    #bfbfae
-*Roster.awayforeground:		    #bfbfae
-*Roster.availableforeground:	    #ccccbb
-*Roster.chatforeground:		    #ccccbb
-
-! Colors in chat and groupchat windows
-*Chat*Text*Label.background:		    #66685e
-
-! Color of other people nicknames
-*Chat.theyforeground:		    #f99393
-
-! Color of my nickname
-*Chat.meforeground:		    #add8cc
-
-! Colors of server messages
-*Chat.serverlabelforeground:	    #bbe8bb
-*Chat.serverforeground:		    #e899b5
-
-! Color of info & error messages
-*Chat.infoforeground:		    #add8cc
-*Chat.errforeground:		    #f99393
-
-! Color of inactive urls in text
-*urlforeground:			    #add8cc
-
-! Color of active urls in text
-*urlactiveforeground:		    #c0ede0
-
-! Colors of erroneous words (when ispell module is using)
-*Chat.errorColor:		    #f99393
-*Chat.comboColor:		    #add8cc
-
-*Customize.varforeground:	    #add8cc
-
-! Colors of tab labels (when in tabbed mode)
-! Usual color
-*NoteBook.alertColor0: #bfbfae
-
-! Color when server message is arrived
-*NoteBook.alertColor1: #e899b5
-
-! Color when message is arrived
-*NoteBook.alertColor2: #add8cc
-
-! Color when personally addressed message is arrived
-*NoteBook.alertColor3: #f99393
-
-! Colors for Raw XML window
-*RawXML.inforeground:		    #f99393
-*RawXML.outforeground:		    #add8cc
-*RawXML.intagforeground:	    #f99393
-*RawXML.inattrforeground:	    #f99393
-*RawXML.invalueforeground:	    #e899b5
-*RawXML.incdataforeground:	    #add8cc
-*RawXML.outtagforeground:	    #e899b5
-*RawXML.outattrforeground:	    #e899b5
-*RawXML.outvalueforeground:	    #bbe8bb
-*RawXML.outcdataforeground:	    #add8cc
-
-! Colors for browser and discovery service windows
-*JBrowser.fill:			    #bfbfae
-*JBrowser.activefill:		    #bfbfae
-*JBrowser.border:		    #66685e
-*JBrowser.nscolor:		    #cfdfbe
-*JBrowser.nsactivecolor:	    #cfdfbe
-
-*JDisco.fill:			    #bfbfae
-*JDisco.activefill:		    #bfbfae
-*JDisco.border:			    #66685e
-*JDisco.featurecolor:		    #cfdfbe
-*JDisco.identitycolor:		    #bbe8bb
-*JDisco.optioncolor:		    #e899b5
-*Tree*background:		    #66685e
-*linesfill:			    #bfbfae
-*crossfill:			    #bfbfae
-
-! Tooltip options
-*Balloon.background:		    #bfbfae
-*Balloon.foreground:		    #000000
-*Balloon*padX:			    0
-*Balloon*padY:			    0
-*DynamicHelp.background:	    #bfbfae
-*DynamicHelp.foreground:	    #000000
-
-
-*Listbox.background:		    #66685e
-*Listbox.foreground:		    #bfbfae
-*Listbox.borderWidth:		    1
-
-*Text.background:		    #66685e
-*Text.foreground:		    #bfbfae
-*Text.borderWidth:		    1
-
-*Entry.background:		    #66685e
-*Entry.foreground:		    #bfbfae
-*Entry.borderWidth:		    1
-
-*NoteBook*Entry.background:	    #66685e
-*NoteBook*Entry.readonlyBackground: #3f3f3f
-*NoteBook*Entry.disabledBackground: #3f3f3f
-*NoteBook*Entry.foreground:	    #bfbfae
-
-*Button.borderWidth:		    1
-
-*Menu.activeBorderWidth:	    1
-*Menu.borderWidth:		    1
-*Menubutton.borderWidth:	    1
-
-*Buttonbox*borderWidth:		    0
-*Buttonbox*activeBorderWidth:	    0
-
-*Scrollbar.width:		    8

Deleted: trunk/tkabber/examples/green.xrdb
===================================================================
--- trunk/tkabber/examples/green.xrdb	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/green.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,147 +0,0 @@
-! Main window geometry
-Tkabber.geometry:	    788x550-70+100
-!Tkabber.geometry:	    200x350-70+100
-
-! Chat window geometry (in no tabs mode)
-*Chat.geometry:		    500x500
-
-! Browser and Headlines window geometry (in no tabs mode)
-*JBrowser.geometry:	    500x500
-
-! Roster width (tabbed interface only)
-Tkabber.mainRosterWidth:        120
-
-! Roster width in groupchat windows
-Tkabber.chatRosterWidth:        90
-
-*background:		    ForestGreen
-*foreground:		    LawnGreen
-*disabledBackground:	    ForestGreen
-*disabledForeground:	    PaleGreen3
-*activeBackground:	    PaleGreen3
-*activeForeground:	    DarkOliveGreen
-*selectBackground:	    LawnGreen
-*selectForeground:	    ForestGreen
-*highlightBackground:	        ForestGreen
-*highlightForeground:	        LawnGreen
-*selectColor:		    PaleGreen3
-*selectBorderWidth:	    0
-*insertBackground:	    LawnGreen
-*troughColor:		    ForestGreen
-*errorForeground:	    orange
-*font:		        -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
-
-*ProgressBar.foreground:        PaleGreen2
-
-*Spinbox.borderWidth:		    1
-*Spinbox.background:		    ForestGreen
-*SpinBox.borderWidth:		    1
-*SpinBox*Entry*highlightBackground: ForestGreen
-*ComboBox.borderWidth:		    1
-*ArrowButton.borderWidth:	    0
-*ArrowButton.highlightThickness:    0
-
-*Mclistbox.background:		    ForestGreen
-*Mclistbox.labelActiveBackground:   PaleGreen3
-*Mclistbox.labelBackground:	    ForestGreen
-*Mclistbox.labelForeground:	    LawnGreen
-*Mclistbox.labelActiveForeground:   DarkOliveGreen
-
-
-*Roster.subitemtype:	        3
-*Roster.cbackground:	        ForestGreen
-*Roster.jidfill:	    ForestGreen
-*Roster.jidhlfill:	    ForestGreen
-*Roster.jidborder:	    ForestGreen
-*Roster.groupfill:	    DarkGreen
-*Roster.groupcfill:	    DarkGreen
-*Roster.grouphlfill:	        DarkGreen
-*Roster.groupborder:	        DarkGreen
-*Roster.groupindent:	        21
-*Roster.jidindent:	    42
-*Roster.subjidindent:	        62
-*Roster.groupiconindent:        2
-*Roster.subgroupiconindent:     2
-*Roster.iconindent:	    21
-*Roster.subiconindent:	        42
-*Roster.textuppad:	    0
-*Roster.textdownpad:	        0
-*Roster.linepad:	    2
-*Roster.stalkerforeground:      LimeGreen
-*Roster.unavailableforeground:	    PaleGreen2
-*Roster.dndforeground:	        PaleGreen3
-*Roster.xaforeground:	        PaleGreen1
-*Roster.awayforeground:	        PaleGreen
-*Roster.availableforeground:	    LawnGreen
-*Roster.chatforeground:	        LawnGreen
-
-*Chat*Text*Label.background:		ForestGreen
-
-*Chat.theyforeground:	        DarkSeaGreen2
-*Chat.meforeground:	    DarkOliveGreen2
-*Chat.serverlabelforeground:	    DarkSeaGreen3
-*Chat.serverforeground:	        DarkSeaGreen3
-*Chat.infoforeground:	        DarkSeaGreen2
-*Chat.errforeground:	        orange
-*urlforeground:			DarkOliveGreen2
-*urlactiveforeground:	    Green
-*Chat.errorColor:	    orange
-*Chat.comboColor:	    Yellow
-
-*NoteBook.alertColor0: PaleGreen3
-*NoteBook.alertColor1: PaleGreen2
-*NoteBook.alertColor2: PaleGreen3
-*NoteBook.alertColor3: LawnGreen
-
-*JBrowser.fill:			    LawnGreen
-*JBrowser.activefill:		    White
-*JBrowser.border:		    Pink
-*JBrowser.nscolor:		    MediumSeaGreen
-*JBrowser.nsactivecolor:	    Blue
-
-*JDisco.fill:			    LawnGreen
-*JDisco.activefill:		    White
-*JDisco.border:			    Pink
-*JDisco.featurecolor:		    MediumSeaGreen
-*JDisco.identitycolor:		    MediumSeaGreen
-*JDisco.optioncolor:		    MediumSeaGreen
-*Tree*background:		    ForestGreen
-*linesfill:			    LawnGreen
-*crossfill:			    LawnGreen
-
-*Balloon.background:	        ForestGreen
-*Balloon.foreground:	        PaleGreen
-*Balloon*padX:		    0
-*Balloon*padY:		    0
-
-*DynamicHelp.background:        ForestGreen
-*DynamicHelp.foreground:        PaleGreen
-
-*Listbox.background:	        ForestGreen
-*Listbox.foreground:	        PaleGreen
-*Listbox.borderWidth:	        1
-
-*Text.background:	    ForestGreen
-*Text.foreground:	    PaleGreen
-*Text.borderWidth:	    1
-
-*Entry.background:	    ForestGreen
-*Entry.foreground:	    LawnGreen
-*Entry.borderWidth:	    1
-
-*NoteBook*Entry.background:     ForestGreen
-*NoteBook*Entry.readonlyBackground: ForestGreen
-*NoteBook*Entry.disabledBackground: ForestGreen
-*NoteBook*Entry.foreground:     LawnGreen
-
-*Button.borderWidth:	        1
-
-*Menu.activeBorderWidth:        1
-*Menu.borderWidth:	    1
-*Menubutton.borderWidth:        1
-
-*Buttonbox*borderWidth:	        0
-*Buttonbox*activeBorderWidth:	    0
-
-*Customize.varforeground:	    DarkOliveGreen2
-

Deleted: trunk/tkabber/examples/ice.xrdb
===================================================================
--- trunk/tkabber/examples/ice.xrdb	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/ice.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,239 +0,0 @@
-! Main window geometry
-Tkabber.geometry:		    788x550-70+100
-!Tkabber.geometry:		    180x400-70+100
-
-! Chat window geometry (in no tabs mode)
-*Chat.geometry:			    500x500
-
-! Browser and Headlines window geometry (in no tabs mode)
-*JBrowser.geometry:		    500x500
-
-! Roster width (tabbed interface only)
-Tkabber.mainRosterWidth:	    120
-
-! Roster width in groupchat windows
-Tkabber.chatRosterWidth:	    90
-
-! Scrollbar bed color
-*troughColor:			    #c1c1cc
-
-*background:			    #d3d3dd
-*foreground:			    #000000
-*disabledBackground:		    #d3d3dd
-*disabledForeground:		    #535373
-*errorForeground:		    firebrick4
-
-! Colors, which are used when mouse is over the item
-*activeBackground:		    #c2c2e3
-*activeForeground:		    #000000
-
-! Colors and border width selected item
-*selectBackground:		    #b2b2f1
-*selectForeground:		    #336699
-*selectBorderWidth:		    1
-
-! Color for checkboxes
-*selectColor:			    #ababb5
-
-! Color of traversal highlight rectangle
-*highlightBackground:		    #d3d3dd
-*highlightColor:		    #666666
-
-! Color of insertion cursor
-*insertBackground:		    #000000
-
-! Font for drawing text (except cases where $font is used)
-*font:				    -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
-
-! Currently there is only progressbar (at the splash screen)
-*ProgressBar.foreground:	    #b2b2f1
-
-! Flatten ComboBox and ArrowButton
-*Spinbox.borderWidth:		    1
-*Spinbox.background:		    #e5e5f7
-*SpinBox.borderWidth:		    1
-*SpinBox*Entry*highlightBackground: #e5e5f7
-*ComboBox.borderWidth:		    1
-*ArrowButton.borderWidth:	    0
-*ArrowButton.highlightThickness:    0
-
-! Colors for multicolumn listboxes (as in search result window)
-*Mclistbox.background:		    #e5e5f7
-*Mclistbox.labelActiveBackground:   #c2c2e3
-*Mclistbox.labelBackground:	    #c6c6cf
-*Mclistbox.labelForeground:	    #000000
-*Mclistbox.labelActiveForeground:   #000000
-
-*Button.background:		    #c6c6cf
-*Menubutton.background:		    #c6c6cf
-*Menu.activeBackground:		    #c2c2e3
-*Chat*Button.background:	    #d3d3dd
-*Chat*Menubutton.background:	    #d3d3dd
-*Message*Menubutton.background:	    #d3d3dd
-*bbox.Button.background:	    #c6c6cf
-*mainframe.topf.tb0.bbox.Button.background:	    #d3d3dd
-*bottom.buttons1.Button.background:	    #d3d3dd
-
-! Type of subitem in roster (1 - display number of resources,
-! 2 - display arrow, 3 - display both, 0 - display nothing
-*Roster.subitemtype:		    3
-
-! Roster background color
-*Roster.cbackground:		    #e5e5f7
-
-! Inactive JID background color
-*Roster.jidfill:		    #e5e5f7
-
-! Active JID background color
-*Roster.jidhlfill:		    #c2c2e3
-
-! Color of border around JID
-*Roster.jidborder:		    #e5e5f7
-
-! Inctive group background color
-*Roster.groupfill:		    #d3d3dd
-
-! Inactive closed group background color
-*Roster.groupcfill:		    #d3d3dd
-
-! Active group background color
-*Roster.grouphlfill:		    #c2c2e3
-
-! Color of border around group
-*Roster.groupborder:		    #d3d3dd
-
-! Indent of group names
-*Roster.groupindent:		    21
-
-! Indent of JIDs
-*Roster.jidindent:		    42
-
-! Indent of second order JIDs
-! (resources for those who is logged in multiple times)
-*Roster.subjidindent:		    62
-
-! Indent of group icons (closed or open arrow icon)
-*Roster.groupiconindent:	    2
-
-! Indent of group icons when subitemtype is 2 or 3
-*Roster.subgroupiconindent:	    2
-
-! Indent of regular JID icons (status icon)
-*Roster.iconindent:		    21
-
-! Indent of second order JID icons
-*Roster.subiconindent:		    42
-
-! Additional amount of text height
-*Roster.textuppad:		    0
-*Roster.textdownpad:		    0
-
-! Vertical distance between adjacent items
-*Roster.linepad:		    2
-
-! Foregrounds of JID label
-! (stalkerforeground is for contacts with pending subscription)
-*Roster.stalkerforeground:	    #663333
-
-! Other colors are selfexplanatory
-*Roster.unavailableforeground:	    #515151
-*Roster.dndforeground:		    #515129
-*Roster.xaforeground:		    #0b3760
-*Roster.awayforeground:		    #0b3760
-*Roster.availableforeground:	    dodgerblue4
-*Roster.chatforeground:		    dodgerblue4
-
-! Colors in chat and groupchat windows
-*Chat*Text*Label.background:		    #e5e5f7
-
-! Color of other people nicknames
-*Chat.theyforeground:		    firebrick4
-
-! Color of my nickname
-*Chat.meforeground:		    dodgerblue4
-
-! Colors of server messages
-*Chat.serverlabelforeground:	    seagreen
-*Chat.serverforeground:		    #4b3a70
-
-! Color of info & error messages
-*Chat.infoforeground:		    dodgerblue4
-*Chat.errforeground:		    firebrick4
-
-! Color of inactive urls in text
-*urlforeground:		    dodgerblue4
-
-! Color of active urls in text
-*urlactiveforeground:	    dodgerblue3
-
-! Colors of erroneous words (when ispell module is using)
-*Chat.errorColor:		    firebrick4
-*Chat.comboColor:		    dodgerblue4
-
-! Colors of tab labels (when in tabbed mode)
-! Usual color
-*NoteBook.alertColor0: black
-
-! Color when server message is arrived
-*NoteBook.alertColor1: mediumpurple4
-
-! Color when message is arrived
-*NoteBook.alertColor2: dodgerblue4
-
-! Color when personally addressed message is arrived
-*NoteBook.alertColor3: firebrick4
-
-! Colors for browser and discovery service windows
-*JBrowser.fill:			    #000000
-*JBrowser.activefill:		    #000000
-*JBrowser.border:		    #e5e5f7
-*JBrowser.nscolor:		    #666666
-*JBrowser.nsactivecolor:	    #666666
-
-*JDisco.fill:			    #000000
-*JDisco.activefill:		    #000000
-*JDisco.border:			    #e5e5f7
-*JDisco.featurecolor:		    #666666
-*JDisco.identitycolor:		    DarkGreen
-*JDisco.optioncolor:		    DarkViolet
-*Tree*background:		    #e5e5f7
-*linesfill:			    #000000
-*crossfill:			    #000000
-
-! Tooltip options
-*Balloon.background:		    #c2c2e3
-*Balloon.foreground:		    #000000
-*Balloon*padX:			    0
-*Balloon*padY:			    0
-*DynamicHelp.background:	    #c2c2e3
-*DynamicHelp.foreground:	    #000000
-
-
-*Listbox.background:		    #e5e5f7
-*Listbox.foreground:		    #000000
-*Listbox.borderWidth:		    1
-
-*Text.background:		    #e5e5f7
-*Text.foreground:		    #000000
-*Text.borderWidth:		    1
-
-*Entry.background:		    #e5e5f7
-*Entry.foreground:		    #000000
-*Entry.borderWidth:		    1
-
-*NoteBook*Entry.background:	    #e5e5f7
-*NoteBook*Entry.readonlyBackground: #d3d3dd
-*NoteBook*Entry.disabledBackground: #d3d3dd
-*NoteBook*Entry.foreground:	    #000000
-
-*Menu.activeBorderWidth:	    1
-*Menu.borderWidth:		    1
-*Menubutton.borderWidth:	    1
-
-*ButtonBox*borderWidth:		    0
-*ButtonBox*activeBorderWidth:	    0
-
-*Button.borderWidth:		    1
-
-*Customize.varforeground:	    dodgerblue4
-

Deleted: trunk/tkabber/examples/light.xrdb
===================================================================
--- trunk/tkabber/examples/light.xrdb	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/light.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,239 +0,0 @@
-! Main window geometry
-Tkabber.geometry:		    788x550-70+100
-!Tkabber.geometry:		    180x400-70+100
-
-! Chat window geometry (in no tabs mode)
-*Chat.geometry:			    500x500
-
-! Browser and Headlines window geometry (in no tabs mode)
-*JBrowser.geometry:		    500x500
-
-! Roster width (tabbed interface only)
-Tkabber.mainRosterWidth:	    120
-
-! Roster width in groupchat windows
-Tkabber.chatRosterWidth:	    90
-
-! Scrollbar bed color
-*troughColor:			    #e3e3e3
-
-*background:			    #f0f0f0
-*foreground:			    #000000
-*disabledBackground:		    #f0f0f0
-*disabledForeground:		    #999999
-*errorForeground:		    firebrick4
-
-! Colors, which are used when mouse is over the item
-*activeBackground:		    #c7e1ff
-*activeForeground:		    #0000d1
-
-! Colors and border width selected item
-*selectBackground:		    #e8f3ff
-*selectForeground:		    #0000d1
-*selectBorderWidth:		    0
-
-! Color for checkboxes
-*selectColor:			    #6b99ff
-
-! Color of traversal highlight rectangle
-*highlightBackground:		    #f0f0f0
-*highlightColor:		    #6b99ff
-
-! Color of insertion cursor
-*insertBackground:		    #000000
-
-! Font for drawing text (except cases where $font is used)
-*font:				    -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
-
-! Currently there is only progressbar (at the splash screen)
-*ProgressBar.foreground:	    #6b99ff
-
-! Flatten ComboBox and ArrowButton
-*Spinbox.borderWidth:		    1
-*Spinbox.background:		    #f8f8f8
-*SpinBox.borderWidth:		    1
-*SpinBox*Entry*highlightBackground: #f8f8f8
-*ComboBox.borderWidth:		    1
-*ArrowButton.borderWidth:	    0
-*ArrowButton.highlightThickness:    0
-
-! Colors for multicolumn listboxes (as in search result window)
-*Mclistbox.background:		    #f0f0f0
-*Mclistbox.labelActiveBackground:   #c7e1ff
-*Mclistbox.labelBackground:	    #e1e1e1
-*Mclistbox.labelForeground:	    #000000
-*Mclistbox.labelActiveForeground:   #0000d1
-
-*Button.background:		    #e1e1e1
-*Menubutton.background:		    #e1e1e1
-*Menu.activeBackground:		    #c7e1ff
-*Chat*Button.background:	    #f0f0f0
-*Chat*Menubutton.background:	    #f0f0f0
-*Message*Menubutton.background:	    #f0f0f0
-*bbox.Button.background:	    #e1e1e1
-*mainframe.topf.tb0.bbox.Button.background: #f0f0f0
-*bottom.buttons1.Button.background: #f0f0f0
-
-! Type of subitem in roster (1 - display number of resources,
-! 2 - display arrow, 3 - display both, 0 - display nothing
-*Roster.subitemtype:		    3
-
-! Roster background color
-*Roster.cbackground:		    #f8f8f8
-
-! Inactive JID background color
-*Roster.jidfill:		    #f8f8f8
-
-! Active JID background color
-*Roster.jidhlfill:		    #c7e1ff
-
-! Color of border around JID
-*Roster.jidborder:		    #f8f8f8
-
-! Inctive group background color
-*Roster.groupfill:		    #f0f0f0
-
-! Inactive closed group background color
-*Roster.groupcfill:		    #f0f0f0
-
-! Active group background color
-*Roster.grouphlfill:		    #c7e1ff
-
-! Color of border around group
-*Roster.groupborder:		    #f0f0f0
-
-! Indent of group names
-*Roster.groupindent:		    21
-
-! Indent of JIDs
-*Roster.jidindent:		    42
-
-! Indent of second order JIDs
-! (resources for those who is logged in multiple times)
-*Roster.subjidindent:		    62
-
-! Indent of group icons (closed or open arrow icon)
-*Roster.groupiconindent:	    2
-
-! Indent of group icons when subitemtype is 2 or 3
-*Roster.subgroupiconindent:	    2
-
-! Indent of regular JID icons (status icon)
-*Roster.iconindent:		    21
-
-! Indent of second order JID icons
-*Roster.subiconindent:		    42
-
-! Additional amount of text height
-*Roster.textuppad:		    0
-*Roster.textdownpad:		    0
-
-! Vertical distance between adjacent items
-*Roster.linepad:		    2
-
-! Foregrounds of JID label
-! (stalkerforeground is for contacts with pending subscription)
-*Roster.stalkerforeground:	    #663333
-
-! Other colors are selfexplanatory
-*Roster.unavailableforeground:	    #515151
-*Roster.dndforeground:		    #515129
-*Roster.xaforeground:		    #0b3760
-*Roster.awayforeground:		    #0b3760
-*Roster.availableforeground:	    dodgerblue4
-*Roster.chatforeground:		    dodgerblue4
-
-! Colors in chat and groupchat windows
-*Chat*Text*Label.background:		    #f8f8f8
-
-! Color of other people nicknames
-*Chat.theyforeground:		    firebrick4
-
-! Color of my nickname
-*Chat.meforeground:		    dodgerblue4
-
-! Colors of server messages
-*Chat.serverlabelforeground:	    seagreen
-*Chat.serverforeground:		    #4b3a70
-
-! Color of info & error messages
-*Chat.infoforeground:		    dodgerblue4
-*Chat.errforeground:		    firebrick4
-
-! Color of inactive urls in text
-*urlforeground:		    dodgerblue4
-
-! Color of active urls in text
-*urlactiveforeground:	    dodgerblue3
-
-! Colors of erroneous words (when ispell module is using)
-*Chat.errorColor:		    firebrick4
-*Chat.comboColor:		    dodgerblue4
-
-! Colors of tab labels (when in tabbed mode)
-! Usual color
-*NoteBook.alertColor0: black
-
-! Color when server message is arrived
-*NoteBook.alertColor1: mediumpurple4
-
-! Color when message is arrived
-*NoteBook.alertColor2: dodgerblue4
-
-! Color when personally addressed message is arrived
-*NoteBook.alertColor3: firebrick4
-
-! Colors for browser and discovery service windows
-*JBrowser.fill:			    #000000
-*JBrowser.activefill:		    #000000
-*JBrowser.border:		    #f8f8f8
-*JBrowser.nscolor:		    #2f6099
-*JBrowser.nsactivecolor:	    #2f6099
-
-*JDisco.fill:			    #000000
-*JDisco.activefill:		    #000000
-*JDisco.border:			    #f8f8f8
-*JDisco.featurecolor:		    #2f6099
-*JDisco.identitycolor:		    DarkGreen
-*JDisco.optioncolor:		    DarkViolet
-*Tree*background:		    #f8f8f8
-*linesfill:			    #000000
-*crossfill:			    #000000
-
-*Customize.varforeground:	    dodgerblue4
-
-! Tooltip options
-*Balloon.background:		    #fffae6
-*Balloon.foreground:		    #000000
-*Balloon*padX:			    0
-*Balloon*padY:			    0
-*DynamicHelp.background:	    #fffae6
-*DynamicHelp.foreground:	    #000000
-
-
-*Listbox.background:		    #f8f8f8
-*Listbox.foreground:		    #000000
-*Listbox.borderWidth:		    1
-
-*Text.background:		    #f8f8f8
-*Text.foreground:		    #000000
-*Text.borderWidth:		    1
-
-*Entry.background:		    #f8f8f8
-*Entry.foreground:		    #000000
-*Entry.borderWidth:		    1
-
-*NoteBook*Entry.background:	    #f8f8f8
-*NoteBook*Entry.readonlyBackground: #f0f0f0
-*NoteBook*Entry.disabledBackground: #f0f0f0
-*NoteBook*Entry.foreground:	    #000000
-
-*Menu.activeBorderWidth:	    1
-*Menu.borderWidth:		    1
-*Menubutton.borderWidth:	    1
-
-*ButtonBox*borderWidth:		    0
-*ButtonBox*activeBorderWidth:	    0
-
-*Button.borderWidth:		    1
-

Deleted: trunk/tkabber/examples/mtr-config.tcl
===================================================================
--- trunk/tkabber/examples/mtr-config.tcl	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/mtr-config.tcl	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,463 +0,0 @@
-# MTR's config file for tkabber (now with Aqua support!)
-
-
-set ssj::options(one-passphrase)  1
-set ssj::options(sign-traffic)    1
-set ssj::options(encrypt-traffic) 1
-
-set use_ispell                    1
-
-set debug_lvls                    [list zerobot]
-set debug_winP                    1
-
-set show_splash_window            1
-
-proc debugmsg {module msg} {
-    global debug_lvls w
-    global debug_fd debug_winP
-
-    if {![info exists debug_fd]} {
-        catch { file rename -force -- ~/.tkabber/tkabber.log \
-                                      ~/.tkabber/tkabber0.log }
-        set debug_fd [open ~/.tkabber/tkabber.log \
-                           { WRONLY CREAT TRUNC APPEND }]
-        fconfigure $debug_fd -buffering line
-    }
-
-    puts $debug_fd [format "%s %-12.12s %s" \
-                           [clock format [clock seconds] -format "%m/%d %T"] \
-                           $module $msg]
-
-    if {([lsearch -exact $debug_lvls $module] < 0) || (!$debug_winP)} {
-        return
-    }
-
-    set dw $w.debug
-
-    if {![winfo exists $dw]} {
-        add_win $dw -title Debug -tabtitle debug -class Chat
-
-        [ScrolledWindow $dw.sw] setwidget \
-            [text $dw.body -yscrollcommand [list $dw.scroll set]]
-
-        pack $dw.sw -side bottom -fill both -expand yes
-
-        $dw.body tag configure module \
-            -foreground [option get $dw theyforeground Chat]
-        $dw.body tag configure proc   \
-            -foreground [option get $dw meforeground Chat]
-        $dw.body tag configure error  \
-            -foreground [option get $dw errforeground Chat]
-    }
-
-    $dw.body insert end [format "%-12.12s" $module] module " "
-    set tag normal
-    switch -- $module {
-        jlib {
-            if {[set x [string first "(jlib::" $msg]] > 0} {
-                set tag error
-            }
-            if {[set y [string first ")" $msg]] > 0} {
-                $dw.body insert end \
-                         [string range $msg [expr $x+7] [expr $y-1]] proc \
-                         "\n"
-                set msg [string trimleft \
-                                [string range $msg [expr $y+1] end]]
-            }
-        }
-
-        default {
-        }
-    }
-    $dw.body insert end [string trimright $msg] $tag
-    $dw.body insert end "\n"
-
-    if {!$chat::options(stop_scroll)} {
-        $dw.body see end
-    }
-}
-
-if {$aquaP} {
-    set load_default_xrdb 1
-    set font {Monoco 12 normal}
-    option add *font $font userDefault
-} else {
-    set load_default_xrdb 0
-    option readfile ~/src/tkabber/tkabber/examples/ice.xrdb userDefault
-    option add *font fixed userDefault
-}
-
-switch -- [winfo screenwidth .]x[winfo screenheight .] {
-    1440x900
-        -
-    1440x879 {
-        option add Tkabber.geometry =710x481+730+21 userDefault
-    }
-
-    1400x1050
-        -
-    1280x1024 {
-        option add Tkabber.geometry =788x550-0+0 userDefault    
-    }
-
-    1024x768
-        -
-    default {
-        option add Tkabber.geometry =630x412-0+0 userDefault    
-    }
-}
-
-
-proc config_postload {} {
-# the emoticon module
-
-    emoteicons::load_dir ~/.tkabber/emoticons/rythmbox
-
-
-# the georoster module
-
-    source ~/src/tkabber/tkabber-plugins/georoster/georoster.tcl
-#   source ~/.tkabber/proprietary/georoster-prop.tcl
-
-    namespace eval georoster {
-        variable mapnum 1
-        variable mapwidth
-        variable mapheight
-        variable options
-
-        set options(showcities)  none
-
-        switch -- [winfo screenwidth .]x[winfo screenheight .] {
-            1440x900 {
-                set mapwidth  812
-                set mapheight 422
-	    }
-
-            1400x1050
-                -
-            1280x1024 {
-                set mapwidth  975
-                set mapheight 506
-            }
-
-            1024x768
-                -
-            default {
-                set mapwidth  650
-                set mapheight 338
-
-                set options(mapfile) \
-                    ~/src/tkabber/tkabber-plugins/georoster/bwmap4.gif
-
-                proc lo {x y} {expr {($x*2 - 649)*18/65 + 10}}
-                proc la {x y} {expr {(371 - $y*2)*9/40}}
-
-                proc x {lo la} {expr {(649+(($lo-10)*65/18))/2}}
-                proc y {lo la} {expr {(371-($la * 40/9))/2}}
-            }
-        }
-
-
-        variable M_PI       3.14159265358979323846
-        variable M_PI_2     [expr $M_PI/2.0]
-        variable deg_to_rad [expr $M_PI/180.0]
-        variable TWO_PI     [expr $M_PI*2.0]
-        variable M_DEG      [expr 180/$M_PI]
-        variable M_INVDEG   [expr $M_PI/180]
-
-        variable del_lon    [expr $TWO_PI/$mapwidth]
-        variable del_lat    [expr $M_PI/$mapheight]
-
-        variable lon_array
-        for {set i 0} {$i < $mapwidth} {incr i} {
-            set lon_array($i) [expr (($i+0.5)*$del_lon-$M_PI)]
-        }
-
-        variable lat_array
-        for {set i 0} {$i < $mapheight} {incr i} {
-            set lat_array($i) [expr ($M_PI_2 - ($i+0.5)*$del_lat)]
-        }
-
-        proc sp2px {lo la} {
-            variable M_PI
-            variable M_PI_2
-            variable TWO_PI
-            variable del_lon
-            variable del_lat
-            variable mapwidth
-            variable mapheight
-
-            if {$lo > $M_PI} {
-                set lo [expr $lo-$TWO_PI]
-            } elseif {$lo < -$M_PI} {
-                set lo [expr $lo+$TWO_PI]
-            }
-
-            set x [expr round(($lo+$M_PI)/$del_lon + 0.5)]
-            if {$x >= $mapwidth} {
-                incr x -$mapwidth
-            } elseif {$x < 0} {
-                incr x $mapwidth
-            }
-
-            set y [expr round(($M_PI_2-$la)/$del_lat + 0.5)]
-            if {$y >= $mapheight} {
-                set y [expr $mapheight-1]
-            }
-
-            return [list $x $y]
-        }
-
-        proc refresh {} {
-            variable mapcmd
-            variable mapnum
-            variable mapwidth
-            variable mapheight
-
-            if {![winfo exists .georoster.c]} {
-                return [after [expr 60*1000] [namespace current]::refresh]
-            }
-
-            set file [file join [glob ~] .tkabber georoster_${mapnum}.gif]
-            if {[catch { exec xplanet -geometry =${mapwidth}x${mapheight} \
-                                      -projection rectangular \
-                                      -num_times 1 \
-                                      -output $file & } result]} {
-                set_status "unable to create new georoster image: $result"
-            } else {
-                after [expr 60*1000] \
-                      [list [namespace current]::refresh_aux $file]
-            }
-        }
-
-        proc refresh_aux {file} {
-            variable mapimage
-
-            image delete $mapimage
-            set mapimage [image create photo -file $file]
-            catch { file delete -- $file }
-
-            [set c .georoster.c] delete map
-            $c create image 0 0 -image $mapimage -anchor nw -tag map
-            $c configure -scrollregion [list 0 0 [image width $mapimage] \
-                                                 [image height $mapimage]]
-
-            proc x {lo la} {
-                variable M_INVDEG
-
-                lindex [sp2px [expr $lo*$M_INVDEG] [expr $la*$M_INVDEG]] 0
-            }
-
-            proc y {lo la} {
-                variable M_INVDEG
-
-                lindex [sp2px [expr $lo*$M_INVDEG] [expr $la*$M_INVDEG]] 1
-            }
-
-            proc lo {x y} {
-                variable lon_array
-                variable M_DEG
-        
-                if {[set x [expr int($x)]] < 0} {
-                    set x 0
-                } elseif {![info exists lon_array($x)]} {
-                    return 180
-                }
-                return [expr $lon_array($x)*$M_DEG]
-            }
-    
-            proc la {x y} {
-                variable lat_array
-                variable M_DEG
-        
-                if {[set y [expr int($y)]] < 0} {
-                    set y 0
-                } elseif {![info exists lat_array($x)]} {
-                    return -90
-                }
-                return [expr $lat_array($y)*$M_DEG]
-            }
-
-            redraw $c
-
-            after [expr 10*60*1000] [list [namespace current]::refresh]
-        }
-    }
-
-
-# special key bindings (due to KDE)
-
-    bind . <Alt-Left>      {ifacetk::tab_move .nb -1}
-    bind . <Alt-Right>     {ifacetk::tab_move .nb  1}
-    bind . <Control-Left>  {ifacetk::current_tab_move .nb -1}
-    bind . <Control-Right> {ifacetk::current_tab_move .nb  1}
-    bind . <Control-w> {
-        if {[.nb raise] != ""} {
-            eval destroy [pack slaves [.nb getframe [.nb raise]]]
-            .nb delete [.nb raise] 1
-            ifacetk::tab_move .nb 0
-        }
-    }
-}
-
-hook::add postload_hook config_postload 9
-
-
-proc roster_user_popup_info {info connid user} {
-    set text [set $info]
-    if {([set x [string first "(" $text]] > 0) \
-            && ([string compare [string index $text end] ")"] == 0) \
-            && ([string first "\n" [string range $text $x end]] > 0)} {
-        set start [string range $text 0 [expr $x-1]]
-        if {[set y [string last ":" $start]] > 0} {
-            set start [string range $start 0 [expr $y-1]]
-        }
-        set $info $start
-        append $info "\n    " 
-        append $info [string map [list "\n" "\n    "] \
-                             [string range $text [expr $x+1] end-1]]
-    }
-}
-
-hook::add roster_user_popup_info_hook \
-          [namespace current]::roster_user_popup_info 1
-
-
-namespace eval jbot {
-    proc open_chat_post {chatid type} {
-        global usetabbar
-
-        if {[cequal [chat::get_nick [chat::get_connid $chatid] [chat::get_jid $chatid] $type]/$type \
-                    jbot/chat]} {
-            set cw [chat::winid $chatid]
-            pack forget $cw.csw
-            pack $cw.csw -expand yes -fill both -side left
-            destroy $cw.status $cw.input $cw.pw0
-            if {$usetabbar} {
-                .nb itemconfigure [crange [win_id tab $cw] 1 end] \
-                    -text jbot \
-                    -raisecmd "tab_set_updated [list $cw]
-                               hook::run raise_chat_tab_hook [list $cw] [list $chatid]"
-            }
-
-            return stop
-        }
-    }
-
-    proc draw_message {chatid from type body x} {
-        if {[cequal [chat::get_nick [chat::get_connid $chatid] $from $type]/$type jbot/chat]} {
-            set cw [chat::chat_win $chatid]
-            foreach line [split [string trimright $body] "\n"] {
-                if {[cequal [string index $line 15] " "]} {
-                    $cw insert end [string range $line 0 15] me
-                    set line [string range $line 16 end]
-                    if {([set d [string first " " $line]] > 0) \
-                            && (([string first ": " $line] > $d)
-                                    || ([string first "last message repeated" \
-                                                $line] > $d))} {
-                        $cw insert end [string range $line 0 $d] they
-                        set line [string range $line [expr $d+1] end]
-                    }
-                }
-                if {[set d [string first ": " $line]] > 0} {
-                    $cw insert end [string range $line 0 $d] me
-                    set line [string range $line [expr $d+1] end]
-                }
-                $cw insert end "$line\n" ""
-            }
-
-            return stop
-        }
-    }
-
-    proc normalize_chat_id {chatidvar type} {
-        upvar 2 $chatidvar chatid
-
-        if {[cequal [chat::get_nick [chat::get_connid $chatid] [set jid [chat::get_jid $chatid]] \
-                                    $type]/$type \
-                    jbot/chat]} {
-            set chatid [chat::chatid [chat::get_connid $chatid] \
-                            [node_and_server_from_jid $jid]/syslog]
-        }
-    }
-
-    hook::add open_chat_post_hook    [namespace current]::open_chat_post     1
-    hook::add draw_message_hook      [namespace current]::draw_message       1
-    hook::add normalize_chat_id_hook [namespace current]::normalize_chat_id  1
-}
-
-
-hook::add finload_hook georoster::refresh 100
-
-
-proc config_connload {connid} {
-    return
-
-    foreach g [list xmpp] {
-        join_group ${g}@ietf.xmpp.org -nick mrose -connection $connid
-    }
-    join_group wgchairs at conference.psg.com -nick mrose -connection $connid
-}
-
-hook::add connected_hook config_connload 1000
-
-
-if {![catch { package require tclCarbonNotification }]} {
-    proc config_tab_set_updated {path updated level} {
-        switch -- $level {
-	    message {
-		switch -glob -- $path {
-		    .chat_*_jbot*
-			-
-		    .headlines_* {
-		    }
-
-		    default {
-		        tclCarbonNotification 1 ""
-		    }
-		}
-	    }
-
-	    mesg_to_user {
-	        tclCarbonNotification 1 ""
-	    }
-
-	    default {
-	    }
-	}
-    }
-
-    hook::add tab_set_updated config_tab_set_updated 10
-}
-
-
-
-if {(![file exists [set file .jsendrc.tcl]]) \
-        && (![file exists [set file ~/.jsendrc.tcl]])} {
-    return
-}
-source $file
-
-namespace eval zerobot {
-    proc examine_message {connid from id type is_subject subject body err thread priority x} {
-        global userstatus
-
-        switch -- $userstatus {
-            away
-                -
-            xa {
-                if {([string length [set body [checkP $from $type $subject \
-                                                     $body $x]]] > 0) \
-                        && ([catch { notify $from $body } result])} {
-                    debugmsg zerobot "notify: $result"
-                }
-            }
-
-            default {
-                reset
-            }
-        }
-    }
-
-    hook::add process_message_hook   [namespace current]::examine_message   10
-}

Deleted: trunk/tkabber/examples/ocean-deep.xrdb
===================================================================
--- trunk/tkabber/examples/ocean-deep.xrdb	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/ocean-deep.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,365 +0,0 @@
-! Ocean Deep theme for Tkabber 
-! (c) 2004 Badlop
-! 2004-06-26
-! Based on Ocean Deep colour theme for Vim
-
-! --------------------------------------------------------------- GEOMETRY ----
-
-! Main window geometry
-!   [horizontal size]
-!   x[vertical size]
-!   -[separation with right screen edge]
-!   +[separation with upper screen edge]
-Tkabber.geometry:                 700x520-30+170
-
-! Roster width (tabbed interface only)
-Tkabber.mainRosterWidth:          150
-
-! Roster width in groupchat windows
-Tkabber.chatRosterWidth:          80
-
-! Chat window geometry (in no tabs mode)
-*Chat.geometry:                   300x500-70+350
-*Chat.groupchatgeometry:          600x500
-*Chat.chatgeometry:               500x500
-
-! Other windows geometry (in no tabs mode)
-*JBrowser.geometry:               350x350
-*JDisco.geometry:                 500x500
-*Customize.geometry:              600x500
-*RawXML.geometry:                 500x500
-*Messages.geometry:               600x500
-
-! ------------------------------------------------------------ MAIN WINDOW ----
-
-! Font for drawing text (except cases where $font is used)
-!*font:           -monotype-arial-medium-r-normal-*-17-*-*-*-*-*-koi8-r
-
-! Main font color
-*foreground:                      #d5faff
-
-! Color of insertion cursor
-*insertBackground:                #ffbbbb
-
-! Background of all windows and tabs
-*background:                      #103040
-
-! Menu colors (main Tkabber menus...)
-*Menu.background:                 #01476a
-*Menu.activeBackground:           #01656a
-
-! ---------------------------------------------------------------- WIDGETS ----
-
-! ------------------------------------------- PROGRESS BAR ----
-
-! Scrollbar bed color
-*troughColor:                     #0F4866
-*Scrollbar.width:                 8
-
-! Currently there is only progressbar (at the splash screen)
-*ProgressBar.foreground:          #0F4866
-
-! ------------------------------------------- RADIO BUTTON ----
-
-! Colors and border width selected item (in radialbutton)
-*selectBackground:                #005a56
-*selectForeground:                #fffeff
-*selectBorderWidth:               0
-
-*errorForeground:		  #ff7f50
-
-! ---------------------------------------------- CHECK BOX ----
-
-! Checkbox background
-*selectColor:                     #0c232a
-
-! ----------------------------------------------- TEXT BOX ----
-
-! Disabled Text boxes 
-*disabledBackground:              #103040
-*disabledForeground:              #85aaaf
-
-! Textbox entry (like user: in Login window)
-*Entry.background:                #0c232e
-*Entry.foreground:                #fffefe
-*Entry.disabledBackground:        #103040
-*Entry.readonlyBackground:        #103040
-*Entry.borderWidth:               1
-
-! Textbox like in VCard editor
-*NoteBook*Entry.background:       #0c232e
-*NoteBook*Entry.disabledBackground: #103040
-*NoteBook*Entry.foreground:       #fffffe
-
-! ----------------------------------------------- LIST BOX ----
-
-!* Colors for multicolumn listboxes (as in search result window)
-*Mclistbox.background:            #0c232e
-*Mclistbox.labelActiveBackground: #1d5875
-*Mclistbox.labelBackground:       #0F4866
-*Mclistbox.labelForeground:       #d5faff
-*Mclistbox.labelActiveForeground: #d5faff
-
-! ---------------------------------------------- TOOL TIPS ----
-
-! Tooltip options
-*Balloon.background:              #0c232e
-*Balloon.foreground:              #fffbfb
-*Balloon*padX:                    1
-*Balloon*padY:                    0
-*DynamicHelp.background:          #0c232e
-*DynamicHelp.foreground:          #ffffff
-*Baloon.style:                    delay
-
-! Listbox widget (like in Customize->Chat->vcard-items)
-*Listbox.background:              #0c232e
-*Listbox.foreground:              #ffffff
-*Listbox.borderWidth:             1
-
-! ------------------------------------------------ BUTTONS ----
-
-*Button.borderWidth:              1
-
-*Menu.activeBorderWidth:          1
-*Menu.borderWidth:                1
-*Menubutton.borderWidth:          1
-
-*Buttonbox*borderWidth:           0
-*Buttonbox*activeBorderWidth:     0
-
-*Search.itemBackground:           #ffffff
-
-!* Flatten ComboBox and ArrowButton +++
-*Spinbox.borderWidth:             1
-*Spinbox.background:              #0c232e
-*SpinBox.borderWidth:             1
-*SpinBox*Entry*highlightBackground: #0c232e
-*ComboBox.borderWidth:            1
-*ArrowButton*borderWidth:         1
-*ArrowButton.borderWidth:         0
-*ArrowButton.highlightThickness:  0
-
-! Button and Menubutton colors
-! Generic button 
-*Button.background:               #0F4866
-
-! Button background when mouse is over it
-*Button.activeBackground:         #1d5875
-
-! Generic menubutton (like in Login window->Profiles)
-*Menubutton.background:           #0F4864
-*Menubutton.activeBackground:     #1d5875
-
-! Buttons in chat and message windows
-*Chat*Button.background:          #103040
-! Button with JID in Chat window
-*Chat*Menubutton.background:      #0f4864
-*Message*Menubutton.background:   #0f4863
-
-! Common button background
-*bbox.Button.background:          #0f4865
-
-! ----------------------------------------------------------------- TOOLBAR ----
-
-! Main toolbar buttons
-*mainframe.topf.tb0.bbox.Button.background: #103040
-
-! Sign/encrypt message buttons
-*bottom.buttons1.Button.background: #103040
-
-! ----------------------------------------------------------------- ROSTER ----
-
-! Type of subitem in roster (1 - display number of resources,
-! 2 - display arrow, 3 - display both, 0 - display nothing
-*Roster.subitemtype:              3
-
-! --------------------------------------------------- JIDS ----
-
-! Roster background color
-*Roster.cbackground:              #0c232e
-
-! Inactive JID background color
-*Roster.jidfill:                  #0c232b
-
-! Active JID background color
-*Roster.jidhlfill:                #004567
-
-! Color of border around JID
-*Roster.jidborder:                #0c232c
-
-! ------------------------------------------------- GROUPS ----
-
-! Inactive group background color
-*Roster.groupfill:                #18515F
-
-! Inactive closed group background color
-*Roster.groupcfill:               #1b485f
-
-! Active group background color
-*Roster.grouphlfill:              #03557d
-
-! Color of border around group
-*Roster.groupborder:              #103041
-
-! ---------------------------------------------- POSITIONS ----
-
-! Indent of group names
-*Roster.groupindent:              21
-
-! Indent of JIDs
-*Roster.jidindent:                42
-
-! Indent of second order JIDs
-! (resources for those who is logged in multiple times)
-*Roster.subjidindent:             62
-
-! Indent of group icons (closed or open arrow icon)
-*Roster.groupiconindent:          2
-
-! Indent of group icons when subitemtype is 2 or 3
-*Roster.subgroupiconindent:       2
-
-! Indent of regular JID icons (status icon)
-*Roster.iconindent:               21
-
-! Indent of second order JID icons
-*Roster.subiconindent:            42
-
-! Additional amount of text height
-*Roster.textuppad:                0
-*Roster.textdownpad:              0
-
-! Vertical distance between adjacent items
-*Roster.linepad:                  2
-
-! ----------------------------------------------- PRESENCE ----
-
-! Foregrounds of JID label
-! (stalkerforeground is for contacts with pending subscription)
-*Roster.stalkerforeground:        #d2b48c
-
-! Other colors are selfexplanatory
-*Roster.unavailableforeground:    #b8b8b8
-*Roster.dndforeground:            #ffc1c1
-*Roster.xaforeground:             #c1cdcd
-*Roster.awayforeground:           #c1cdcd
-*Roster.availableforeground:      #ffffff
-*Roster.chatforeground:           #ffffff
-
-! ------------------------------------------------------------------- TABS ----
-
-! Colors used when mouse is over the item (a tab header)
-*activeBackground:                #1d5875
-*activeForeground:                #d7f2ff
-
-! Colors of tab labels font (when in tabbed mode)
-*NoteBook*Entry.readonlyBackground: #1e3837
-! Usual color
-*NoteBook.alertColor0:            #ffffff
-
-! Color when server message is arrived
-*NoteBook.alertColor1:            #ff69b4
-
-! Color when message is arrived
-*NoteBook.alertColor2:            #add8e6
-
-! Color when personally addressed message is arrived
-*NoteBook.alertColor3:            #ff7f50
-
-! ------------------------------------------------------------------- CHAT ----
-
-! Text in chats, messages
-*Text.background:                 #0c232e
-*Text.foreground:                 #fbfffe
-*Text.borderWidth:                1
-
-! Colors in chat and groupchat windows
-*Chat*Text*Label.background:      #66685e
-
-! Color of other people nicknames
-*Chat.theyforeground:             #ff7f50
-
-! Color of my nickname
-*Chat.meforeground:               #add8e6
-
-! Colors of server messages (--- foo leave the room)
-*Chat.serverlabelforeground:      #caff70
-*Chat.serverforeground:           #ff69b4
-
-! Color of info & error messages
-*Chat.infoforeground:             #add8e6
-*Chat.errforeground:              #ff6a6a
-
-! Color of inactive urls in text
-*urlforeground:                   #add8e6
-
-! Color of active urls in text
-*urlactiveforeground:             #add8e6
-
-! Colors of erroneous words (when ispell module is using)
-*Chat.errorColor:                 #ff7f50
-*Chat.comboColor:                 #add8e6
-
-*Chat.inputheight:                3
-
-! -------------------------------------------------------------- DISCOVERY ----
-
-! Colors for browser and discovery service windows
-
-! Window background
-*Tree*background:                 #0c232e
-! lines in the tree
-*linesfill:                       #d5fafa
-! [+] and [-] tree symbols
-*crossfill:                       #d5fafa
-
-! ---------------------------------------------- J BROWSER ----
-
-! Jabber Browser
-! Nodes names font color ('Public Conferencing'...)
-*JBrowser.fill:                   #ffffff
-! Nodes atributes font color ('Search', 'Register'...)
-*JBrowser.nscolor:                #b8b8b8
-*JBrowser.levelindent:            24
-*JBrowser.indent:                 3
-*JBrowser.nsindent:               2
-*JBrowser.linepad:                2
-*JBrowser.toppad:                 1
-*JBrowser.bottompad:              1
-*JBrowser.icontextpad:            2
-
-! -------------------------------------------- J DISCOVERY ----
-
-! Jabber Discovery
-! Subnodes
-*JDisco.fill:                     #ffffff
-! Features available
-*JDisco.featurecolor:             #b8b8b8
-! Identity name
-*JDisco.identitycolor:            #b4eeb4
-*JDisco.optioncolor:              #ff69b4
-
-! ------------------------------------------------------------------ MORE ----
-
-! ----------------------------------------------------------------------  ----
-
-*Customize.varforeground:         #D5FAFA
-*Customize.groupnameforeground:   #D5FAFA
-
-*RawXML.inforeground:             #e0c3c3
-*RawXML.outforeground:            #a3a3ff
-*RawXML.intagforeground:          #e0c3c3
-*RawXML.inattrforeground:         #e0c3c3
-*RawXML.invalueforeground:        #d1aef2
-*RawXML.incdataforeground:        #b2dcff
-*RawXML.outtagforeground:         #efb3ef
-*RawXML.outattrforeground:        #efb3ef
-*RawXML.outvalueforeground:       #c9ffc9
-*RawXML.outcdataforeground:       #b6b6f9
-*RawXML.inputheight:              4
-
-!* Color of traversal highlight rectangle
-*highlightBackground:             #103040
-*highlightColor:                  #d5faff
-
-! ------------------------------------------------------------------- ---- ----

Deleted: trunk/tkabber/examples/teo-config.tcl
===================================================================
--- trunk/tkabber/examples/teo-config.tcl	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/teo-config.tcl	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,233 +0,0 @@
-# TeopeTuK config file for Tkabber
-
-# Loading X resources
-option readfile ~/.tkabber/teopetuk.xrdb userDefault
-#option readfile ~/.tkabber/light.xrdb userDefault
-
-# Loading non-raising buttons
-#source ~/.tkabber/button.tcl
-
-# Setting Balloon style
-option add *Balloon.style delay userDefault
-
-# Set message locale explicitly
-#msgcat::mclocale ru
-
-#set font "-monotype-arial unicode-medium-r-*-*-14-*-90-100-*-*-iso10646-1"
-set font "-monotype-arial-medium-r-*-*-13-*-100-100-*-*-iso10646-1"
-set usetabbar 1
-set autologin 0
-set ssj::options(sign-traffic) 0
-set ssj::options(encrypt-traffic) 0
-set pixmaps_theme gabber
-#set pixmaps_theme psi
-
-# Login settings, common for all profiles
-set loginconf(usedigest) 1
-set loginconf(httpproxy) sun
-set loginconf(httpproxyport) 3128
-set loginconf(priority) 0
-
-# Every 10 minutes send empty message to the server
-# to avoid proxy disconnect
-set keep_alive 1
-set keep_alive_interval 10
-
-# Login profiles setup
-set loginconf1(profile)  "teopetuk at jabber.ru"
-set loginconf1(user)     teopetuk
-set loginconf1(password) ""
-set loginconf1(server)   jabber.ru
-set loginconf1(resource) tkabber
-set loginconf1(usealtserver)       0
-set loginconf1(altserver)       ""
-set loginconf1(useproxy) 1
-
-set loginconf2(profile)  "teopetuk at amessage.info"
-set loginconf2(user)     teopetuk
-set loginconf2(password) ""
-set loginconf2(server)   amessage.info
-set loginconf2(resource) tkabber
-set loginconf2(usealtserver)       0
-set loginconf2(altserver)       ""
-set loginconf2(useproxy) 1
-
-# Set default profile
-array set loginconf [array get loginconf2]
-
-# Set default conference nicks
-set defaultnick(talks at conference.jabber.ru) teo
-set defaultnick(debian at conference.jabber.ru) teo
-#set defaultnick(talks at conference.jabber.ru) "\u0473\u0463\u0461"
-#set defaultnick(talks at conference.jupiter.golovan.ru) "\u0473\u0463\u0461"
-#set defaultnick(talks at conference.jupiter.golovan.ru) "\u03c4\u03b5\u03bf"
-
-# Check spelling using ispell module
-set use_ispell 1
-
-# Set procedure for launching browser
-proc browseurl {url} {
-    exec galeon -w $url &
-}
-
-#hook::add connected_hook {join_group talks at conference.jupiter.golovan.ru teo} 100
-
-proc postload {} {
-
-# Set initial roster options
-    set roster::show_only_online 1
-    set roster::show_transport_icons 1
-    set roster::show_transport_user_icons 1
-    set roster::roster(collapsed,Agents) 1
-    #set roster::aliases(teopetuk at amessage.info) {258151 at aim.jabber.ru}
-    #set roster::aliases(teo at jupiter.golovan.ru) {petr at golovan.ru}
-    #set roster::use_aliases 0
-
-# Set search behaviour
-    set search::show_all 1
-
-# Set sound module options
-    set sound::options(sound) 1
-    set sound::options(theme) "~/.tkabber/sounds"
-    set sound::options(external_play_program) "esdplay"
-
-# Set autoaway module options
-    set plugins::autoaway::options(awaytime) [expr 5*60*1000]
-    set plugins::autoaway::options(xatime) [expr 15*60*1000]
-
-# Set ispell module options
-    set plugins::ispell::options(dictionary) engrus
-    set plugins::ispell::options(dictionary_encoding) koi8-r
-
-# Define the set of emoticons (empty set)
-    unset  emoteicons::emoteicons
-    array set emoteicons::emoteicons {}
-
-# Set theme for chess plugin
-    set plugins::chess::theme 1
-
-}
-
-# Debug window handling (mostly taken from MTR config file)
-#set debug_lvls [list presence ssj warning]
-set debug_lvls [list jlib plugins]
-set debug_winP 0
-
-proc menuload {menudesc} {
-    set newmenu [lindex $menudesc end]
-    lappend newmenu [list checkbutton "Debug window" {} {} {} -variable debug_winP -command debug_window_update]
-    lappend newmenu [list cascad Debug {} {} 1 [debug_buttons]]
-    return [lreplace $menudesc end end $newmenu]
-}
-
-proc debug_buttons {} {
-    global debug_levels debug_lvls
-
-    set buttons {}
-    foreach l [list avatar       browser      chat         completion   \
-                    conference   filetransfer filters      iq           \
-                    jlib         logger       login        message      \
-                    nick         plugins      presence     register     \
-                    roster       search       ssj          tkabber      \
-                    userinfo     warning] {
-        if {[lsearch -exact $debug_lvls $l] >= 0} {
-            set debug_levels($l) 1
-        } else {
-            set debug_levels($l) 0
-        }
-
-        lappend buttons [list checkbutton $l {} {} {} \
-                              -variable debug_levels($l) -command debug_update]
-    }
-
-    return $buttons
-}
-
-proc debug_window_update {} {
-    global w debug_winP usetabbar
-    if {!$debug_winP && [winfo exists $w.debug]} {
-	if {$usetabbar} {
-	    foreach tab [.nb pages] {
-		if {[lsearch -exact [pack slaves [.nb getframe $tab]] $w.debug] >= 0} {
-		    eval destroy [pack slaves [.nb getframe $tab]]
-		    .nb delete $tab 1
-		    tab_move .nb 0
-		}
-	    }
-	} else {
-	    destroy $w.debug
-	}
-    }
-}
-
-proc debug_update {} {
-    global debug_levels debug_lvls
-    
-    set debug_lvls {}
-    foreach {k v} [array get debug_levels] {
-        if {$v} {
-            lappend debug_lvls $k
-        }
-    }
-}
-
-proc debugmsg {module msg} {
-    global debug_lvls w
-    global debug_fd debug_winP
-
-    if {![info exists debug_fd]} {
-        catch { file rename -force -- ~/.tkabber/tkabber.log \
-                                      ~/.tkabber/tkabber0.log }
-        set debug_fd [open ~/.tkabber/tkabber.log \
-                           { WRONLY CREAT TRUNC APPEND }]
-        fconfigure $debug_fd -buffering line
-    }
-
-    puts $debug_fd [format "%s %-12.12s %s" \
-                           [clock format [clock seconds] -format "%m/%d %T"] \
-                           $module $msg]
-
-    if {([lsearch -exact $debug_lvls $module] < 0) || (!$debug_winP)} {
-        return
-    }
-
-    set dw $w.debug
-
-    if {![winfo exists $dw]} {
-        add_win $dw -title Debug -tabtitle debug 
-
-        [ScrolledWindow $dw.sw] setwidget \
-            [text $dw.body -yscrollcommand [list $dw.scroll set]]
-
-        pack $dw.sw -side bottom -fill both -expand yes
-
-        $dw.body tag configure module -foreground red3
-        $dw.body tag configure proc  -foreground blue
-        $dw.body tag configure error -foreground red
-    }
-
-    $dw.body insert end [format "%s: %-12.12s" [clock format [clock seconds] -format "%m/%d %T"] \
-	$module] module " "
-    set tag normal
-    switch -- $module {
-        jlib {
-            if {[set x [string first "(jlib::" $msg]] > 0} {
-                set tag error
-            }
-            if {[set y [string first ")" $msg]] > 0} {
-                $dw.body insert end \
-                         [string range $msg [expr $x+7] [expr $y-1]] proc \
-                         "\n"
-                set msg [string trimleft \
-                                [string range $msg [expr $y+1] end]]
-            }
-        }
-
-        default {
-        }
-    }
-    $dw.body insert end [string trimright $msg] $tag
-    $dw.body insert end "\n\n"
-}
-
-

Deleted: trunk/tkabber/examples/teopetuk.xrdb
===================================================================
--- trunk/tkabber/examples/teopetuk.xrdb	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/teopetuk.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,236 +0,0 @@
-! Main window geometry
-Tkabber.geometry:		    800x600-70+100
-!Tkabber.geometry:		    180x400-70+100
-
-! Chat window geometry (in no tabs mode)
-*Chat.chatgeometry:		    550x500
-*Chat.groupchatgeometry:	    600x500
-
-! Browser and Headlines window geometry (in no tabs mode)
-*JBrowser.geometry:		    550x500
-
-! Roster width (tabbed interface only)
-Tkabber.mainRosterWidth:	    110
-
-! Roster width in groupchat windows
-Tkabber.chatRosterWidth:	    105
-
-! Scrollbar bed color
-*troughColor:			    #cccccc
-
-*background:			    #dddddd
-*foreground:			    #000000
-*disabledForeground:		    #888888
-*errorForeground:		    firebrick
-
-! Colors, which are used when mouse is over the item
-*activeBackground:		    #ebebeb
-*activeForeground:		    #000000
-
-! Colors and border width selected item
-!*selectBackground:		    #334080
-*selectBackground:		    #d1eeee
-*selectForeground:		    #000000
-*selectBorderWidth:		    0
-
-! Color for highlighting found items
-*highlightSearchBackground:	    #c1eec1
-
-! Color for checkboxes
-*selectColor:			    #999999
-
-! Color of traversal highlight rectangle
-*highlightBackground:		    #dddddd
-*highlightColor:		    #000000
-
-! Color of insertion cursor
-*insertBackground:		    #000000
-
-! Font for drawing text (except cases where $font is used)
-!*font:				    -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
-
-! Currently there is only progressbar (at the splash screen)
-*ProgressBar.foreground:	    #334080
-*ProgressBar*borderWidth:	    1
-
-! Flatten Spinbox, ComboBox and ArrowButton
-*Spinbox.borderWidth:		    1
-*Spinbox.background:		    #eeeeee
-*Spinbox.disabledBackground:	    #dddddd
-*SpinBox.borderWidth:		    1
-*SpinBox*Entry*highlightBackground: #eeeeee
-*ComboBox.borderWidth:		    1
-*ArrowButton.borderWidth:	    0
-*ArrowButton.highlightThickness:    0
-
-! Colors for multicolumn listboxes (as in search result window)
-*Mclistbox.background:		    #eeeeee
-*Mclistbox.labelActiveBackground:   #ebebeb
-*Mclistbox.labelBackground:	    #dddddd
-
-
-! Type of subitem in roster (1 - display number of resources,
-! 2 - display arrow, 3 - display both, 0 - display nothing
-*Roster.subitemtype:		    3
-
-! Roster background color
-*Roster.cbackground:		    #eeeeee
-
-! Inactive JID background color
-*Roster.jidfill:		    #eeeeee
-
-! Active JID background color
-*Roster.jidhlfill:		    #d1eeee
-
-! Color of border around JID
-*Roster.jidborder:		    #eeeeee
-
-! Inctive group background color
-*Roster.groupfill:		    #dddddd
-
-! Inactive closed group background color
-*Roster.groupcfill:		    #dddddd
-
-! Active group background color
-*Roster.grouphlfill:		    #b4cdcd
-
-! Color of border around group
-*Roster.groupborder:		    #dddddd
-
-! Indent of group names
-*Roster.groupindent:		    21
-
-! Indent of JIDs
-*Roster.jidindent:		    42
-
-! Indent of second order JIDs
-! (resources for those who is logged in multiple times)
-*Roster.subjidindent:		    62
-
-! Indent of group icons (closed or open arrow icon)
-*Roster.groupiconindent:	    2
-
-! Indent of group icons when subitemtype is 2 or 3
-*Roster.subgroupiconindent:	    2
-
-! Indent of regular JID icons (status icon)
-*Roster.iconindent:		    21
-
-! Indent of second order JID icons
-*Roster.subiconindent:		    42
-
-! Additional amount of text height
-*Roster.textuppad:		    0
-*Roster.textdownpad:		    0
-
-! Vertical distance between adjacent items
-*Roster.linepad:		    2
-
-! Foregrounds of JID label
-! (stalkerforeground is for contacts with pending subscription)
-*Roster.stalkerforeground:	    #663333
-
-! Other colors are selfexplanatory
-*Roster.unavailableforeground:	    #515151
-*Roster.dndforeground:		    #515129
-*Roster.xaforeground:		    #0b3760
-*Roster.awayforeground:		    #0b3760
-*Roster.availableforeground:	    dodgerblue4
-*Roster.chatforeground:		    dodgerblue4
-
-! Colors in chat and groupchat windows
-*Chat*Text*Label.background:		    #eeeeee
-
-! Color of other people nicknames
-!*Chat.theyforeground:		    firebrick4
-*Chat.theyforeground:		    dodgerblue4
-
-! Color of my nickname
-!*Chat.meforeground:		    dodgerblue4
-*Chat.meforeground:		    firebrick4
-
-! Colors of server messages
-*Chat.serverlabelforeground:	    DarkGreen
-*Chat.serverforeground:		    DarkGreen
-
-! Color of info & error messages
-*Chat.infoforeground:		    dodgerblue4
-*Chat.errforeground:		    firebrick
-
-! Color of inactive urls in text
-*urlforeground:			    dodgerblue4
-
-! Color of active urls in text
-*urlactiveforeground:		    dodgerblue3
-
-! Colors of erroneous words (when ispell module is using)
-*Chat.errorColor:		    firebrick4
-*Chat.comboColor:		    dodgerblue4
-
-! Colors of tab labels (when in tabbed mode)
-! Usual color
-*NoteBook.alertColor0:		    black
-
-! Color when server message is arrived
-*NoteBook.alertColor1:		    DarkGreen
-
-! Color when message is arrived
-*NoteBook.alertColor2:		    dodgerblue4
-
-! Color when personally addressed message is arrived
-*NoteBook.alertColor3:		    firebrick4
-
-! Colors for browser and discovery service windows
-*JBrowser.fill:			    #000000
-*JBrowser.activefill:		    #000000
-*JBrowser.border:		    #eeeeee
-*JBrowser.nscolor:		    #666666
-*JBrowser.nsactivecolor:	    #666666
-
-*JDisco.fill:			    #000000
-*JDisco.activefill:		    #000000
-*JDisco.border:			    #eeeeee
-*JDisco.featurecolor:		    #666666
-*JDisco.identitycolor:		    DarkGreen
-*JDisco.optioncolor:		    DarkViolet
-*Tree*background:		    #eeeeee
-*linesfill:			    #000000
-*crossfill:			    #000000
-
-*Customize.varforeground:	    dodgerblue4
-
-! Tooltip options
-*Balloon.background:		    #ffeeaa
-*Balloon.foreground:		    #000000
-*Balloon*padX:			    0
-*Balloon*padY:			    0
-*DynamicHelp.background:	    #ffeeaa
-*DynamicHelp.foreground:	    #000000
-
-*Listbox.background:		    #eeeeee
-*Listbox.foreground:		    #000000
-*Listbox.borderWidth:		    1
-
-*Text.background:		    #eeeeee
-*Text.foreground:		    #000000
-*Text.borderWidth:		    1
-
-*Entry.background:		    #eeeeee
-*Entry.foreground:		    #000000
-*Entry.borderWidth:		    1
-
-*NoteBook*Entry.background:	    #eeeeee
-*NoteBook*Entry.disabledBackground: #dddddd
-*NoteBook*Entry.readonlyBackground: #dddddd
-*NoteBook*Entry.foreground:	    #000000
-
-*Button.borderWidth:		    1
-
-*Menu.activeBorderWidth:	    1
-*Menu.borderWidth:		    1
-*Menubutton.borderWidth:	    1
-
-*Buttonbox*borderWidth:		    0
-*Buttonbox*activeBorderWidth:	    0
-
-*Scrollbar.width:		    8

Deleted: trunk/tkabber/examples/tkabber_setstatus
===================================================================
--- trunk/tkabber/examples/tkabber_setstatus	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/tkabber_setstatus	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,21 +0,0 @@
-#!/usr/bin/wish
-
-set tkabbers {}
-foreach w [winfo interps] {
-    if {[string equal -length 7 $w "tkabber"]} {
-	lappend tkabbers $w
-    }
-}
-
-if {$argc == 0} { set argv {{}} }
-
-if {$argc > 1} { set argv [list $argv] }
-
-if {[lsearch -exact $argv "XMMS playing: %s"] >= 0} { set argv {{}} }
-
-foreach i $tkabbers {
-    catch { send -async $i "set textstatus $argv
-	    set userstatus \$userstatus" }
-}
-
-exit

Copied: trunk/tkabber/examples/tools/tkabber_setstatus (from rev 706, trunk/tkabber/examples/tkabber_setstatus)
===================================================================
--- trunk/tkabber/examples/tools/tkabber_setstatus	                        (rev 0)
+++ trunk/tkabber/examples/tools/tkabber_setstatus	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,21 @@
+#!/usr/bin/wish
+
+set tkabbers {}
+foreach w [winfo interps] {
+    if {[string equal -length 7 $w "tkabber"]} {
+	lappend tkabbers $w
+    }
+}
+
+if {$argc == 0} { set argv {{}} }
+
+if {$argc > 1} { set argv [list $argv] }
+
+if {[lsearch -exact $argv "XMMS playing: %s"] >= 0} { set argv {{}} }
+
+foreach i $tkabbers {
+    catch { send -async $i "set textstatus $argv
+	    set userstatus \$userstatus" }
+}
+
+exit

Deleted: trunk/tkabber/examples/warm.xrdb
===================================================================
--- trunk/tkabber/examples/warm.xrdb	2006-09-16 14:32:53 UTC (rev 715)
+++ trunk/tkabber/examples/warm.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -1,260 +0,0 @@
-! Main window geometry
-Tkabber.geometry:		    788x550-70+100
-!Tkabber.geometry:		    180x400-70+100
-
-! Chat window geometry (in no tabs mode)
-*Chat.groupchatgeometry:	    600x500
-*Chat.chatgeometry:		    500x500
-
-! Browser and Headlines window geometry (in no tabs mode)
-*JBrowser.geometry:		    500x500
-*JDisco.geometry:		    500x500
-
-! Roster width (tabbed interface only)
-Tkabber.mainRosterWidth:	    120
-
-! Roster width in groupchat windows
-Tkabber.chatRosterWidth:	    90
-
-! Scrollbar bed color
-*troughColor:			    #856b3b
-
-*background:			    #d0b073
-*foreground:			    #000000
-
-! Color of disabled items
-*disabledBackground:		    #d0b073
-*disabledForeground:		    #633333
-
-*errorForeground:		    firebrick
-
-! Colors, which are used when mouse is over the item
-*activeBackground:		    #996b3b
-*activeForeground:		    #000000
-
-! Colors and border width selected item
-*selectBackground:		    #b38047
-*selectForeground:		    #000000
-*selectBorderWidth:		    0
-
-! Color for checkboxes
-*selectColor:			    #fdc408
-
-! Color of traversal highlight rectangle
-*highlightBackground:		    #d0b073
-*highlightColor:		    #e00000
-
-! Color of insertion cursor
-*insertBackground:		    #000000
-
-! Font for drawing text (except cases where $font is used)
-*font:				    -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
-
-! Currently there is only progressbar (at the splash screen)
-*ProgressBar.foreground:	    #996b3b
-
-! Flatten ComboBox and ArrowButton
-*Spinbox.borderWidth:		    1
-*Spinbox.background:		    #b38047
-*SpinBox.borderWidth:		    1
-*SpinBox*Entry*highlightBackground: #b38047
-*ComboBox.borderWidth:		    1
-*ArrowButton.borderWidth:	    0
-*ArrowButton.highlightThickness:    0
-
-! Colors for listboxes and multicolumn listboxes (as in search result window)
-*Listbox.background:		    #f0f0cc
-*Listbox.foreground:		    #000000
-*Listbox.borderWidth:		    1
-*Mclistbox.background:		    #f0f0cc
-*Mclistbox.labelActiveBackground:   #b38047
-*Mclistbox.labelBackground:	    #996b3b
-*Mclistbox.labelForeground:	    #000000
-*Mclistbox.labelActiveForeground:   #000000
-
-! Button and Menubutton colors
-! Generic button
-*Button.background:		    #996b3b
-*Button.activeBackground:	    #b38047
-
-! Generic menubutton
-*Menubutton.background:		    #996b3b
-*Menubutton.activeBackground:	    #b38047
-
-! Buttons in chat and message windows
-*Chat*Button.background:	    #d0b073
-*Chat*Menubutton.background:	    #d0b073
-*Message*Menubutton.background:	    #d0b073
-
-*bbox.Button.background:	    #996b3b
-
-! Menu colors
-*Menu.background:		    #996b3b
-*Menu.activeBackground:		    #d0b073
-
-! Main toolbar buttons
-*mainframe.topf.tb0.bbox.Button.background: #d0b073
-
-! Sign/encrypt message buttons
-*bottom.buttons1.Button.background: #d0b073
-
-
-! Type of subitem in roster (1 - display number of resources,
-! 2 - display arrow, 3 - display both, 0 - display nothing
-*Roster.subitemtype:		    3
-
-! Roster background color
-*Roster.cbackground:		    #f0f0cc
-
-! Inactive JID background color
-*Roster.jidfill:		    #f0f0cc
-
-! Active JID background color
-*Roster.jidhlfill:		    #b38047
-
-! Color of border around JID
-*Roster.jidborder:		    #f0f0cc
-
-! Inctive group background color
-*Roster.groupfill:		    #d0b073
-
-! Inactive closed group background color
-*Roster.groupcfill:		    #d0b073
-
-! Active group background color
-*Roster.grouphlfill:		    #b38047
-
-! Color of border around group
-*Roster.groupborder:		    #d0b073
-
-! Indent of group names
-*Roster.groupindent:		    21
-
-! Indent of JIDs
-*Roster.jidindent:		    42
-
-! Indent of second order JIDs
-! (resources for those who is logged in multiple times)
-*Roster.subjidindent:		    62
-
-! Indent of group icons (closed or open arrow icon)
-*Roster.groupiconindent:	    2
-
-! Indent of group icons when subitemtype is 2 or 3
-*Roster.subgroupiconindent:	    2
-
-! Indent of regular JID icons (status icon)
-*Roster.iconindent:		    21
-
-! Indent of second order JID icons
-*Roster.subiconindent:		    42
-
-! Additional amount of text height
-*Roster.textuppad:		    0
-*Roster.textdownpad:		    0
-
-! Vertical distance between adjacent items
-*Roster.linepad:		    2
-
-! Foregrounds of JID label
-! (stalkerforeground is for contacts with pending subscription)
-*Roster.stalkerforeground:	    #663333
-
-! Other colors are selfexplanatory
-*Roster.unavailableforeground:	    #515151
-*Roster.dndforeground:		    #515129
-*Roster.xaforeground:		    #0b3760
-*Roster.awayforeground:		    #0b3760
-*Roster.availableforeground:	    dodgerblue4
-*Roster.chatforeground:		    dodgerblue4
-
-! Colors in chat and groupchat windows
-*Chat*Text*Label.background:		    #f0f0cc
-
-! Color of other people nicknames
-*Chat.theyforeground:		    firebrick4
-
-! Color of my nickname
-*Chat.meforeground:		    dodgerblue4
-
-! Colors of server messages
-*Chat.serverlabelforeground:	    seagreen
-*Chat.serverforeground:		    #4b3a70
-
-! Color of info & error messages
-*Chat.infoforeground:		    dodgerblue4
-*Chat.errforeground:		    firebrick4
-
-! Color of inactive urls in text
-*urlforeground:		    dodgerblue4
-
-! Color of active urls in text
-*urlactiveforeground:	    dodgerblue3
-
-! Colors of erroneous words (when ispell module is using)
-*Chat.errorColor:		    firebrick
-*Chat.comboColor:		    dodgerblue4
-
-! Colors of tab labels (when in tabbed mode)
-! Usual color
-*NoteBook.alertColor0: black
-
-! Color when server message is arrived
-*NoteBook.alertColor1: mediumpurple4
-
-! Color when message is arrived
-*NoteBook.alertColor2: dodgerblue4
-
-! Color when personally addressed message is arrived
-*NoteBook.alertColor3: firebrick4
-
-! Colors for browser and discovery service windows
-*JBrowser.fill:			    #000000
-*JBrowser.activefill:		    #000000
-*JBrowser.border:		    #f0f0cc
-*JBrowser.nscolor:		    #966666
-*JBrowser.nsactivecolor:	    #966666
-
-*JDisco.fill:			    #000000
-*JDisco.activefill:		    #000000
-*JDisco.border:			    #f0f0cc
-*JDisco.featurecolor:		    #966666
-*JDisco.identitycolor:		    DarkGreen
-*JDisco.optioncolor:		    DarkViolet
-*Tree*background:		    #f0f0cc
-*linesfill:			    #000000
-*crossfill:			    #000000
-
-! Tooltip options
-*Balloon.background:		    #d0b073
-*Balloon.foreground:		    #000000
-*Balloon*padX:			    0
-*Balloon*padY:			    0
-*DynamicHelp.background:	    #d0b073
-*DynamicHelp.foreground:	    #000000
-
-
-*Text.background:		    #f0f0cc
-*Text.foreground:		    #000000
-*Text.borderWidth:		    1
-
-*Entry.background:		    #b38047
-*Entry.foreground:		    #000000
-*Entry.borderWidth:		    1
-
-*NoteBook*Entry.background:	    #b38047
-*NoteBook*Entry.readonlyBackground: #d0b073
-*NoteBook*Entry.disabledBackground: #d0b073
-*NoteBook*Entry.foreground:	    #000000
-
-*Menu.activeBorderWidth:	    1
-*Menu.borderWidth:		    1
-*Menubutton.borderWidth:	    1
-
-*ButtonBox*borderWidth:		    0
-*ButtonBox*activeBorderWidth:	    0
-
-*Button.borderWidth:		    1
-
-*Customize.varforeground:	    firebrick4
-

Copied: trunk/tkabber/examples/xrdb/badlop-dark.xrdb (from rev 706, trunk/tkabber/examples/badlop-dark.xrdb)
===================================================================
--- trunk/tkabber/examples/xrdb/badlop-dark.xrdb	                        (rev 0)
+++ trunk/tkabber/examples/xrdb/badlop-dark.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,301 @@
+! Badlop-Dark.xrdb theme for Tkabber (based on dark2.xrdb)
+
+! Font for drawing text (except cases where $font is used)
+!*font:				    -monotype-arial-medium-r-normal-*-17-*-*-*-*-*-koi8-r
+
+! Main window geometry
+!   [tamaño horizontal]
+!   x[tamaño vertical]
+!   -[separacion con borde derecho de pantalla]
+!   +[separación con borde superior de lapantalla]
+Tkabber.geometry:		    700x520-30+170
+
+! Chat window geometry (in no tabs mode)
+!*Chat.geometry:	            300x500-70+350 ! notabs
+*Chat.geometry:			    300x500-70+350
+*Chat.groupchatgeometry:	    600x500
+*Chat.chatgeometry:		    500x500
+
+! Browser and Headlines window geometry (in no tabs mode)
+*JBrowser.geometry:		    350x350
+*JDisco.geometry:		    500x500
+
+! Roster width (tabbed interface only)
+Tkabber.mainRosterWidth:	    150
+
+! Roster width in groupchat windows
+Tkabber.chatRosterWidth:	    80
+
+! Scrollbar bed color
+*troughColor:			    #424242
+
+*background:			    #5e5e5e
+*foreground:			    #ffffff
+
+! Colors, which are used when mouse is over the item
+*activeBackground:		    #550066
+*activeForeground:		    #ffffff
+
+*disabledBackground:		    #3f3f3f
+*disabledForeground:		    #aaaaaa
+
+! Colors and border width selected item
+*selectBackground:		    #550066
+*selectForeground:		    #ffffff
+*selectBorderWidth:		    0
+
+! Color for checkboxes
+*selectColor:			    #4f135b
+
+! Color of traversal highlight rectangle
+*highlightBackground:		    #5e5e5e
+*highlightColor:		    #000000
+
+! Color of insertion cursor
+*insertBackground:		    #ffffff
+
+! Currently there is only progressbar (at the splash screen)
+*ProgressBar.foreground:	    #550066
+
+! Flatten ComboBox and ArrowButton +++
+*Spinbox.borderWidth:		    1
+*Spinbox.background:		    #424242
+*SpinBox.borderWidth:		    1
+*SpinBox*Entry*highlightBackground: #424242
+*ComboBox.borderWidth:		    1
+*ArrowButton*borderWidth:	    1
+*ArrowButton.borderWidth:	    0
+*ArrowButton.highlightThickness:    0
+
+! Colors for multicolumn listboxes (as in search result window)
+*Mclistbox.background:		    #424242
+*Mclistbox.labelActiveBackground:   #550066
+*Mclistbox.labelBackground:	    #5e5e5e
+*Mclistbox.labelForeground:	    #ffffff
+*Mclistbox.labelActiveForeground:   #ffffff
+
+! Button and Menubutton colors
+! Generic button
+*Button.background:		    #5e5e5e
+*Button.activeBackground:	    #550066
+
+! Generic menubutton
+*Menubutton.background:		    #5e5e5e
+*Menubutton.activeBackground:	    #550066
+
+! Buttons in chat and message windows
+*Chat*Button.background:	    #5e5e5e
+*Chat*Menubutton.background:	    #5e5e5e
+*Message*Menubutton.background:	    #5e5e5e
+
+*bbox.Button.background:	    #5e5e5e
+
+! Menu colors
+*Menu.background:		    #5e5e5e
+*Menu.activeBackground:		    #550066
+
+! Main toolbar buttons
+*mainframe.topf.tb0.bbox.Button.background: #5e5e5e
+
+! Sign/encrypt message buttons
+*bottom.buttons1.Button.background: #5e5e5e
+
+! Type of subitem in roster (1 - display number of resources,
+! 2 - display arrow, 3 - display both, 0 - display nothing
+*Roster.subitemtype:		    3
+
+! Roster background color
+*Roster.cbackground:		    #424242
+
+! Inactive JID background color
+*Roster.jidfill:		    #424242
+
+! Active JID background color
+*Roster.jidhlfill:		    #4f135b
+
+! Color of border around JID
+*Roster.jidborder:		    #424242
+
+! Inctive group background color
+*Roster.groupfill:		    #5e5e5e
+
+! Inactive closed group background color
+*Roster.groupcfill:		    #5e5e5e
+
+! Active group background color
+*Roster.grouphlfill:		    #550066
+
+! Color of border around group
+*Roster.groupborder:		    #5e5e5e
+
+! Indent of group names
+*Roster.groupindent:		    21
+
+! Indent of JIDs
+*Roster.jidindent:		    42
+
+! Indent of second order JIDs
+! (resources for those who is logged in multiple times)
+*Roster.subjidindent:		    62
+
+! Indent of group icons (closed or open arrow icon)
+*Roster.groupiconindent:	    2
+
+! Indent of group icons when subitemtype is 2 or 3
+*Roster.subgroupiconindent:	    2
+
+! Indent of regular JID icons (status icon)
+*Roster.iconindent:		    21
+
+! Indent of second order JID icons
+*Roster.subiconindent:		    42
+
+! Additional amount of text height
+*Roster.textuppad:		    0
+*Roster.textdownpad:		    0
+
+! Vertical distance between adjacent items
+*Roster.linepad:		    2
+
+! Foregrounds of JID label
+! (stalkerforeground is for contacts with pending subscription)
+*Roster.stalkerforeground:	    #d2b48c
+
+! Other colors are selfexplanatory
+*Roster.unavailableforeground:	    #b8b8b8
+*Roster.dndforeground:		    #ffc1c1
+*Roster.xaforeground:		    #c1cdcd
+*Roster.awayforeground:		    #c1cdcd
+*Roster.availableforeground:	    #ffffff
+*Roster.chatforeground:		    #ffffff
+
+! Colors in chat and groupchat windows
+*Chat*Text*Label.background:		    #66685e
+
+! Color of other people nicknames
+*Chat.theyforeground:		    #ff7f50
+
+! Color of my nickname
+*Chat.meforeground:		    #add8e6
+
+! Colors of server messages
+*Chat.serverlabelforeground:	    #caff70
+*Chat.serverforeground:		    #ff69b4
+
+! Color of error messages
+*Chat.errforeground:		    #ff6a6a
+
+! Color of inactive urls in text
+*urlforeground:		    	    #add8e6
+
+! Color of active urls in text
+*urlactiveforeground:	    	    #add8e6
+
+! Colors of erroneous words (when ispell module is using)
+*Chat.errorColor:		    #ff7f50
+*Chat.comboColor:		    #add8e6
+
+*Chat.inputheight:                  3
+
+! Colors of tab labels (when in tabbed mode)
+*NoteBook*Entry.readonlyBackground: #3f3f3f
+! Usual color
+*NoteBook.alertColor0:              #ffffff
+
+! Color when server message is arrived
+*NoteBook.alertColor1:              #ff69b4
+
+! Color when message is arrived
+*NoteBook.alertColor2:              #add8e6
+
+! Color when personally addressed message is arrived
+*NoteBook.alertColor3:              #ff7f50
+
+! Colors for browser and discovery service windows
+*JBrowser.fill:			    #ffffff
+*JBrowser.activefill:		    #ffffff
+*JBrowser.border:		    #424242
+
+! ale
+*JBrowser.nscolor:		    #b8b8b8
+*JBrowser.nsactivecolor:	    #b8b8b8
+*JBrowser.cbackground:   	    #b8b8b8
+! White
+*JBrowser.foreground:    	    #b8b8b8
+! Black
+*JBrowser.levelindent:   	    24
+*JBrowser.indent:        	    3
+*JBrowser.nsindent:      	    2
+*JBrowser.linepad:       	    2
+*JBrowser.toppad:        	    1
+*JBrowser.bottompad:     	    1
+*JBrowser.icontextpad:   	    2
+! MidnightBlue 
+! Blue 
+
+*JDisco.fill:			    #ffffff
+*JDisco.activefill:		    #ffffff
+*JDisco.border:			    #424242
+*JDisco.featurecolor:		    #b8b8b8
+*JDisco.identitycolor:		    #b4eeb4
+*JDisco.optioncolor:		    #ff69b4
+*Tree*background:		    #424242
+*linesfill:			    #ffffff
+*crossfill:			    #000000
+
+! ale
+*JDisco.cbackground:                #ffffff
+*JDisco.foreground:                 #000000
+
+! Tooltip options
+*Balloon.background:		    #424242
+*Balloon.foreground:		    #ffffff
+*Balloon*padX:			    1
+*Balloon*padY:			    0
+*DynamicHelp.background:	    #424242
+*DynamicHelp.foreground:	    #ffffff
+*Baloon.style:                      delay
+
+*Listbox.background:		    #424242
+*Listbox.foreground:		    #ffffff
+*Listbox.borderWidth:		    1
+
+*Text.background:		    #424242
+*Text.foreground:		    #ffffff
+*Text.borderWidth:		    1
+
+*Entry.background:		    #424242
+*Entry.foreground:		    #ffffff
+*Entry.borderWidth:		    1
+
+*NoteBook*Entry.background:	    #424242
+*NoteBook*Entry.disabledBackground: #5e5e5e
+*NoteBook*Entry.foreground:	    #ffffff
+
+*Button.borderWidth:		    1
+
+*Menu.activeBorderWidth:	    1
+*Menu.borderWidth:		    1
+*Menubutton.borderWidth:	    1
+
+*Buttonbox*borderWidth:		    0
+*Buttonbox*activeBorderWidth:	    0
+
+! ale
+*Search.itemBackground:             #ffffff
+
+! ale
+*RawXML.inforeground:               #e0c3c3
+*RawXML.outforeground:              #a3a3ff
+*RawXML.intagforeground:            #e0c3c3
+*RawXML.inattrforeground:           #e0c3c3
+*RawXML.invalueforeground:          #d1aef2
+*RawXML.incdataforeground:          #b2dcff
+*RawXML.outtagforeground:           #efb3ef
+*RawXML.outattrforeground:          #efb3ef
+*RawXML.outvalueforeground:         #c9ffc9
+*RawXML.outcdataforeground:         #b6b6f9
+*RawXML.inputheight:                4
+
+*Scrollbar.width:		    8
+

Copied: trunk/tkabber/examples/xrdb/black.xrdb (from rev 706, trunk/tkabber/examples/black.xrdb)
===================================================================
--- trunk/tkabber/examples/xrdb/black.xrdb	                        (rev 0)
+++ trunk/tkabber/examples/xrdb/black.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,89 @@
+*background:			    black
+*foreground:			    grey
+*disabledBackground:		    black
+*disabledForeground:		    grey50
+*errorForeground:		    coral3
+*activeBackground:		    grey30
+*activeForeground:		    grey100
+*selectBackground:		    grey
+*selectForeground:		    black
+*selectBorderWidth:		    0
+*highlightSearchBackground:         #c1eec1
+*highlightBackground:		    black
+*highlightColor:		    grey
+*insertBackground:		    grey
+*troughColor:			    black
+
+*Spinbox.borderWidth:		    1
+*Spinbox.background:		    black
+*SpinBox.borderWidth:		    1
+*SpinBox*Entry*highlightBackground: black
+*ComboBox.borderWidth:		    1
+*ArrowButton.borderWidth:	    0
+*ArrowButton.highlightThickness:    0
+
+*Mclistbox.background:		    black
+*Mclistbox.labelBackground:	    black
+*Mclistbox.labelForeground:	    grey
+*Mclistbox.labelActiveBackground:   grey30
+*Mclistbox.labelActiveForeground:   grey100
+
+*Roster.cbackground:		    Black
+*Roster.jidfill:		    Black
+*Roster.jidhlfill:		    #382b54
+*Roster.jidborder:		    Black
+*Roster.groupfill:		    Gray30
+*Roster.groupcfill:		    Gray30
+*Roster.grouphlfill:		    MediumPurple4
+*Roster.groupborder:		    Black
+
+*JBrowser.fill:			    Grey
+*JBrowser.activefill:		    Grey
+*JBrowser.border:		    Black
+*JBrowser.nscolor:		    LightSteelBlue3
+*JBrowser.nsactivecolor:	    LightSteelBlue3
+*linesfill:			    Grey
+*crossfill:			    Grey
+
+*JDisco.fill:			    Grey
+*JDisco.activefill:		    Grey
+*JDisco.border:			    Black
+*JDisco.featurecolor:		    LightSteelBlue3
+*JDisco.identitycolor:		    darkolivegreen3
+*JDisco.optioncolor:		    mediumorchid3
+*Tree*background:		    Black
+
+*Roster.stalkerforeground:	    grey40
+*Roster.unavailableforeground:	    grey40
+*Roster.dndforeground:		    grey45
+*Roster.xaforeground:		    grey50
+*Roster.awayforeground:		    grey50
+*Roster.availableforeground:	    grey55
+*Roster.chatforeground:		    grey55
+
+*Chat*Text*Label.background:	    black
+*Chat.theyforeground:		    cornflowerblue
+*Chat.meforeground:		    coral3
+*Chat.serverlabelforeground:	    darkolivegreen3
+*Chat.serverforeground:		    mediumorchid3
+*Chat.infoforeground:		    cornflowerblue
+*Chat.errforeground:		    coral3
+*urlforeground:			    cornflowerblue
+*urlactiveforeground:		    skyblue
+*Chat.errorColor:		    coral3
+*Chat.comboColor:		    cornflowerblue
+
+*ProgressBar.foreground:	    grey
+
+*NoteBook.alertColor0:		    Grey
+*NoteBook.alertColor1:		    mediumorchid3
+*NoteBook.alertColor2:		    cornflowerblue
+*NoteBook.alertColor3:		    coral3
+
+*NoteBook*Entry.background:	    #000000
+*NoteBook*Entry.disabledBackground: #000000
+*NoteBook*Entry.readonlyBackground: #000000
+*NoteBook*Entry.foreground:	    grey
+
+*Customize.varforeground:	    cornflowerblue
+

Copied: trunk/tkabber/examples/xrdb/dark.xrdb (from rev 706, trunk/tkabber/examples/dark.xrdb)
===================================================================
--- trunk/tkabber/examples/xrdb/dark.xrdb	                        (rev 0)
+++ trunk/tkabber/examples/xrdb/dark.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,228 @@
+! Main window geometry
+Tkabber.geometry:		    788x550-70+100
+!Tkabber.geometry:		    180x400-70+100
+
+! Chat window geometry (in no tabs mode)
+*Chat.geometry:			    500x500
+
+! Browser and Headlines window geometry (in no tabs mode)
+*JBrowser.geometry:		    500x500
+
+! Roster width (tabbed interface only)
+Tkabber.mainRosterWidth:	    120
+
+! Roster width in groupchat windows
+Tkabber.chatRosterWidth:	    90
+
+! Scrollbar bed color
+*troughColor:			    #424242
+
+*background:			    #5e5e5e
+*foreground:			    #ffffff
+*disabledBackground:		    #5e5e5e
+*disabledForeground:		    #cccccc
+*errorForeground:		    indianred1
+
+! Colors, which are used when mouse is over the item
+*activeBackground:		    #550066
+*activeForeground:		    #ffffff
+
+! Colors and border width selected item
+*selectBackground:		    #550066
+*selectForeground:		    #ffffff
+*selectBorderWidth:		    0
+
+! Color for checkboxes
+*selectColor:			    #4f135b
+
+! Color of traversal highlight rectangle
+*highlightBackground:		    #5e5e5e
+*highlightColor:		    #000000
+
+! Color of insertion cursor
+*insertBackground:		    #ffffff
+
+! Font for drawing text (except cases where $font is used)
+*font:				    -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
+
+! Currently there is only progressbar (at the splash screen)
+*ProgressBar.foreground:	    #550066
+
+! Flatten ComboBox and ArrowButton
+*Spinbox.borderWidth:		    1
+*Spinbox.background:		    #424242
+*SpinBox.borderWidth:		    1
+*SpinBox*Entry*highlightBackground: #424242
+*ComboBox.borderWidth:		    1
+*ArrowButton.borderWidth:	    0
+*ArrowButton.highlightThickness:    0
+
+! Colors for multicolumn listboxes (as in search result window)
+*Mclistbox.background:		    #424242
+*Mclistbox.labelActiveBackground:   #550066
+*Mclistbox.labelBackground:	    #5e5e5e
+*Mclistbox.labelForeground:	    #ffffff
+*Mclistbox.labelActiveForeground:   #ffffff
+
+! Type of subitem in roster (1 - display number of resources,
+! 2 - display arrow, 3 - display both, 0 - display nothing
+*Roster.subitemtype:		    3
+
+! Roster background color
+*Roster.cbackground:		    #424242
+
+! Inactive JID background color
+*Roster.jidfill:		    #424242
+
+! Active JID background color
+*Roster.jidhlfill:		    #4f135b
+
+! Color of border around JID
+*Roster.jidborder:		    #424242
+
+! Inctive group background color
+*Roster.groupfill:		    #5e5e5e
+
+! Inactive closed group background color
+*Roster.groupcfill:		    #5e5e5e
+
+! Active group background color
+*Roster.grouphlfill:		    #550066
+
+! Color of border around group
+*Roster.groupborder:		    #5e5e5e
+
+! Indent of group names
+*Roster.groupindent:		    21
+
+! Indent of JIDs
+*Roster.jidindent:		    42
+
+! Indent of second order JIDs
+! (resources for those who is logged in multiple times)
+*Roster.subjidindent:		    62
+
+! Indent of group icons (closed or open arrow icon)
+*Roster.groupiconindent:	    2
+
+! Indent of group icons when subitemtype is 2 or 3
+*Roster.subgroupiconindent:	    2
+
+! Indent of regular JID icons (status icon)
+*Roster.iconindent:		    21
+
+! Indent of second order JID icons
+*Roster.subiconindent:		    42
+
+! Additional amount of text height
+*Roster.textuppad:		    0
+*Roster.textdownpad:		    0
+
+! Vertical distance between adjacent items
+*Roster.linepad:		    2
+
+! Foregrounds of JID label
+! (stalkerforeground is for contacts with pending subscription)
+*Roster.stalkerforeground:	    tan
+
+! Other colors are selfexplanatory
+*Roster.unavailableforeground:	    grey72
+*Roster.dndforeground:		    rosybrown1
+*Roster.xaforeground:		    azure3
+*Roster.awayforeground:		    azure3
+*Roster.availableforeground:	    #ffffff
+*Roster.chatforeground:		    #ffffff
+
+! Colors in chat and groupchat windows
+*Chat*Text*Label.background:		    #424242
+
+! Color of other people nicknames
+*Chat.theyforeground:		    coral
+
+! Color of my nickname
+*Chat.meforeground:		    lightblue
+
+! Colors of server messages
+*Chat.serverlabelforeground:	    darkolivegreen1
+*Chat.serverforeground:		    hotpink
+
+! Color of info & error messages
+*Chat.infoforeground:		    lightblue
+*Chat.errforeground:		    indianred1
+
+! Color of inactive urls in text
+*urlforeground:		    lightblue
+
+! Color of active urls in text
+*urlactiveforeground:	    lightblue1
+
+! Colors of erroneous words (when ispell module is using)
+*Chat.errorColor:		    coral
+*Chat.comboColor:		    lightblue
+
+! Colors of tab labels (when in tabbed mode)
+! Usual color
+*NoteBook.alertColor0: white
+
+! Color when server message is arrived
+*NoteBook.alertColor1: hotpink
+
+! Color when message is arrived
+*NoteBook.alertColor2: lightblue
+
+! Color when personally addressed message is arrived
+*NoteBook.alertColor3: coral
+
+! Colors for browser and discovery service windows
+*JBrowser.fill:			    #ffffff
+*JBrowser.activefill:		    #ffffff
+*JBrowser.border:		    #424242
+*JBrowser.nscolor:		    grey72
+*JBrowser.nsactivecolor:	    grey72
+
+*JDisco.fill:			    #ffffff
+*JDisco.activefill:		    #ffffff
+*JDisco.border:			    #424242
+*JDisco.featurecolor:		    grey72
+*JDisco.identitycolor:		    DarkSeaGreen2
+*JDisco.optioncolor:		    HotPink
+*Tree*background:		    #424242
+*linesfill:			    #ffffff
+*crossfill:			    #ffffff
+
+*Customize.varforeground:	    lightblue
+
+! Tooltip options
+*Balloon.background:		    #424242
+*Balloon.foreground:		    #ffffff
+*Balloon*padX:			    0
+*Balloon*padY:			    0
+*DynamicHelp.background:	    #424242
+*DynamicHelp.foreground:	    #ffffff
+
+
+*Listbox.background:		    #424242
+*Listbox.foreground:		    #ffffff
+*Listbox.borderWidth:		    1
+
+*Text.background:		    #424242
+*Text.foreground:		    #ffffff
+*Text.borderWidth:		    1
+
+*Entry.background:		    #424242
+*Entry.foreground:		    #ffffff
+*Entry.borderWidth:		    1
+
+*NoteBook*Entry.background:	    #424242
+*NoteBook*Entry.readonlyBackground: #5e5e5e
+*NoteBook*Entry.disabledBackground: #5e5e5e
+*NoteBook*Entry.foreground:	    #ffffff
+
+*Button.borderWidth:		    1
+
+*Menu.activeBorderWidth:	    1
+*Menu.borderWidth:		    1
+*Menubutton.borderWidth:	    1
+
+*Buttonbox*borderWidth:		    0
+*Buttonbox*activeBorderWidth:	    0

Copied: trunk/tkabber/examples/xrdb/dark2.xrdb (from rev 706, trunk/tkabber/examples/dark2.xrdb)
===================================================================
--- trunk/tkabber/examples/xrdb/dark2.xrdb	                        (rev 0)
+++ trunk/tkabber/examples/xrdb/dark2.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,242 @@
+! Main window geometry
+Tkabber.geometry:		    788x550-70+100
+!Tkabber.geometry:		    180x400-70+100
+
+! Chat window geometry (in no tabs mode)
+*Chat.geometry:			    500x500
+
+! Browser and Headlines window geometry (in no tabs mode)
+*JBrowser.geometry:		    500x500
+
+! Roster width (tabbed interface only)
+Tkabber.mainRosterWidth:	    110
+
+! Roster width in groupchat windows
+Tkabber.chatRosterWidth:	    100
+
+! Scrollbar bed color
+*troughColor:			    #2c2c2c
+
+*background:			    #3f3f3f
+*foreground:			    #bfbfae
+*disabledForeground:		    #a9a999
+*errorForeground:		    #f99393
+*disabledBackground:		    #3f3f3f
+
+! Colors, which are used when mouse is over the item
+*activeBackground:		    #616151
+*activeForeground:		    #ffffff
+
+! Colors and border width selected item
+*selectBackground:		    #4c4c3f
+*selectForeground:		    #bfbfae
+*selectBorderWidth:		    0
+
+! Color for checkboxes
+*selectColor:			    #616151
+
+! Color of traversal highlight rectangle
+*highlightBackground:		    #3f3f3f
+*highlightColor:		    #000000
+
+! Color of insertion cursor
+*insertBackground:		    #bfbfae
+
+! Font for drawing text (except cases where $font is used)
+*font:				    -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
+
+! Currently there is only progressbar (at the splash screen)
+*ProgressBar.foreground:	    #616151
+
+! Flatten ComboBox and ArrowButton
+*Spinbox.borderWidth:		    1
+*Spinbox.background:		    #66685e
+*SpinBox.borderWidth:		    1
+*SpinBox*Entry*highlightBackground: #66685e
+*ComboBox.borderWidth:		    1
+*ArrowButton.borderWidth:	    0
+*ArrowButton.highlightThickness:    0
+
+! Colors for multicolumn listboxes (as in search result window)
+*Mclistbox.background:		    #66685e
+*Mclistbox.labelActiveBackground:   #616151
+*Mclistbox.labelBackground:	    #3f3f3f
+*Mclistbox.labelForeground:	    #bfbfae
+*Mclistbox.labelActiveForeground:   #ffffff
+
+! Type of subitem in roster (1 - display number of resources,
+! 2 - display arrow, 3 - display both, 0 - display nothing
+*Roster.subitemtype:		    3
+
+! Roster background color
+*Roster.cbackground:		    #66685e
+
+! Inactive JID background color
+*Roster.jidfill:		    #66685e
+
+! Active JID background color
+*Roster.jidhlfill:		    #4c4c3f
+
+! Color of border around JID
+*Roster.jidborder:		    #66685e
+
+! Inactive group background color
+*Roster.groupfill:		    #575747
+
+! Inactive closed group background color
+*Roster.groupcfill:		    #575747
+
+! Active group background color
+*Roster.grouphlfill:		    #4c4c3f
+
+! Color of border around group
+*Roster.groupborder:		    #575747
+
+! Indent of group names
+*Roster.groupindent:		    21
+
+! Indent of JIDs
+*Roster.jidindent:		    42
+
+! Indent of second order JIDs
+! (resources for those who is logged in multiple times)
+*Roster.subjidindent:		    62
+
+! Indent of group icons (closed or open arrow icon)
+*Roster.groupiconindent:	    2
+
+! Indent of group icons when subitemtype is 2 or 3
+*Roster.subgroupiconindent:	    2
+
+! Indent of regular JID icons (status icon)
+*Roster.iconindent:		    21
+
+! Indent of second order JID icons
+*Roster.subiconindent:		    42
+
+! Additional amount of text height
+*Roster.textuppad:		    0
+*Roster.textdownpad:		    0
+
+! Vertical distance between adjacent items
+*Roster.linepad:		    2
+
+! Foregrounds of JID label
+! (stalkerforeground is for contacts with pending subscription)
+*Roster.stalkerforeground:	    tan
+
+! Other colors are selfexplanatory
+*Roster.unavailableforeground:	    #b5b5a6
+*Roster.dndforeground:		    #ccb5a6
+*Roster.xaforeground:		    #bfbfae
+*Roster.awayforeground:		    #bfbfae
+*Roster.availableforeground:	    #ccccbb
+*Roster.chatforeground:		    #ccccbb
+
+! Colors in chat and groupchat windows
+*Chat*Text*Label.background:		    #66685e
+
+! Color of other people nicknames
+*Chat.theyforeground:		    #f99393
+
+! Color of my nickname
+*Chat.meforeground:		    #add8cc
+
+! Colors of server messages
+*Chat.serverlabelforeground:	    #bbe8bb
+*Chat.serverforeground:		    #e899b5
+
+! Color of info & error messages
+*Chat.infoforeground:		    #add8cc
+*Chat.errforeground:		    #f99393
+
+! Color of inactive urls in text
+*urlforeground:			    #add8cc
+
+! Color of active urls in text
+*urlactiveforeground:		    #c0ede0
+
+! Colors of erroneous words (when ispell module is using)
+*Chat.errorColor:		    #f99393
+*Chat.comboColor:		    #add8cc
+
+*Customize.varforeground:	    #add8cc
+
+! Colors of tab labels (when in tabbed mode)
+! Usual color
+*NoteBook.alertColor0: #bfbfae
+
+! Color when server message is arrived
+*NoteBook.alertColor1: #e899b5
+
+! Color when message is arrived
+*NoteBook.alertColor2: #add8cc
+
+! Color when personally addressed message is arrived
+*NoteBook.alertColor3: #f99393
+
+! Colors for Raw XML window
+*RawXML.inforeground:		    #f99393
+*RawXML.outforeground:		    #add8cc
+*RawXML.intagforeground:	    #f99393
+*RawXML.inattrforeground:	    #f99393
+*RawXML.invalueforeground:	    #e899b5
+*RawXML.incdataforeground:	    #add8cc
+*RawXML.outtagforeground:	    #e899b5
+*RawXML.outattrforeground:	    #e899b5
+*RawXML.outvalueforeground:	    #bbe8bb
+*RawXML.outcdataforeground:	    #add8cc
+
+! Colors for browser and discovery service windows
+*JBrowser.fill:			    #bfbfae
+*JBrowser.activefill:		    #bfbfae
+*JBrowser.border:		    #66685e
+*JBrowser.nscolor:		    #cfdfbe
+*JBrowser.nsactivecolor:	    #cfdfbe
+
+*JDisco.fill:			    #bfbfae
+*JDisco.activefill:		    #bfbfae
+*JDisco.border:			    #66685e
+*JDisco.featurecolor:		    #cfdfbe
+*JDisco.identitycolor:		    #bbe8bb
+*JDisco.optioncolor:		    #e899b5
+*Tree*background:		    #66685e
+*linesfill:			    #bfbfae
+*crossfill:			    #bfbfae
+
+! Tooltip options
+*Balloon.background:		    #bfbfae
+*Balloon.foreground:		    #000000
+*Balloon*padX:			    0
+*Balloon*padY:			    0
+*DynamicHelp.background:	    #bfbfae
+*DynamicHelp.foreground:	    #000000
+
+
+*Listbox.background:		    #66685e
+*Listbox.foreground:		    #bfbfae
+*Listbox.borderWidth:		    1
+
+*Text.background:		    #66685e
+*Text.foreground:		    #bfbfae
+*Text.borderWidth:		    1
+
+*Entry.background:		    #66685e
+*Entry.foreground:		    #bfbfae
+*Entry.borderWidth:		    1
+
+*NoteBook*Entry.background:	    #66685e
+*NoteBook*Entry.readonlyBackground: #3f3f3f
+*NoteBook*Entry.disabledBackground: #3f3f3f
+*NoteBook*Entry.foreground:	    #bfbfae
+
+*Button.borderWidth:		    1
+
+*Menu.activeBorderWidth:	    1
+*Menu.borderWidth:		    1
+*Menubutton.borderWidth:	    1
+
+*Buttonbox*borderWidth:		    0
+*Buttonbox*activeBorderWidth:	    0
+
+*Scrollbar.width:		    8

Copied: trunk/tkabber/examples/xrdb/green.xrdb (from rev 706, trunk/tkabber/examples/green.xrdb)
===================================================================
--- trunk/tkabber/examples/xrdb/green.xrdb	                        (rev 0)
+++ trunk/tkabber/examples/xrdb/green.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,147 @@
+! Main window geometry
+Tkabber.geometry:	    788x550-70+100
+!Tkabber.geometry:	    200x350-70+100
+
+! Chat window geometry (in no tabs mode)
+*Chat.geometry:		    500x500
+
+! Browser and Headlines window geometry (in no tabs mode)
+*JBrowser.geometry:	    500x500
+
+! Roster width (tabbed interface only)
+Tkabber.mainRosterWidth:        120
+
+! Roster width in groupchat windows
+Tkabber.chatRosterWidth:        90
+
+*background:		    ForestGreen
+*foreground:		    LawnGreen
+*disabledBackground:	    ForestGreen
+*disabledForeground:	    PaleGreen3
+*activeBackground:	    PaleGreen3
+*activeForeground:	    DarkOliveGreen
+*selectBackground:	    LawnGreen
+*selectForeground:	    ForestGreen
+*highlightBackground:	        ForestGreen
+*highlightForeground:	        LawnGreen
+*selectColor:		    PaleGreen3
+*selectBorderWidth:	    0
+*insertBackground:	    LawnGreen
+*troughColor:		    ForestGreen
+*errorForeground:	    orange
+*font:		        -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
+
+*ProgressBar.foreground:        PaleGreen2
+
+*Spinbox.borderWidth:		    1
+*Spinbox.background:		    ForestGreen
+*SpinBox.borderWidth:		    1
+*SpinBox*Entry*highlightBackground: ForestGreen
+*ComboBox.borderWidth:		    1
+*ArrowButton.borderWidth:	    0
+*ArrowButton.highlightThickness:    0
+
+*Mclistbox.background:		    ForestGreen
+*Mclistbox.labelActiveBackground:   PaleGreen3
+*Mclistbox.labelBackground:	    ForestGreen
+*Mclistbox.labelForeground:	    LawnGreen
+*Mclistbox.labelActiveForeground:   DarkOliveGreen
+
+
+*Roster.subitemtype:	        3
+*Roster.cbackground:	        ForestGreen
+*Roster.jidfill:	    ForestGreen
+*Roster.jidhlfill:	    ForestGreen
+*Roster.jidborder:	    ForestGreen
+*Roster.groupfill:	    DarkGreen
+*Roster.groupcfill:	    DarkGreen
+*Roster.grouphlfill:	        DarkGreen
+*Roster.groupborder:	        DarkGreen
+*Roster.groupindent:	        21
+*Roster.jidindent:	    42
+*Roster.subjidindent:	        62
+*Roster.groupiconindent:        2
+*Roster.subgroupiconindent:     2
+*Roster.iconindent:	    21
+*Roster.subiconindent:	        42
+*Roster.textuppad:	    0
+*Roster.textdownpad:	        0
+*Roster.linepad:	    2
+*Roster.stalkerforeground:      LimeGreen
+*Roster.unavailableforeground:	    PaleGreen2
+*Roster.dndforeground:	        PaleGreen3
+*Roster.xaforeground:	        PaleGreen1
+*Roster.awayforeground:	        PaleGreen
+*Roster.availableforeground:	    LawnGreen
+*Roster.chatforeground:	        LawnGreen
+
+*Chat*Text*Label.background:		ForestGreen
+
+*Chat.theyforeground:	        DarkSeaGreen2
+*Chat.meforeground:	    DarkOliveGreen2
+*Chat.serverlabelforeground:	    DarkSeaGreen3
+*Chat.serverforeground:	        DarkSeaGreen3
+*Chat.infoforeground:	        DarkSeaGreen2
+*Chat.errforeground:	        orange
+*urlforeground:			DarkOliveGreen2
+*urlactiveforeground:	    Green
+*Chat.errorColor:	    orange
+*Chat.comboColor:	    Yellow
+
+*NoteBook.alertColor0: PaleGreen3
+*NoteBook.alertColor1: PaleGreen2
+*NoteBook.alertColor2: PaleGreen3
+*NoteBook.alertColor3: LawnGreen
+
+*JBrowser.fill:			    LawnGreen
+*JBrowser.activefill:		    White
+*JBrowser.border:		    Pink
+*JBrowser.nscolor:		    MediumSeaGreen
+*JBrowser.nsactivecolor:	    Blue
+
+*JDisco.fill:			    LawnGreen
+*JDisco.activefill:		    White
+*JDisco.border:			    Pink
+*JDisco.featurecolor:		    MediumSeaGreen
+*JDisco.identitycolor:		    MediumSeaGreen
+*JDisco.optioncolor:		    MediumSeaGreen
+*Tree*background:		    ForestGreen
+*linesfill:			    LawnGreen
+*crossfill:			    LawnGreen
+
+*Balloon.background:	        ForestGreen
+*Balloon.foreground:	        PaleGreen
+*Balloon*padX:		    0
+*Balloon*padY:		    0
+
+*DynamicHelp.background:        ForestGreen
+*DynamicHelp.foreground:        PaleGreen
+
+*Listbox.background:	        ForestGreen
+*Listbox.foreground:	        PaleGreen
+*Listbox.borderWidth:	        1
+
+*Text.background:	    ForestGreen
+*Text.foreground:	    PaleGreen
+*Text.borderWidth:	    1
+
+*Entry.background:	    ForestGreen
+*Entry.foreground:	    LawnGreen
+*Entry.borderWidth:	    1
+
+*NoteBook*Entry.background:     ForestGreen
+*NoteBook*Entry.readonlyBackground: ForestGreen
+*NoteBook*Entry.disabledBackground: ForestGreen
+*NoteBook*Entry.foreground:     LawnGreen
+
+*Button.borderWidth:	        1
+
+*Menu.activeBorderWidth:        1
+*Menu.borderWidth:	    1
+*Menubutton.borderWidth:        1
+
+*Buttonbox*borderWidth:	        0
+*Buttonbox*activeBorderWidth:	    0
+
+*Customize.varforeground:	    DarkOliveGreen2
+

Copied: trunk/tkabber/examples/xrdb/ice.xrdb (from rev 706, trunk/tkabber/examples/ice.xrdb)
===================================================================
--- trunk/tkabber/examples/xrdb/ice.xrdb	                        (rev 0)
+++ trunk/tkabber/examples/xrdb/ice.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,239 @@
+! Main window geometry
+Tkabber.geometry:		    788x550-70+100
+!Tkabber.geometry:		    180x400-70+100
+
+! Chat window geometry (in no tabs mode)
+*Chat.geometry:			    500x500
+
+! Browser and Headlines window geometry (in no tabs mode)
+*JBrowser.geometry:		    500x500
+
+! Roster width (tabbed interface only)
+Tkabber.mainRosterWidth:	    120
+
+! Roster width in groupchat windows
+Tkabber.chatRosterWidth:	    90
+
+! Scrollbar bed color
+*troughColor:			    #c1c1cc
+
+*background:			    #d3d3dd
+*foreground:			    #000000
+*disabledBackground:		    #d3d3dd
+*disabledForeground:		    #535373
+*errorForeground:		    firebrick4
+
+! Colors, which are used when mouse is over the item
+*activeBackground:		    #c2c2e3
+*activeForeground:		    #000000
+
+! Colors and border width selected item
+*selectBackground:		    #b2b2f1
+*selectForeground:		    #336699
+*selectBorderWidth:		    1
+
+! Color for checkboxes
+*selectColor:			    #ababb5
+
+! Color of traversal highlight rectangle
+*highlightBackground:		    #d3d3dd
+*highlightColor:		    #666666
+
+! Color of insertion cursor
+*insertBackground:		    #000000
+
+! Font for drawing text (except cases where $font is used)
+*font:				    -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
+
+! Currently there is only progressbar (at the splash screen)
+*ProgressBar.foreground:	    #b2b2f1
+
+! Flatten ComboBox and ArrowButton
+*Spinbox.borderWidth:		    1
+*Spinbox.background:		    #e5e5f7
+*SpinBox.borderWidth:		    1
+*SpinBox*Entry*highlightBackground: #e5e5f7
+*ComboBox.borderWidth:		    1
+*ArrowButton.borderWidth:	    0
+*ArrowButton.highlightThickness:    0
+
+! Colors for multicolumn listboxes (as in search result window)
+*Mclistbox.background:		    #e5e5f7
+*Mclistbox.labelActiveBackground:   #c2c2e3
+*Mclistbox.labelBackground:	    #c6c6cf
+*Mclistbox.labelForeground:	    #000000
+*Mclistbox.labelActiveForeground:   #000000
+
+*Button.background:		    #c6c6cf
+*Menubutton.background:		    #c6c6cf
+*Menu.activeBackground:		    #c2c2e3
+*Chat*Button.background:	    #d3d3dd
+*Chat*Menubutton.background:	    #d3d3dd
+*Message*Menubutton.background:	    #d3d3dd
+*bbox.Button.background:	    #c6c6cf
+*mainframe.topf.tb0.bbox.Button.background:	    #d3d3dd
+*bottom.buttons1.Button.background:	    #d3d3dd
+
+! Type of subitem in roster (1 - display number of resources,
+! 2 - display arrow, 3 - display both, 0 - display nothing
+*Roster.subitemtype:		    3
+
+! Roster background color
+*Roster.cbackground:		    #e5e5f7
+
+! Inactive JID background color
+*Roster.jidfill:		    #e5e5f7
+
+! Active JID background color
+*Roster.jidhlfill:		    #c2c2e3
+
+! Color of border around JID
+*Roster.jidborder:		    #e5e5f7
+
+! Inctive group background color
+*Roster.groupfill:		    #d3d3dd
+
+! Inactive closed group background color
+*Roster.groupcfill:		    #d3d3dd
+
+! Active group background color
+*Roster.grouphlfill:		    #c2c2e3
+
+! Color of border around group
+*Roster.groupborder:		    #d3d3dd
+
+! Indent of group names
+*Roster.groupindent:		    21
+
+! Indent of JIDs
+*Roster.jidindent:		    42
+
+! Indent of second order JIDs
+! (resources for those who is logged in multiple times)
+*Roster.subjidindent:		    62
+
+! Indent of group icons (closed or open arrow icon)
+*Roster.groupiconindent:	    2
+
+! Indent of group icons when subitemtype is 2 or 3
+*Roster.subgroupiconindent:	    2
+
+! Indent of regular JID icons (status icon)
+*Roster.iconindent:		    21
+
+! Indent of second order JID icons
+*Roster.subiconindent:		    42
+
+! Additional amount of text height
+*Roster.textuppad:		    0
+*Roster.textdownpad:		    0
+
+! Vertical distance between adjacent items
+*Roster.linepad:		    2
+
+! Foregrounds of JID label
+! (stalkerforeground is for contacts with pending subscription)
+*Roster.stalkerforeground:	    #663333
+
+! Other colors are selfexplanatory
+*Roster.unavailableforeground:	    #515151
+*Roster.dndforeground:		    #515129
+*Roster.xaforeground:		    #0b3760
+*Roster.awayforeground:		    #0b3760
+*Roster.availableforeground:	    dodgerblue4
+*Roster.chatforeground:		    dodgerblue4
+
+! Colors in chat and groupchat windows
+*Chat*Text*Label.background:		    #e5e5f7
+
+! Color of other people nicknames
+*Chat.theyforeground:		    firebrick4
+
+! Color of my nickname
+*Chat.meforeground:		    dodgerblue4
+
+! Colors of server messages
+*Chat.serverlabelforeground:	    seagreen
+*Chat.serverforeground:		    #4b3a70
+
+! Color of info & error messages
+*Chat.infoforeground:		    dodgerblue4
+*Chat.errforeground:		    firebrick4
+
+! Color of inactive urls in text
+*urlforeground:		    dodgerblue4
+
+! Color of active urls in text
+*urlactiveforeground:	    dodgerblue3
+
+! Colors of erroneous words (when ispell module is using)
+*Chat.errorColor:		    firebrick4
+*Chat.comboColor:		    dodgerblue4
+
+! Colors of tab labels (when in tabbed mode)
+! Usual color
+*NoteBook.alertColor0: black
+
+! Color when server message is arrived
+*NoteBook.alertColor1: mediumpurple4
+
+! Color when message is arrived
+*NoteBook.alertColor2: dodgerblue4
+
+! Color when personally addressed message is arrived
+*NoteBook.alertColor3: firebrick4
+
+! Colors for browser and discovery service windows
+*JBrowser.fill:			    #000000
+*JBrowser.activefill:		    #000000
+*JBrowser.border:		    #e5e5f7
+*JBrowser.nscolor:		    #666666
+*JBrowser.nsactivecolor:	    #666666
+
+*JDisco.fill:			    #000000
+*JDisco.activefill:		    #000000
+*JDisco.border:			    #e5e5f7
+*JDisco.featurecolor:		    #666666
+*JDisco.identitycolor:		    DarkGreen
+*JDisco.optioncolor:		    DarkViolet
+*Tree*background:		    #e5e5f7
+*linesfill:			    #000000
+*crossfill:			    #000000
+
+! Tooltip options
+*Balloon.background:		    #c2c2e3
+*Balloon.foreground:		    #000000
+*Balloon*padX:			    0
+*Balloon*padY:			    0
+*DynamicHelp.background:	    #c2c2e3
+*DynamicHelp.foreground:	    #000000
+
+
+*Listbox.background:		    #e5e5f7
+*Listbox.foreground:		    #000000
+*Listbox.borderWidth:		    1
+
+*Text.background:		    #e5e5f7
+*Text.foreground:		    #000000
+*Text.borderWidth:		    1
+
+*Entry.background:		    #e5e5f7
+*Entry.foreground:		    #000000
+*Entry.borderWidth:		    1
+
+*NoteBook*Entry.background:	    #e5e5f7
+*NoteBook*Entry.readonlyBackground: #d3d3dd
+*NoteBook*Entry.disabledBackground: #d3d3dd
+*NoteBook*Entry.foreground:	    #000000
+
+*Menu.activeBorderWidth:	    1
+*Menu.borderWidth:		    1
+*Menubutton.borderWidth:	    1
+
+*ButtonBox*borderWidth:		    0
+*ButtonBox*activeBorderWidth:	    0
+
+*Button.borderWidth:		    1
+
+*Customize.varforeground:	    dodgerblue4
+

Copied: trunk/tkabber/examples/xrdb/light.xrdb (from rev 706, trunk/tkabber/examples/light.xrdb)
===================================================================
--- trunk/tkabber/examples/xrdb/light.xrdb	                        (rev 0)
+++ trunk/tkabber/examples/xrdb/light.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,239 @@
+! Main window geometry
+Tkabber.geometry:		    788x550-70+100
+!Tkabber.geometry:		    180x400-70+100
+
+! Chat window geometry (in no tabs mode)
+*Chat.geometry:			    500x500
+
+! Browser and Headlines window geometry (in no tabs mode)
+*JBrowser.geometry:		    500x500
+
+! Roster width (tabbed interface only)
+Tkabber.mainRosterWidth:	    120
+
+! Roster width in groupchat windows
+Tkabber.chatRosterWidth:	    90
+
+! Scrollbar bed color
+*troughColor:			    #e3e3e3
+
+*background:			    #f0f0f0
+*foreground:			    #000000
+*disabledBackground:		    #f0f0f0
+*disabledForeground:		    #999999
+*errorForeground:		    firebrick4
+
+! Colors, which are used when mouse is over the item
+*activeBackground:		    #c7e1ff
+*activeForeground:		    #0000d1
+
+! Colors and border width selected item
+*selectBackground:		    #e8f3ff
+*selectForeground:		    #0000d1
+*selectBorderWidth:		    0
+
+! Color for checkboxes
+*selectColor:			    #6b99ff
+
+! Color of traversal highlight rectangle
+*highlightBackground:		    #f0f0f0
+*highlightColor:		    #6b99ff
+
+! Color of insertion cursor
+*insertBackground:		    #000000
+
+! Font for drawing text (except cases where $font is used)
+*font:				    -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
+
+! Currently there is only progressbar (at the splash screen)
+*ProgressBar.foreground:	    #6b99ff
+
+! Flatten ComboBox and ArrowButton
+*Spinbox.borderWidth:		    1
+*Spinbox.background:		    #f8f8f8
+*SpinBox.borderWidth:		    1
+*SpinBox*Entry*highlightBackground: #f8f8f8
+*ComboBox.borderWidth:		    1
+*ArrowButton.borderWidth:	    0
+*ArrowButton.highlightThickness:    0
+
+! Colors for multicolumn listboxes (as in search result window)
+*Mclistbox.background:		    #f0f0f0
+*Mclistbox.labelActiveBackground:   #c7e1ff
+*Mclistbox.labelBackground:	    #e1e1e1
+*Mclistbox.labelForeground:	    #000000
+*Mclistbox.labelActiveForeground:   #0000d1
+
+*Button.background:		    #e1e1e1
+*Menubutton.background:		    #e1e1e1
+*Menu.activeBackground:		    #c7e1ff
+*Chat*Button.background:	    #f0f0f0
+*Chat*Menubutton.background:	    #f0f0f0
+*Message*Menubutton.background:	    #f0f0f0
+*bbox.Button.background:	    #e1e1e1
+*mainframe.topf.tb0.bbox.Button.background: #f0f0f0
+*bottom.buttons1.Button.background: #f0f0f0
+
+! Type of subitem in roster (1 - display number of resources,
+! 2 - display arrow, 3 - display both, 0 - display nothing
+*Roster.subitemtype:		    3
+
+! Roster background color
+*Roster.cbackground:		    #f8f8f8
+
+! Inactive JID background color
+*Roster.jidfill:		    #f8f8f8
+
+! Active JID background color
+*Roster.jidhlfill:		    #c7e1ff
+
+! Color of border around JID
+*Roster.jidborder:		    #f8f8f8
+
+! Inctive group background color
+*Roster.groupfill:		    #f0f0f0
+
+! Inactive closed group background color
+*Roster.groupcfill:		    #f0f0f0
+
+! Active group background color
+*Roster.grouphlfill:		    #c7e1ff
+
+! Color of border around group
+*Roster.groupborder:		    #f0f0f0
+
+! Indent of group names
+*Roster.groupindent:		    21
+
+! Indent of JIDs
+*Roster.jidindent:		    42
+
+! Indent of second order JIDs
+! (resources for those who is logged in multiple times)
+*Roster.subjidindent:		    62
+
+! Indent of group icons (closed or open arrow icon)
+*Roster.groupiconindent:	    2
+
+! Indent of group icons when subitemtype is 2 or 3
+*Roster.subgroupiconindent:	    2
+
+! Indent of regular JID icons (status icon)
+*Roster.iconindent:		    21
+
+! Indent of second order JID icons
+*Roster.subiconindent:		    42
+
+! Additional amount of text height
+*Roster.textuppad:		    0
+*Roster.textdownpad:		    0
+
+! Vertical distance between adjacent items
+*Roster.linepad:		    2
+
+! Foregrounds of JID label
+! (stalkerforeground is for contacts with pending subscription)
+*Roster.stalkerforeground:	    #663333
+
+! Other colors are selfexplanatory
+*Roster.unavailableforeground:	    #515151
+*Roster.dndforeground:		    #515129
+*Roster.xaforeground:		    #0b3760
+*Roster.awayforeground:		    #0b3760
+*Roster.availableforeground:	    dodgerblue4
+*Roster.chatforeground:		    dodgerblue4
+
+! Colors in chat and groupchat windows
+*Chat*Text*Label.background:		    #f8f8f8
+
+! Color of other people nicknames
+*Chat.theyforeground:		    firebrick4
+
+! Color of my nickname
+*Chat.meforeground:		    dodgerblue4
+
+! Colors of server messages
+*Chat.serverlabelforeground:	    seagreen
+*Chat.serverforeground:		    #4b3a70
+
+! Color of info & error messages
+*Chat.infoforeground:		    dodgerblue4
+*Chat.errforeground:		    firebrick4
+
+! Color of inactive urls in text
+*urlforeground:		    dodgerblue4
+
+! Color of active urls in text
+*urlactiveforeground:	    dodgerblue3
+
+! Colors of erroneous words (when ispell module is using)
+*Chat.errorColor:		    firebrick4
+*Chat.comboColor:		    dodgerblue4
+
+! Colors of tab labels (when in tabbed mode)
+! Usual color
+*NoteBook.alertColor0: black
+
+! Color when server message is arrived
+*NoteBook.alertColor1: mediumpurple4
+
+! Color when message is arrived
+*NoteBook.alertColor2: dodgerblue4
+
+! Color when personally addressed message is arrived
+*NoteBook.alertColor3: firebrick4
+
+! Colors for browser and discovery service windows
+*JBrowser.fill:			    #000000
+*JBrowser.activefill:		    #000000
+*JBrowser.border:		    #f8f8f8
+*JBrowser.nscolor:		    #2f6099
+*JBrowser.nsactivecolor:	    #2f6099
+
+*JDisco.fill:			    #000000
+*JDisco.activefill:		    #000000
+*JDisco.border:			    #f8f8f8
+*JDisco.featurecolor:		    #2f6099
+*JDisco.identitycolor:		    DarkGreen
+*JDisco.optioncolor:		    DarkViolet
+*Tree*background:		    #f8f8f8
+*linesfill:			    #000000
+*crossfill:			    #000000
+
+*Customize.varforeground:	    dodgerblue4
+
+! Tooltip options
+*Balloon.background:		    #fffae6
+*Balloon.foreground:		    #000000
+*Balloon*padX:			    0
+*Balloon*padY:			    0
+*DynamicHelp.background:	    #fffae6
+*DynamicHelp.foreground:	    #000000
+
+
+*Listbox.background:		    #f8f8f8
+*Listbox.foreground:		    #000000
+*Listbox.borderWidth:		    1
+
+*Text.background:		    #f8f8f8
+*Text.foreground:		    #000000
+*Text.borderWidth:		    1
+
+*Entry.background:		    #f8f8f8
+*Entry.foreground:		    #000000
+*Entry.borderWidth:		    1
+
+*NoteBook*Entry.background:	    #f8f8f8
+*NoteBook*Entry.readonlyBackground: #f0f0f0
+*NoteBook*Entry.disabledBackground: #f0f0f0
+*NoteBook*Entry.foreground:	    #000000
+
+*Menu.activeBorderWidth:	    1
+*Menu.borderWidth:		    1
+*Menubutton.borderWidth:	    1
+
+*ButtonBox*borderWidth:		    0
+*ButtonBox*activeBorderWidth:	    0
+
+*Button.borderWidth:		    1
+

Added: trunk/tkabber/examples/xrdb/lighthouse.xrdb
===================================================================
--- trunk/tkabber/examples/xrdb/lighthouse.xrdb	                        (rev 0)
+++ trunk/tkabber/examples/xrdb/lighthouse.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,242 @@
+! Main window geometry
+Tkabber.geometry:		    800x600-70+100
+!Tkabber.geometry:		    236x879-70+0
+
+! Chat window geometry (in no tabs mode)
+*Chat.geometry:			    500x500
+
+! Browser and Headlines window geometry (in no tabs mode)
+*JBrowser.geometry:		    500x500
+
+! Roster width (tabbed interface only)
+Tkabber.mainRosterWidth:	    110
+
+! Roster width in groupchat windows
+Tkabber.chatRosterWidth:	    105
+
+! Scrollbar bed color
+*troughColor:			    #ddddd0
+
+*background:			    #eeeee0
+*foreground:			    #000000
+*disabledForeground:		    #747474
+*disabledBackground:		    #d6d6d6
+
+! Colors, which are used when mouse is over the item
+*activeBackground:		    #fffff0
+*activeForeground:		    #000000
+
+! Colors and border width selected item
+*selectBackground:		    #5f7ca8
+*selectForeground:		    #f5f5f5
+*selectBorderWidth:		    0
+
+! Color for checkboxes
+*selectColor:			    #5f7ca8
+
+! Color of traversal highlight rectangle
+*highlightBackground:		    #eeeee0
+*highlightColor:		    #000000
+
+! Color of insertion cursor
+*insertBackground:		    #000000
+
+! Font for drawing text (except cases where $font is used)
+!*font:	   -gnu-unifont-*-*-*-*-*-*-*-*-*-*-iso10646-1
+*font:	   -*-verdana-medium-r-normal-*-12-*-*-*-*-*-iso10646-1
+
+! Currently there is only progressbar (at the splash screen)
+*ProgressBar.foreground:	    #334080
+
+! Flatten Spinbox, ComboBox and ArrowButton
+*Spinbox.borderWidth:		    1
+*Spinbox.background:		    #f5f5f5
+*SpinBox.borderWidth:		    1
+*SpinBox*Entry*highlightBackground: #ddddd0
+*ComboBox.borderWidth:		    1
+*ArrowButton.borderWidth:	    0
+*ArrowButton.highlightThickness:    0
+
+! Colors for multicolumn listboxes (as in search result window)
+*Mclistbox.background:		    #f5f5f5
+*Mclistbox.labelActiveBackground:   #fffff0
+*Mclistbox.labelBackground:	    #ddddd0
+
+
+! Type of subitem in roster (1 - display number of resources,
+! 2 - display arrow, 3 - display both, 0 - display nothing
+*Roster.subitemtype:		    3
+
+! Roster background color
+*Roster.cbackground:		    #f5f5f5
+
+! JID background color
+*Roster.jidfill:		    #f5f5f5
+
+! Active JID background color
+*Roster.jidhlfill:		    #ddddd0
+
+! Color of border around JID
+*Roster.jidborder:		    #f5f5f5
+
+! group background color
+*Roster.groupfill:		    #ccccc0
+
+! closed group background color
+*Roster.groupcfill:		    #e9e9e9
+
+! Active group background color
+*Roster.grouphlfill:		    #bbbbb0
+
+! Color of border around group
+*Roster.groupborder:		    #eeeee0
+
+! Indent of group names
+*Roster.groupindent:		    21
+
+! Indent of JIDs
+*Roster.jidindent:		    42
+
+! Indent of second order JIDs
+! (resources for those who is logged in multiple times)
+*Roster.subjidindent:		    62
+
+! Indent of group icons (closed or open arrow icon)
+*Roster.groupiconindent:	    2
+
+! Indent of group icons when subitemtype is 2 or 3
+*Roster.subgroupiconindent:	    2
+
+! Indent of regular JID icons (status icon)
+*Roster.iconindent:		    21
+
+! Indent of second order JID icons
+*Roster.subiconindent:		    42
+
+! Additional amount of text height
+*Roster.textuppad:		    0
+*Roster.textdownpad:		    0
+
+! Vertical distance between adjacent items
+*Roster.linepad:		    2
+
+! Foregrounds of JID label
+! (stalkerforeground is for contacts with pending subscription)
+*Roster.stalkerforeground:	    #663333
+
+! Other colors are selfexplanatory
+*Roster.unavailableforeground:	    #515151
+*Roster.dndforeground:		    #515129
+*Roster.xaforeground:		    #0b3760
+*Roster.awayforeground:		    #0b3760
+*Roster.availableforeground:	    dodgerblue4
+*Roster.chatforeground:		    dodgerblue4
+
+! Colors in chat and groupchat windows
+*Chat*Text.background:		    #f5f5f5
+
+! Color of other people nicknames
+*Chat.theyforeground:		    firebrick4
+
+! Color of my nickname
+*Chat.meforeground:		    dodgerblue4
+
+! Colors of server messages
+*Chat.serverlabelforeground:	    seagreen
+*Chat.serverforeground:		    #4b3a70
+
+! Color of error messages
+*Chat.errforeground:		    firebrick
+
+! Color of inactive urls in text
+*urlforeground:			    dodgerblue4
+
+! Color of active urls in text
+*urlactiveforeground:		    dodgerblue3
+
+! Colors of erroneous words (when ispell module is using)
+*Chat.errorColor:		    firebrick4
+*Chat.comboColor:		    dodgerblue4
+
+! Colors of tab labels (when in tabbed mode)
+! Usual color
+*NoteBook.alertColor0: black
+
+! Color when server message is arrived
+*NoteBook.alertColor1: mediumpurple4
+
+! Color when message is arrived
+*NoteBook.alertColor2: dodgerblue4
+
+! Color when personally addressed message is arrived
+*NoteBook.alertColor3: firebrick4
+
+! Colors for browser and discovery service windows
+*JBrowser.fill:			    #000000
+*JBrowser.activefill:		    #f5f5f5
+*JBrowser.border:		    #eeeee0
+*JBrowser.nscolor:		    #747474
+*JBrowser.nsactivecolor:	    #747474
+
+*JDisco.fill:			    #000000
+*JDisco.activefill:		    #f5f5f5
+*JDisco.border:			    #eeeee0
+*JDisco.featurecolor:		    #747474
+*JDisco.identitycolor:		    DarkGreen
+*JDisco.optioncolor:		    DarkViolet
+*Tree*background:		    #f5f5f5
+
+! Tooltip options
+*Balloon.background:		    #ffeeaa
+*Balloon.foreground:		    #000000
+*Balloon*padX:			    0
+*Balloon*padY:			    0
+*DynamicHelp.background:	    #ffeeaa
+*DynamicHelp.foreground:	    #000000
+
+
+*Listbox.background:		    #f5f5f5
+*Listbox.foreground:		    #000000
+*Listbox.borderWidth:		    1
+
+*Text.background:		    #f5f5f5
+*Text.foreground:		    #000000
+*Text.borderWidth:		    1
+
+*Entry.background:		    #f5f5f5
+*Entry.foreground:		    #000000
+*Entry.borderWidth:		    1
+
+
+*NoteBook*Entry.background:	    #f5f5f5
+*NoteBook*Entry.disabledBackground: #e9e9e9
+*NoteBook*Entry.readonlyBackground: #eeeee0
+*NoteBook*Entry.foreground:	    #000000
+
+*Button.borderWidth:		    1
+*Button.background:		    #ddddd0
+*Button.activeBackground:	    #fffff0
+
+! Main toolbar buttons
+*mainframe.topf.tb0.bbox.Button.background: #eeeee0
+*mainframe.topf.tb1.bbox.Button.background: #eeeee0
+*mainframe.topf.tb2.bbox.Button.background: #eeeee0
+*mainframe.topf.tb3.bbox.Button.background: #eeeee0
+*mainframe.topf.tb4.bbox.Button.background: #eeeee0
+*mainframe.topf.tb5.bbox.Button.background: #eeeee0
+
+! Sign/encrypt message buttons      
+*bottom.buttons1.Button.background: #eeeee0
+
+*Chat*Button.background:	    #eeeee0
+
+*Menu.activeBorderWidth:	    1
+*Menu.borderWidth:		    1
+*Menubutton.borderWidth:	    1
+*Menu.activeBackground:		    #5f7ca8
+*Menu.activeForeground:		    #f5f5f5
+*Menubutton.activeBackground:	    #fffff0
+*Menubutton.activeForeground:	    #000000
+
+*Buttonbox*borderWidth:		    0
+*Buttonbox*activeBorderWidth:	    0

Copied: trunk/tkabber/examples/xrdb/ocean-deep.xrdb (from rev 706, trunk/tkabber/examples/ocean-deep.xrdb)
===================================================================
--- trunk/tkabber/examples/xrdb/ocean-deep.xrdb	                        (rev 0)
+++ trunk/tkabber/examples/xrdb/ocean-deep.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,365 @@
+! Ocean Deep theme for Tkabber 
+! (c) 2004 Badlop
+! 2004-06-26
+! Based on Ocean Deep colour theme for Vim
+
+! --------------------------------------------------------------- GEOMETRY ----
+
+! Main window geometry
+!   [horizontal size]
+!   x[vertical size]
+!   -[separation with right screen edge]
+!   +[separation with upper screen edge]
+Tkabber.geometry:                 700x520-30+170
+
+! Roster width (tabbed interface only)
+Tkabber.mainRosterWidth:          150
+
+! Roster width in groupchat windows
+Tkabber.chatRosterWidth:          80
+
+! Chat window geometry (in no tabs mode)
+*Chat.geometry:                   300x500-70+350
+*Chat.groupchatgeometry:          600x500
+*Chat.chatgeometry:               500x500
+
+! Other windows geometry (in no tabs mode)
+*JBrowser.geometry:               350x350
+*JDisco.geometry:                 500x500
+*Customize.geometry:              600x500
+*RawXML.geometry:                 500x500
+*Messages.geometry:               600x500
+
+! ------------------------------------------------------------ MAIN WINDOW ----
+
+! Font for drawing text (except cases where $font is used)
+!*font:           -monotype-arial-medium-r-normal-*-17-*-*-*-*-*-koi8-r
+
+! Main font color
+*foreground:                      #d5faff
+
+! Color of insertion cursor
+*insertBackground:                #ffbbbb
+
+! Background of all windows and tabs
+*background:                      #103040
+
+! Menu colors (main Tkabber menus...)
+*Menu.background:                 #01476a
+*Menu.activeBackground:           #01656a
+
+! ---------------------------------------------------------------- WIDGETS ----
+
+! ------------------------------------------- PROGRESS BAR ----
+
+! Scrollbar bed color
+*troughColor:                     #0F4866
+*Scrollbar.width:                 8
+
+! Currently there is only progressbar (at the splash screen)
+*ProgressBar.foreground:          #0F4866
+
+! ------------------------------------------- RADIO BUTTON ----
+
+! Colors and border width selected item (in radialbutton)
+*selectBackground:                #005a56
+*selectForeground:                #fffeff
+*selectBorderWidth:               0
+
+*errorForeground:		  #ff7f50
+
+! ---------------------------------------------- CHECK BOX ----
+
+! Checkbox background
+*selectColor:                     #0c232a
+
+! ----------------------------------------------- TEXT BOX ----
+
+! Disabled Text boxes 
+*disabledBackground:              #103040
+*disabledForeground:              #85aaaf
+
+! Textbox entry (like user: in Login window)
+*Entry.background:                #0c232e
+*Entry.foreground:                #fffefe
+*Entry.disabledBackground:        #103040
+*Entry.readonlyBackground:        #103040
+*Entry.borderWidth:               1
+
+! Textbox like in VCard editor
+*NoteBook*Entry.background:       #0c232e
+*NoteBook*Entry.disabledBackground: #103040
+*NoteBook*Entry.foreground:       #fffffe
+
+! ----------------------------------------------- LIST BOX ----
+
+!* Colors for multicolumn listboxes (as in search result window)
+*Mclistbox.background:            #0c232e
+*Mclistbox.labelActiveBackground: #1d5875
+*Mclistbox.labelBackground:       #0F4866
+*Mclistbox.labelForeground:       #d5faff
+*Mclistbox.labelActiveForeground: #d5faff
+
+! ---------------------------------------------- TOOL TIPS ----
+
+! Tooltip options
+*Balloon.background:              #0c232e
+*Balloon.foreground:              #fffbfb
+*Balloon*padX:                    1
+*Balloon*padY:                    0
+*DynamicHelp.background:          #0c232e
+*DynamicHelp.foreground:          #ffffff
+*Baloon.style:                    delay
+
+! Listbox widget (like in Customize->Chat->vcard-items)
+*Listbox.background:              #0c232e
+*Listbox.foreground:              #ffffff
+*Listbox.borderWidth:             1
+
+! ------------------------------------------------ BUTTONS ----
+
+*Button.borderWidth:              1
+
+*Menu.activeBorderWidth:          1
+*Menu.borderWidth:                1
+*Menubutton.borderWidth:          1
+
+*Buttonbox*borderWidth:           0
+*Buttonbox*activeBorderWidth:     0
+
+*Search.itemBackground:           #ffffff
+
+!* Flatten ComboBox and ArrowButton +++
+*Spinbox.borderWidth:             1
+*Spinbox.background:              #0c232e
+*SpinBox.borderWidth:             1
+*SpinBox*Entry*highlightBackground: #0c232e
+*ComboBox.borderWidth:            1
+*ArrowButton*borderWidth:         1
+*ArrowButton.borderWidth:         0
+*ArrowButton.highlightThickness:  0
+
+! Button and Menubutton colors
+! Generic button 
+*Button.background:               #0F4866
+
+! Button background when mouse is over it
+*Button.activeBackground:         #1d5875
+
+! Generic menubutton (like in Login window->Profiles)
+*Menubutton.background:           #0F4864
+*Menubutton.activeBackground:     #1d5875
+
+! Buttons in chat and message windows
+*Chat*Button.background:          #103040
+! Button with JID in Chat window
+*Chat*Menubutton.background:      #0f4864
+*Message*Menubutton.background:   #0f4863
+
+! Common button background
+*bbox.Button.background:          #0f4865
+
+! ----------------------------------------------------------------- TOOLBAR ----
+
+! Main toolbar buttons
+*mainframe.topf.tb0.bbox.Button.background: #103040
+
+! Sign/encrypt message buttons
+*bottom.buttons1.Button.background: #103040
+
+! ----------------------------------------------------------------- ROSTER ----
+
+! Type of subitem in roster (1 - display number of resources,
+! 2 - display arrow, 3 - display both, 0 - display nothing
+*Roster.subitemtype:              3
+
+! --------------------------------------------------- JIDS ----
+
+! Roster background color
+*Roster.cbackground:              #0c232e
+
+! Inactive JID background color
+*Roster.jidfill:                  #0c232b
+
+! Active JID background color
+*Roster.jidhlfill:                #004567
+
+! Color of border around JID
+*Roster.jidborder:                #0c232c
+
+! ------------------------------------------------- GROUPS ----
+
+! Inactive group background color
+*Roster.groupfill:                #18515F
+
+! Inactive closed group background color
+*Roster.groupcfill:               #1b485f
+
+! Active group background color
+*Roster.grouphlfill:              #03557d
+
+! Color of border around group
+*Roster.groupborder:              #103041
+
+! ---------------------------------------------- POSITIONS ----
+
+! Indent of group names
+*Roster.groupindent:              21
+
+! Indent of JIDs
+*Roster.jidindent:                42
+
+! Indent of second order JIDs
+! (resources for those who is logged in multiple times)
+*Roster.subjidindent:             62
+
+! Indent of group icons (closed or open arrow icon)
+*Roster.groupiconindent:          2
+
+! Indent of group icons when subitemtype is 2 or 3
+*Roster.subgroupiconindent:       2
+
+! Indent of regular JID icons (status icon)
+*Roster.iconindent:               21
+
+! Indent of second order JID icons
+*Roster.subiconindent:            42
+
+! Additional amount of text height
+*Roster.textuppad:                0
+*Roster.textdownpad:              0
+
+! Vertical distance between adjacent items
+*Roster.linepad:                  2
+
+! ----------------------------------------------- PRESENCE ----
+
+! Foregrounds of JID label
+! (stalkerforeground is for contacts with pending subscription)
+*Roster.stalkerforeground:        #d2b48c
+
+! Other colors are selfexplanatory
+*Roster.unavailableforeground:    #b8b8b8
+*Roster.dndforeground:            #ffc1c1
+*Roster.xaforeground:             #c1cdcd
+*Roster.awayforeground:           #c1cdcd
+*Roster.availableforeground:      #ffffff
+*Roster.chatforeground:           #ffffff
+
+! ------------------------------------------------------------------- TABS ----
+
+! Colors used when mouse is over the item (a tab header)
+*activeBackground:                #1d5875
+*activeForeground:                #d7f2ff
+
+! Colors of tab labels font (when in tabbed mode)
+*NoteBook*Entry.readonlyBackground: #1e3837
+! Usual color
+*NoteBook.alertColor0:            #ffffff
+
+! Color when server message is arrived
+*NoteBook.alertColor1:            #ff69b4
+
+! Color when message is arrived
+*NoteBook.alertColor2:            #add8e6
+
+! Color when personally addressed message is arrived
+*NoteBook.alertColor3:            #ff7f50
+
+! ------------------------------------------------------------------- CHAT ----
+
+! Text in chats, messages
+*Text.background:                 #0c232e
+*Text.foreground:                 #fbfffe
+*Text.borderWidth:                1
+
+! Colors in chat and groupchat windows
+*Chat*Text*Label.background:      #66685e
+
+! Color of other people nicknames
+*Chat.theyforeground:             #ff7f50
+
+! Color of my nickname
+*Chat.meforeground:               #add8e6
+
+! Colors of server messages (--- foo leave the room)
+*Chat.serverlabelforeground:      #caff70
+*Chat.serverforeground:           #ff69b4
+
+! Color of info & error messages
+*Chat.infoforeground:             #add8e6
+*Chat.errforeground:              #ff6a6a
+
+! Color of inactive urls in text
+*urlforeground:                   #add8e6
+
+! Color of active urls in text
+*urlactiveforeground:             #add8e6
+
+! Colors of erroneous words (when ispell module is using)
+*Chat.errorColor:                 #ff7f50
+*Chat.comboColor:                 #add8e6
+
+*Chat.inputheight:                3
+
+! -------------------------------------------------------------- DISCOVERY ----
+
+! Colors for browser and discovery service windows
+
+! Window background
+*Tree*background:                 #0c232e
+! lines in the tree
+*linesfill:                       #d5fafa
+! [+] and [-] tree symbols
+*crossfill:                       #d5fafa
+
+! ---------------------------------------------- J BROWSER ----
+
+! Jabber Browser
+! Nodes names font color ('Public Conferencing'...)
+*JBrowser.fill:                   #ffffff
+! Nodes atributes font color ('Search', 'Register'...)
+*JBrowser.nscolor:                #b8b8b8
+*JBrowser.levelindent:            24
+*JBrowser.indent:                 3
+*JBrowser.nsindent:               2
+*JBrowser.linepad:                2
+*JBrowser.toppad:                 1
+*JBrowser.bottompad:              1
+*JBrowser.icontextpad:            2
+
+! -------------------------------------------- J DISCOVERY ----
+
+! Jabber Discovery
+! Subnodes
+*JDisco.fill:                     #ffffff
+! Features available
+*JDisco.featurecolor:             #b8b8b8
+! Identity name
+*JDisco.identitycolor:            #b4eeb4
+*JDisco.optioncolor:              #ff69b4
+
+! ------------------------------------------------------------------ MORE ----
+
+! ----------------------------------------------------------------------  ----
+
+*Customize.varforeground:         #D5FAFA
+*Customize.groupnameforeground:   #D5FAFA
+
+*RawXML.inforeground:             #e0c3c3
+*RawXML.outforeground:            #a3a3ff
+*RawXML.intagforeground:          #e0c3c3
+*RawXML.inattrforeground:         #e0c3c3
+*RawXML.invalueforeground:        #d1aef2
+*RawXML.incdataforeground:        #b2dcff
+*RawXML.outtagforeground:         #efb3ef
+*RawXML.outattrforeground:        #efb3ef
+*RawXML.outvalueforeground:       #c9ffc9
+*RawXML.outcdataforeground:       #b6b6f9
+*RawXML.inputheight:              4
+
+!* Color of traversal highlight rectangle
+*highlightBackground:             #103040
+*highlightColor:                  #d5faff
+
+! ------------------------------------------------------------------- ---- ----

Copied: trunk/tkabber/examples/xrdb/teopetuk.xrdb (from rev 706, trunk/tkabber/examples/teopetuk.xrdb)
===================================================================
--- trunk/tkabber/examples/xrdb/teopetuk.xrdb	                        (rev 0)
+++ trunk/tkabber/examples/xrdb/teopetuk.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,236 @@
+! Main window geometry
+Tkabber.geometry:		    800x600-70+100
+!Tkabber.geometry:		    180x400-70+100
+
+! Chat window geometry (in no tabs mode)
+*Chat.chatgeometry:		    550x500
+*Chat.groupchatgeometry:	    600x500
+
+! Browser and Headlines window geometry (in no tabs mode)
+*JBrowser.geometry:		    550x500
+
+! Roster width (tabbed interface only)
+Tkabber.mainRosterWidth:	    110
+
+! Roster width in groupchat windows
+Tkabber.chatRosterWidth:	    105
+
+! Scrollbar bed color
+*troughColor:			    #cccccc
+
+*background:			    #dddddd
+*foreground:			    #000000
+*disabledForeground:		    #888888
+*errorForeground:		    firebrick
+
+! Colors, which are used when mouse is over the item
+*activeBackground:		    #ebebeb
+*activeForeground:		    #000000
+
+! Colors and border width selected item
+!*selectBackground:		    #334080
+*selectBackground:		    #d1eeee
+*selectForeground:		    #000000
+*selectBorderWidth:		    0
+
+! Color for highlighting found items
+*highlightSearchBackground:	    #c1eec1
+
+! Color for checkboxes
+*selectColor:			    #999999
+
+! Color of traversal highlight rectangle
+*highlightBackground:		    #dddddd
+*highlightColor:		    #000000
+
+! Color of insertion cursor
+*insertBackground:		    #000000
+
+! Font for drawing text (except cases where $font is used)
+!*font:				    -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
+
+! Currently there is only progressbar (at the splash screen)
+*ProgressBar.foreground:	    #334080
+*ProgressBar*borderWidth:	    1
+
+! Flatten Spinbox, ComboBox and ArrowButton
+*Spinbox.borderWidth:		    1
+*Spinbox.background:		    #eeeeee
+*Spinbox.disabledBackground:	    #dddddd
+*SpinBox.borderWidth:		    1
+*SpinBox*Entry*highlightBackground: #eeeeee
+*ComboBox.borderWidth:		    1
+*ArrowButton.borderWidth:	    0
+*ArrowButton.highlightThickness:    0
+
+! Colors for multicolumn listboxes (as in search result window)
+*Mclistbox.background:		    #eeeeee
+*Mclistbox.labelActiveBackground:   #ebebeb
+*Mclistbox.labelBackground:	    #dddddd
+
+
+! Type of subitem in roster (1 - display number of resources,
+! 2 - display arrow, 3 - display both, 0 - display nothing
+*Roster.subitemtype:		    3
+
+! Roster background color
+*Roster.cbackground:		    #eeeeee
+
+! Inactive JID background color
+*Roster.jidfill:		    #eeeeee
+
+! Active JID background color
+*Roster.jidhlfill:		    #d1eeee
+
+! Color of border around JID
+*Roster.jidborder:		    #eeeeee
+
+! Inctive group background color
+*Roster.groupfill:		    #dddddd
+
+! Inactive closed group background color
+*Roster.groupcfill:		    #dddddd
+
+! Active group background color
+*Roster.grouphlfill:		    #b4cdcd
+
+! Color of border around group
+*Roster.groupborder:		    #dddddd
+
+! Indent of group names
+*Roster.groupindent:		    21
+
+! Indent of JIDs
+*Roster.jidindent:		    42
+
+! Indent of second order JIDs
+! (resources for those who is logged in multiple times)
+*Roster.subjidindent:		    62
+
+! Indent of group icons (closed or open arrow icon)
+*Roster.groupiconindent:	    2
+
+! Indent of group icons when subitemtype is 2 or 3
+*Roster.subgroupiconindent:	    2
+
+! Indent of regular JID icons (status icon)
+*Roster.iconindent:		    21
+
+! Indent of second order JID icons
+*Roster.subiconindent:		    42
+
+! Additional amount of text height
+*Roster.textuppad:		    0
+*Roster.textdownpad:		    0
+
+! Vertical distance between adjacent items
+*Roster.linepad:		    2
+
+! Foregrounds of JID label
+! (stalkerforeground is for contacts with pending subscription)
+*Roster.stalkerforeground:	    #663333
+
+! Other colors are selfexplanatory
+*Roster.unavailableforeground:	    #515151
+*Roster.dndforeground:		    #515129
+*Roster.xaforeground:		    #0b3760
+*Roster.awayforeground:		    #0b3760
+*Roster.availableforeground:	    dodgerblue4
+*Roster.chatforeground:		    dodgerblue4
+
+! Colors in chat and groupchat windows
+*Chat*Text*Label.background:		    #eeeeee
+
+! Color of other people nicknames
+!*Chat.theyforeground:		    firebrick4
+*Chat.theyforeground:		    dodgerblue4
+
+! Color of my nickname
+!*Chat.meforeground:		    dodgerblue4
+*Chat.meforeground:		    firebrick4
+
+! Colors of server messages
+*Chat.serverlabelforeground:	    DarkGreen
+*Chat.serverforeground:		    DarkGreen
+
+! Color of info & error messages
+*Chat.infoforeground:		    dodgerblue4
+*Chat.errforeground:		    firebrick
+
+! Color of inactive urls in text
+*urlforeground:			    dodgerblue4
+
+! Color of active urls in text
+*urlactiveforeground:		    dodgerblue3
+
+! Colors of erroneous words (when ispell module is using)
+*Chat.errorColor:		    firebrick4
+*Chat.comboColor:		    dodgerblue4
+
+! Colors of tab labels (when in tabbed mode)
+! Usual color
+*NoteBook.alertColor0:		    black
+
+! Color when server message is arrived
+*NoteBook.alertColor1:		    DarkGreen
+
+! Color when message is arrived
+*NoteBook.alertColor2:		    dodgerblue4
+
+! Color when personally addressed message is arrived
+*NoteBook.alertColor3:		    firebrick4
+
+! Colors for browser and discovery service windows
+*JBrowser.fill:			    #000000
+*JBrowser.activefill:		    #000000
+*JBrowser.border:		    #eeeeee
+*JBrowser.nscolor:		    #666666
+*JBrowser.nsactivecolor:	    #666666
+
+*JDisco.fill:			    #000000
+*JDisco.activefill:		    #000000
+*JDisco.border:			    #eeeeee
+*JDisco.featurecolor:		    #666666
+*JDisco.identitycolor:		    DarkGreen
+*JDisco.optioncolor:		    DarkViolet
+*Tree*background:		    #eeeeee
+*linesfill:			    #000000
+*crossfill:			    #000000
+
+*Customize.varforeground:	    dodgerblue4
+
+! Tooltip options
+*Balloon.background:		    #ffeeaa
+*Balloon.foreground:		    #000000
+*Balloon*padX:			    0
+*Balloon*padY:			    0
+*DynamicHelp.background:	    #ffeeaa
+*DynamicHelp.foreground:	    #000000
+
+*Listbox.background:		    #eeeeee
+*Listbox.foreground:		    #000000
+*Listbox.borderWidth:		    1
+
+*Text.background:		    #eeeeee
+*Text.foreground:		    #000000
+*Text.borderWidth:		    1
+
+*Entry.background:		    #eeeeee
+*Entry.foreground:		    #000000
+*Entry.borderWidth:		    1
+
+*NoteBook*Entry.background:	    #eeeeee
+*NoteBook*Entry.disabledBackground: #dddddd
+*NoteBook*Entry.readonlyBackground: #dddddd
+*NoteBook*Entry.foreground:	    #000000
+
+*Button.borderWidth:		    1
+
+*Menu.activeBorderWidth:	    1
+*Menu.borderWidth:		    1
+*Menubutton.borderWidth:	    1
+
+*Buttonbox*borderWidth:		    0
+*Buttonbox*activeBorderWidth:	    0
+
+*Scrollbar.width:		    8

Copied: trunk/tkabber/examples/xrdb/warm.xrdb (from rev 706, trunk/tkabber/examples/warm.xrdb)
===================================================================
--- trunk/tkabber/examples/xrdb/warm.xrdb	                        (rev 0)
+++ trunk/tkabber/examples/xrdb/warm.xrdb	2006-09-16 16:42:52 UTC (rev 716)
@@ -0,0 +1,260 @@
+! Main window geometry
+Tkabber.geometry:		    788x550-70+100
+!Tkabber.geometry:		    180x400-70+100
+
+! Chat window geometry (in no tabs mode)
+*Chat.groupchatgeometry:	    600x500
+*Chat.chatgeometry:		    500x500
+
+! Browser and Headlines window geometry (in no tabs mode)
+*JBrowser.geometry:		    500x500
+*JDisco.geometry:		    500x500
+
+! Roster width (tabbed interface only)
+Tkabber.mainRosterWidth:	    120
+
+! Roster width in groupchat windows
+Tkabber.chatRosterWidth:	    90
+
+! Scrollbar bed color
+*troughColor:			    #856b3b
+
+*background:			    #d0b073
+*foreground:			    #000000
+
+! Color of disabled items
+*disabledBackground:		    #d0b073
+*disabledForeground:		    #633333
+
+*errorForeground:		    firebrick
+
+! Colors, which are used when mouse is over the item
+*activeBackground:		    #996b3b
+*activeForeground:		    #000000
+
+! Colors and border width selected item
+*selectBackground:		    #b38047
+*selectForeground:		    #000000
+*selectBorderWidth:		    0
+
+! Color for checkboxes
+*selectColor:			    #fdc408
+
+! Color of traversal highlight rectangle
+*highlightBackground:		    #d0b073
+*highlightColor:		    #e00000
+
+! Color of insertion cursor
+*insertBackground:		    #000000
+
+! Font for drawing text (except cases where $font is used)
+*font:				    -monotype-arial-medium-r-normal-*-13-*-*-*-*-*-koi8-r
+
+! Currently there is only progressbar (at the splash screen)
+*ProgressBar.foreground:	    #996b3b
+
+! Flatten ComboBox and ArrowButton
+*Spinbox.borderWidth:		    1
+*Spinbox.background:		    #b38047
+*SpinBox.borderWidth:		    1
+*SpinBox*Entry*highlightBackground: #b38047
+*ComboBox.borderWidth:		    1
+*ArrowButton.borderWidth:	    0
+*ArrowButton.highlightThickness:    0
+
+! Colors for listboxes and multicolumn listboxes (as in search result window)
+*Listbox.background:		    #f0f0cc
+*Listbox.foreground:		    #000000
+*Listbox.borderWidth:		    1
+*Mclistbox.background:		    #f0f0cc
+*Mclistbox.labelActiveBackground:   #b38047
+*Mclistbox.labelBackground:	    #996b3b
+*Mclistbox.labelForeground:	    #000000
+*Mclistbox.labelActiveForeground:   #000000
+
+! Button and Menubutton colors
+! Generic button
+*Button.background:		    #996b3b
+*Button.activeBackground:	    #b38047
+
+! Generic menubutton
+*Menubutton.background:		    #996b3b
+*Menubutton.activeBackground:	    #b38047
+
+! Buttons in chat and message windows
+*Chat*Button.background:	    #d0b073
+*Chat*Menubutton.background:	    #d0b073
+*Message*Menubutton.background:	    #d0b073
+
+*bbox.Button.background:	    #996b3b
+
+! Menu colors
+*Menu.background:		    #996b3b
+*Menu.activeBackground:		    #d0b073
+
+! Main toolbar buttons
+*mainframe.topf.tb0.bbox.Button.background: #d0b073
+
+! Sign/encrypt message buttons
+*bottom.buttons1.Button.background: #d0b073
+
+
+! Type of subitem in roster (1 - display number of resources,
+! 2 - display arrow, 3 - display both, 0 - display nothing
+*Roster.subitemtype:		    3
+
+! Roster background color
+*Roster.cbackground:		    #f0f0cc
+
+! Inactive JID background color
+*Roster.jidfill:		    #f0f0cc
+
+! Active JID background color
+*Roster.jidhlfill:		    #b38047
+
+! Color of border around JID
+*Roster.jidborder:		    #f0f0cc
+
+! Inctive group background color
+*Roster.groupfill:		    #d0b073
+
+! Inactive closed group background color
+*Roster.groupcfill:		    #d0b073
+
+! Active group background color
+*Roster.grouphlfill:		    #b38047
+
+! Color of border around group
+*Roster.groupborder:		    #d0b073
+
+! Indent of group names
+*Roster.groupindent:		    21
+
+! Indent of JIDs
+*Roster.jidindent:		    42
+
+! Indent of second order JIDs
+! (resources for those who is logged in multiple times)
+*Roster.subjidindent:		    62
+
+! Indent of group icons (closed or open arrow icon)
+*Roster.groupiconindent:	    2
+
+! Indent of group icons when subitemtype is 2 or 3
+*Roster.subgroupiconindent:	    2
+
+! Indent of regular JID icons (status icon)
+*Roster.iconindent:		    21
+
+! Indent of second order JID icons
+*Roster.subiconindent:		    42
+
+! Additional amount of text height
+*Roster.textuppad:		    0
+*Roster.textdownpad:		    0
+
+! Vertical distance between adjacent items
+*Roster.linepad:		    2
+
+! Foregrounds of JID label
+! (stalkerforeground is for contacts with pending subscription)
+*Roster.stalkerforeground:	    #663333
+
+! Other colors are selfexplanatory
+*Roster.unavailableforeground:	    #515151
+*Roster.dndforeground:		    #515129
+*Roster.xaforeground:		    #0b3760
+*Roster.awayforeground:		    #0b3760
+*Roster.availableforeground:	    dodgerblue4
+*Roster.chatforeground:		    dodgerblue4
+
+! Colors in chat and groupchat windows
+*Chat*Text*Label.background:		    #f0f0cc
+
+! Color of other people nicknames
+*Chat.theyforeground:		    firebrick4
+
+! Color of my nickname
+*Chat.meforeground:		    dodgerblue4
+
+! Colors of server messages
+*Chat.serverlabelforeground:	    seagreen
+*Chat.serverforeground:		    #4b3a70
+
+! Color of info & error messages
+*Chat.infoforeground:		    dodgerblue4
+*Chat.errforeground:		    firebrick4
+
+! Color of inactive urls in text
+*urlforeground:		    dodgerblue4
+
+! Color of active urls in text
+*urlactiveforeground:	    dodgerblue3
+
+! Colors of erroneous words (when ispell module is using)
+*Chat.errorColor:		    firebrick
+*Chat.comboColor:		    dodgerblue4
+
+! Colors of tab labels (when in tabbed mode)
+! Usual color
+*NoteBook.alertColor0: black
+
+! Color when server message is arrived
+*NoteBook.alertColor1: mediumpurple4
+
+! Color when message is arrived
+*NoteBook.alertColor2: dodgerblue4
+
+! Color when personally addressed message is arrived
+*NoteBook.alertColor3: firebrick4
+
+! Colors for browser and discovery service windows
+*JBrowser.fill:			    #000000
+*JBrowser.activefill:		    #000000
+*JBrowser.border:		    #f0f0cc
+*JBrowser.nscolor:		    #966666
+*JBrowser.nsactivecolor:	    #966666
+
+*JDisco.fill:			    #000000
+*JDisco.activefill:		    #000000
+*JDisco.border:			    #f0f0cc
+*JDisco.featurecolor:		    #966666
+*JDisco.identitycolor:		    DarkGreen
+*JDisco.optioncolor:		    DarkViolet
+*Tree*background:		    #f0f0cc
+*linesfill:			    #000000
+*crossfill:			    #000000
+
+! Tooltip options
+*Balloon.background:		    #d0b073
+*Balloon.foreground:		    #000000
+*Balloon*padX:			    0
+*Balloon*padY:			    0
+*DynamicHelp.background:	    #d0b073
+*DynamicHelp.foreground:	    #000000
+
+
+*Text.background:		    #f0f0cc
+*Text.foreground:		    #000000
+*Text.borderWidth:		    1
+
+*Entry.background:		    #b38047
+*Entry.foreground:		    #000000
+*Entry.borderWidth:		    1
+
+*NoteBook*Entry.background:	    #b38047
+*NoteBook*Entry.readonlyBackground: #d0b073
+*NoteBook*Entry.disabledBackground: #d0b073
+*NoteBook*Entry.foreground:	    #000000
+
+*Menu.activeBorderWidth:	    1
+*Menu.borderWidth:		    1
+*Menubutton.borderWidth:	    1
+
+*ButtonBox*borderWidth:		    0
+*ButtonBox*activeBorderWidth:	    0
+
+*Button.borderWidth:		    1
+
+*Customize.varforeground:	    firebrick4
+



More information about the Tkabber-dev mailing list