Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Don't clean-up the checkbuttons variable before constructing the dialog. This helps to set some checkbuttons in advance by default. Fixed disabling the ecryption in a groupchat after enabling it there. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
a401166e107bcfeb93ccb858e489f6a8 |
User & Date: | sgolovan 2016-01-16 12:54:20 |
Context
2016-01-24
| ||
09:18 | Fixed sending the text status selected in the corresponding combobox. check-in: 7fef16eb59 user: sgolovan tags: trunk | |
2016-01-16
| ||
12:54 | Don't clean-up the checkbuttons variable before constructing the dialog. This helps to set some checkbuttons in advance by default. Fixed disabling the ecryption in a groupchat after enabling it there. check-in: a401166e10 user: sgolovan tags: trunk | |
2016-01-15
| ||
17:44 | Fixed typo. check-in: 3cc5133571 user: sgolovan tags: trunk | |
Changes
Changes to ChangeLog.
1 2 3 4 5 6 7 | 2016-01-15 Sergei Golovan <sgolovan@nes.ru> * ifacetk/roster.tcl, roster.tcl: Fixed finding the conference roster item in the user's roster, made sure the bare conference JID goes first when rendering the roster tooltip. * plugins/roster/annotations.tcl: Don't add roster item notes to the | > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 2016-01-16 Sergei Golovan <sgolovan@nes.ru> * utils.tcl: Don't clean-up the checkbuttons variable before constructing the dialog. This helps to set some checkbuttons in advance by default. * plugins/general/gpgme.tcl: Fixed disabling the ecryption in a groupchat after enabling it there. 2016-01-15 Sergei Golovan <sgolovan@nes.ru> * ifacetk/roster.tcl, roster.tcl: Fixed finding the conference roster item in the user's roster, made sure the bare conference JID goes first when rendering the roster tooltip. * plugins/roster/annotations.tcl: Don't add roster item notes to the |
︙ | ︙ |
Changes to plugins/general/gpgme.tcl.
︙ | ︙ | |||
1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 | } hook::add close_chat_post_hook ::ssj::on_close_chat proc ::ssj::groupchat_encrypt_dialog {xlib jid} { variable groupchat_encrypt variable signed set chatid [chat::chatid $xlib $jid] set nicks {} set balloons {} set disabled {} foreach nick [lsort -dictionary [::muc::roster $chatid]] { set user_jid [::xmpp::jid::replaceResource $jid $nick] | > > | > > > > > > > > > | 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 | } hook::add close_chat_post_hook ::ssj::on_close_chat proc ::ssj::groupchat_encrypt_dialog {xlib jid} { variable groupchat_encrypt variable signed variable groupencrypt[psuffix $xlib] unset -nocomplain groupencrypt[psuffix $xlib] set chatid [chat::chatid $xlib $jid] set nicks {} set balloons {} set disabled {} foreach nick [lsort -dictionary [::muc::roster $chatid]] { set user_jid [::xmpp::jid::replaceResource $jid $nick] if {![info exists signed($xlib,$user_jid)]} { set groupencrypt[psuffix $xlib]($nick) 0 continue } lappend nicks $nick $nick lappend balloons $nick [signed:info $signed($xlib,$user_jid)] unset -nocomplain params array set params $signed($xlib,$user_jid) if {[info exists params(reason)]} { set groupencrypt[psuffix $xlib]($nick) 0 lappend disabled $nick 1 } else { set idx [list $xlib $jid $nick] if {[info exists groupchat_encrypt($idx)]} { set groupencrypt[psuffix $xlib]($nick) $groupchat_encrypt($idx) } } } set dw .groupencrypt[psuffix $xlib] if {[winfo exists $dw]} { destroy $dw } |
︙ | ︙ | |||
1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 | set idx [list $xlib $jid $nick] if {![info exists groupchat_encrypt($idx)]} { set groupchat_encrypt($idx) 0 } if {[set groupencrypt[psuffix $xlib]($nick)]} { set groupchat_encrypt($idx) 1 } } destroy $dw unset -nocomplain groupencrypt[psuffix $xlib] } proc ::ssj::aggregate_encrypt {name1 name2 op} { variable options variable groupchat_encrypt # Node and server can't contain a comma lassign [split $name2] xlib jid set chatid [chat::chatid $xlib $jid] foreach nick [::muc::roster $chatid] { | > > < | 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 | set idx [list $xlib $jid $nick] if {![info exists groupchat_encrypt($idx)]} { set groupchat_encrypt($idx) 0 } if {[set groupencrypt[psuffix $xlib]($nick)]} { set groupchat_encrypt($idx) 1 } else { set groupchat_encrypt($idx) 0 } } destroy $dw unset -nocomplain groupencrypt[psuffix $xlib] } proc ::ssj::aggregate_encrypt {name1 name2 op} { variable options variable groupchat_encrypt # Node and server can't contain a comma lassign [split $name2] xlib jid set chatid [chat::chatid $xlib $jid] foreach nick [::muc::roster $chatid] { set idx [list $xlib $jid $nick] if {[info exists groupchat_encrypt($idx)] && $groupchat_encrypt($idx)} { set options(encrypt,$xlib,$jid) 1 return } |
︙ | ︙ |
Changes to utils.tcl.
︙ | ︙ | |||
359 360 361 362 363 364 365 | bind $path <Key-Up> [list focus_prev %W [double% $sf]] bind $path <Key-Down> [list focus_next %W [double% $sf]] bind $path <Key-Tab> [list focus_next %W [double% $sf]] bind $path <Shift-Tab> [list focus_prev %W [double% $sf]] bind $path <<PrevWindow>> [list focus_prev %W [double% $sf]] bindscroll $sff $sf | < < < < | > | > | 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 | bind $path <Key-Up> [list focus_prev %W [double% $sf]] bind $path <Key-Down> [list focus_next %W [double% $sf]] bind $path <Key-Tab> [list focus_next %W [double% $sf]] bind $path <Shift-Tab> [list focus_prev %W [double% $sf]] bind $path <<PrevWindow>> [list focus_prev %W [double% $sf]] bindscroll $sff $sf set temp {} foreach idx [array names names] { lappend temp [list $idx $names($idx)] } set i 0 foreach idxt [lsort -dictionary -index 1 $temp] { set idx [lindex $idxt 0] if {$radio} { set cb [Radiobutton $sff.cb$i -variable $var \ -text $names($idx) \ -value $idx] if {![info exists result] && $i == 0} { set result $idx } } else { if {![info exists result($idx)]} { set result($idx) 0 } set cb [Checkbutton $sff.cb$i -variable ${var}($idx) \ -text $names($idx)] } if {[info exists disabled($idx)] && $disabled($idx)} { $sff.cb$i configure -state disabled } bind $cb <Return> [list [double% $path] invoke 0] |
︙ | ︙ |