aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-02-12 13:40:21 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-02-12 13:40:21 +0100
commit5f599a8cabbbc451e6c0846598453eb2618d4405 (patch)
treea6e69d1a5ffb9ed4e7f2fc622e417a3122074afb /tools
parent233fdd70cdb48ae8818baf416399989841333fcf (diff)
downloadlibayatana-indicator-5f599a8cabbbc451e6c0846598453eb2618d4405.tar.gz
libayatana-indicator-5f599a8cabbbc451e6c0846598453eb2618d4405.tar.bz2
libayatana-indicator-5f599a8cabbbc451e6c0846598453eb2618d4405.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.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions