]> git.notmuchmail.org Git - kub/commitdiff
Add "select_mode" to determine if "selection_box.visible" is true or false
authorKevin Worth <kworth@kworth-laptop.(none)>
Sun, 7 Jun 2009 23:07:15 +0000 (19:07 -0400)
committerKevin Worth <kworth@kworth-laptop.(none)>
Sun, 7 Jun 2009 23:07:15 +0000 (19:07 -0400)
    If "select_mode" is true(tile not being dragged) then
    selection_box.visible is true. Previously this check was done using
    "current_tile == -1", which was unclear.

    It could be said that it is redundant to set "select_mode" and *then*
    set "selection_box.visible" to true, but it very clearly shows what
    is being done and when. In addition, checking select_mode may be used
    later on with a completely different purpose.


No differences found