aboutsummaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-02-13 20:07:33 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-02-13 20:07:33 +0100
commit2a6c388d5f5dc2d298322e46fec71839bf41ab58 (patch)
treed37bb254ba29ca7b59c016b353e7b04ce4b17b62 /COPYING
parent233fdd70cdb48ae8818baf416399989841333fcf (diff)
parentb2ca0dbe7704098144b6ccd103dd760ad7dd3636 (diff)
downloadlibayatana-indicator-2a6c388d5f5dc2d298322e46fec71839bf41ab58.tar.gz
libayatana-indicator-2a6c388d5f5dc2d298322e46fec71839bf41ab58.tar.bz2
libayatana-indicator-2a6c388d5f5dc2d298322e46fec71839bf41ab58.zip
indicator_object_set_visible: only emit entry-{added,removed} when visibility actually changed
Emitting those signals is semantically incorrect. It also confused indicator-loader and the panel, because they are not checking whether an entry is already present in their entry-added handlers. This led to gtk warnings ("widget already has a parent") and strange effects, such as the same menu being added multiple times into the panel. This patch also makes indicator_object_dispose use indicator_object_set_visible (it was already doing something similar).
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions