Tkabber

Check-in [d32f5868fc]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Made the 'current' subcommand for a combobox a synonym for 'getvalue' ('current' is taken from ttk::combobox).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d32f5868fc318f15138db4a449c43def995ea65f
User & Date: sgolovan 2016-01-13 09:15:24
Context
2016-01-13
09:17
Implemented showing log messages for all JIDs that correspond to a single metacontact. This closes feature request [7619b16aec]. check-in: 4137497f9f user: sgolovan tags: trunk
09:15
Made the 'current' subcommand for a combobox a synonym for 'getvalue' ('current' is taken from ttk::combobox). check-in: d32f5868fc user: sgolovan tags: trunk
08:13
Fixed bug with names of temporary arrays clash. check-in: 0deb65402d user: sgolovan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.

1
2
3
4
5



6
7
8
9
10
11
12
2016-01-13  Sergei Golovan  <sgolovan@nes.ru>

	* plugins/chat/logger.tcl: Fixed bug with names of temporary arrays
	  clash.




2016-01-12  Sergei Golovan  <sgolovan@nes.ru>

	* plugins/chat/log_on_open.tcl, plugins/chat/logger.tcl: Read the
	  logged messages not only for the JID which chat window is being
	  opened, but also for all JIDs in a metacontact it belongs. This
	  option is disabled by default. Since the metacontacts info isn't
	  cached locally, this feature doesn't work for windows which open





>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2016-01-13  Sergei Golovan  <sgolovan@nes.ru>

	* plugins/chat/logger.tcl: Fixed bug with names of temporary arrays
	  clash.

	* tk/bwidget.tcl: Made the 'current' subcommand for a combobox a
	  synonym for 'getvalue' ('current' is taken from ttk::combobox).

2016-01-12  Sergei Golovan  <sgolovan@nes.ru>

	* plugins/chat/log_on_open.tcl, plugins/chat/logger.tcl: Read the
	  logged messages not only for the JID which chat window is being
	  opened, but also for all JIDs in a metacontact it belongs. This
	  option is disabled by default. Since the metacontacts info isn't
	  cached locally, this feature doesn't work for windows which open

Changes to tk/bwidget.tcl.

326
327
328
329
330
331
332



333
334
335
336
337
338
339
}

proc ComboBox::_proc {path cmd args} {
    switch -- $cmd {
        set {
            return [_set $path [lindex $args 0]]
        }



        default {
            return [$cmd $path {*}$args]
        }
    }
}

proc ComboBox::_set {path value} {







>
>
>







326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
}

proc ComboBox::_proc {path cmd args} {
    switch -- $cmd {
        set {
            return [_set $path [lindex $args 0]]
        }
        current {
            return [getvalue $path]
        }
        default {
            return [$cmd $path {*}$args]
        }
    }
}

proc ComboBox::_set {path value} {