summaryrefslogtreecommitdiff
path: root/launcher
diff options
authorLuke Yelavich <luke.yelavich@canonical.com>2014-03-11 20:16:10 +1100
committerLuke Yelavich <luke.yelavich@canonical.com>2014-03-11 20:16:10 +1100
commit4f49fdeb78dcdfec42d96e8ebbe8e833171d6b7c (patch)
tree2d9a812997adffa3d936c61e7aaade372b9a83e3 /launcher
parent919fe7789396d5b01d3597e451169397e6c053db (diff)
Present a textual description of the state of applications to screen reader users when navigating the launcher.
Fixes LP: #1266298 (bzr r3702.7.1)
Diffstat (limited to 'launcher')
-rw-r--r--launcher/ApplicationLauncherIcon.cpp2
-rw-r--r--launcher/LauncherIcon.cpp2
-rw-r--r--launcher/LauncherIcon.h3
3 files changed, 7 insertions, 0 deletions
diff --git a/launcher/ApplicationLauncherIcon.cpp b/launcher/ApplicationLauncherIcon.cpp
index 48ebdb218..03714e275 100644
--- a/launcher/ApplicationLauncherIcon.cpp
+++ b/launcher/ApplicationLauncherIcon.cpp
@@ -722,6 +722,8 @@ void ApplicationLauncherIcon::EnsureWindowState()
for (unsigned i = 0; i < monitors::MAX; i++)
SetWindowVisibleOnMonitor(monitors[i], i);
+
+ WindowsChanged.emit();
}
void ApplicationLauncherIcon::UpdateDesktopQuickList()
diff --git a/launcher/LauncherIcon.cpp b/launcher/LauncherIcon.cpp
index 163f6c527..a83f27d4d 100644
--- a/launcher/LauncherIcon.cpp
+++ b/launcher/LauncherIcon.cpp
@@ -879,6 +879,8 @@ void LauncherIcon::SetQuirk(LauncherIcon::Quirk quirk, bool value, int monitor)
if (quirk == Quirk::VISIBLE)
visibility_changed.emit(monitor);
+
+ QuirksChanged.emit();
}
void LauncherIcon::FullyAnimateQuirkDelayed(guint ms, LauncherIcon::Quirk quirk, int monitor)
diff --git a/launcher/LauncherIcon.h b/launcher/LauncherIcon.h
index 934cc15c2..712af8444 100644
--- a/launcher/LauncherIcon.h
+++ b/launcher/LauncherIcon.h
@@ -139,6 +139,9 @@ public:
void SkipQuirkAnimation(Quirk quirk, int monitor = -1);
+ sigc::signal<void> QuirksChanged;
+ sigc::signal<void> WindowsChanged;
+
IconType GetIconType() const;
virtual nux::Color BackgroundColor() const;