summaryrefslogtreecommitdiff
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2012-02-09 18:12:15 -0500
committerTarmac <>2012-02-09 18:12:15 -0500
commit8458464df3a98b8d1c561cd4ddeb139d302b4aad (patch)
tree9892f62b52e66c5c0fc8c249f1b942220f024a3a
parent86df61bc862581b59299b8d623d83f560cdd5739 (diff)
parent390fef9a82431ec4cff58a8e84415039a78bc00a (diff)
Fixes the category header AP test.. Fixes: . Approved by Thomi Richards.
(bzr r1942)
-rw-r--r--plugins/unityshell/src/PlacesGroup.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/unityshell/src/PlacesGroup.cpp b/plugins/unityshell/src/PlacesGroup.cpp
index 846342356..f84c450ed 100644
--- a/plugins/unityshell/src/PlacesGroup.cpp
+++ b/plugins/unityshell/src/PlacesGroup.cpp
@@ -52,7 +52,7 @@ const nux::Color kExpandHoverTextColor(1.0f, 1.0f, 1.0f, 1.0f);
const float kExpandDefaultIconOpacity = 1.0f;
const float kExpandHoverIconOpacity = 1.0f;
-// Category header highlight
+// Category highlight
const int kHighlightHeight = 24;
const int kHighlightWidthSubtractor = 16;
const int kHighlightLeftPadding = 11;
@@ -525,6 +525,7 @@ void PlacesGroup::AddProperties(GVariantBuilder* builder)
wrapper.add("header-width", _header_view->GetAbsoluteWidth());
wrapper.add("header-height", _header_view->GetAbsoluteHeight());
wrapper.add("header-has-keyfocus", HeaderHasKeyFocus());
+ wrapper.add("header-is-highlighted", ShouldBeHighlighted());
}
} // namespace unity