Pay attention to tags that turn invisibility off as well as tags that turn
2007-10-26 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextbtree.c (_gtk_text_btree_char_is_invisible):
Pay attention to tags that turn invisibility off as well
as tags that turn invsibility on. (#488051, Mathias Hasselmann)
svn path=/trunk/; revision=18949
This commit is contained in:
parent
949d340659
commit
00481dd67c
2 changed files with 9 additions and 3 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2007-10-26 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_char_is_invisible):
|
||||
Pay attention to tags that turn invisibility off as well
|
||||
as tags that turn invsibility on. (#488051, Mathias Hasselmann)
|
||||
|
||||
2007-10-24 Johan Dahlin <jdahlin@async.com.br>
|
||||
|
||||
* gtk/gtkbuilder.c: Improve gtk_builder_get_type_from_name()
|
||||
|
|
|
|||
|
|
@ -2498,7 +2498,7 @@ _gtk_text_btree_char_is_invisible (const GtkTextIter *iter)
|
|||
|| (seg->type == >k_text_toggle_off_type))
|
||||
{
|
||||
tag = seg->body.toggle.info->tag;
|
||||
if (tag->invisible_set && tag->values->invisible)
|
||||
if (tag->invisible_set)
|
||||
{
|
||||
tags[tag->priority] = tag;
|
||||
tagCnts[tag->priority]++;
|
||||
|
|
@ -2522,7 +2522,7 @@ _gtk_text_btree_char_is_invisible (const GtkTextIter *iter)
|
|||
|| (seg->type == >k_text_toggle_off_type))
|
||||
{
|
||||
tag = seg->body.toggle.info->tag;
|
||||
if (tag->invisible_set && tag->values->invisible)
|
||||
if (tag->invisible_set)
|
||||
{
|
||||
tags[tag->priority] = tag;
|
||||
tagCnts[tag->priority]++;
|
||||
|
|
@ -2551,7 +2551,7 @@ _gtk_text_btree_char_is_invisible (const GtkTextIter *iter)
|
|||
if (summary->toggle_count & 1)
|
||||
{
|
||||
tag = summary->info->tag;
|
||||
if (tag->invisible_set && tag->values->invisible)
|
||||
if (tag->invisible_set)
|
||||
{
|
||||
tags[tag->priority] = tag;
|
||||
tagCnts[tag->priority] += summary->toggle_count;
|
||||
|
|
|
|||
Loading…
Reference in a new issue