aboutsummaryrefslogtreecommitdiff
path: root/src/exporter.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-10-09 13:44:12 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-10-09 13:44:12 +0000
commitc8edcbeb3add928e37705ec51c8739d953f0d540 (patch)
treefd2bff9b14767a059828dc8460f14b94a98c58cd /src/exporter.cpp
parent7eaeb6486f681391b5d5b9a3d15ceeedc4313244 (diff)
parent94ba0a4147052dec53e2ba818ec3d03141e8f26b (diff)
downloadayatana-indicator-display-c8edcbeb3add928e37705ec51c8739d953f0d540.tar.gz
ayatana-indicator-display-c8edcbeb3add928e37705ec51c8739d953f0d540.tar.bz2
ayatana-indicator-display-c8edcbeb3add928e37705ec51c8739d953f0d540.zip
Use com.ubuntu.touch.system's "rotation-lock" boolean for the rotation lock indicator. Fixes: 1378078
Approved by: Ted Gould, PS Jenkins bot
Diffstat (limited to 'src/exporter.cpp')
-rw-r--r--src/exporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exporter.cpp b/src/exporter.cpp
index f45d9d6..21e8af7 100644
--- a/src/exporter.cpp
+++ b/src/exporter.cpp
@@ -140,8 +140,8 @@ private:
g_action_map_add_action(G_ACTION_MAP(action_group), G_ACTION(a));
profile->header().changed().connect([action_group,action_name](const Header& header){
auto state = create_header_state(header);
- auto tmp = g_variant_print(state, true);
- g_message("header changed; updating action state to '%s'", tmp);
+ char* tmp = g_variant_print(state, true);
+ g_debug("header changed; updating action state to '%s'", tmp);
g_action_group_change_action_state(G_ACTION_GROUP(action_group),
action_name.c_str(),
create_header_state(header));