summaryrefslogtreecommitdiff
path: root/unity-shared
diff options
authorBrandon Schaefer <brandon.schaefer@canonical.com>2013-07-18 10:34:01 -0700
committerBrandon Schaefer <brandon.schaefer@canonical.com>2013-07-18 10:34:01 -0700
commit64d309ad848b3288d483e6e0bd2bdb1b17000261 (patch)
tree0b75a6d2709b427ebd2943dc4f21ee5dec0ae5d3 /unity-shared
parent81be779d62e14af34d8dac74557c574140eb3289 (diff)
* Adds AP tests for detail mouse mode
(bzr r3426.1.6)
Diffstat (limited to 'unity-shared')
-rw-r--r--unity-shared/LayoutSystem.cpp6
-rw-r--r--unity-shared/LayoutSystem.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/unity-shared/LayoutSystem.cpp b/unity-shared/LayoutSystem.cpp
index 7a15984bb..2dd8dd035 100644
--- a/unity-shared/LayoutSystem.cpp
+++ b/unity-shared/LayoutSystem.cpp
@@ -19,6 +19,8 @@
#include "LayoutSystem.h"
+#include <UnityCore/Variant.h>
+
namespace unity {
namespace ui {
@@ -293,11 +295,13 @@ LayoutWindow::LayoutWindow(Window xid)
// Introspectable methods
std::string LayoutWindow::GetName() const
{
- return "LayoutSystem";
+ return "LayoutWindow";
}
void LayoutWindow::AddProperties(GVariantBuilder* builder)
{
+ unity::variant::BuilderWrapper(builder)
+ .add(result);
}
}
diff --git a/unity-shared/LayoutSystem.h b/unity-shared/LayoutSystem.h
index c10ba77d9..175074c55 100644
--- a/unity-shared/LayoutSystem.h
+++ b/unity-shared/LayoutSystem.h
@@ -30,7 +30,7 @@
namespace unity {
namespace ui {
-class LayoutWindow //: public debug::Introspectable//: public ui::UnityWindowView
+class LayoutWindow : public debug::Introspectable
{
public:
typedef std::shared_ptr<LayoutWindow> Ptr;