mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
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
@ -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 New Issue
Block a user