Commit cc46cb23 authored by Guido Gunther's avatar Guido Gunther

top-panel: Add camera and microphone hks info

parent 329eac54
Pipeline #63440 passed with stages
in 58 minutes and 32 seconds
......@@ -36,6 +36,7 @@
#include "feedbackinfo.h"
#include "feedback-manager.h"
#include "gnome-shell-manager.h"
#include "hks-info.h"
#include "home.h"
#include "idle-manager.h"
#include "keyboard-events.h"
......@@ -515,6 +516,7 @@ type_setup (void)
g_type_ensure (PHOSH_TYPE_CONNECTIVITY_INFO);
g_type_ensure (PHOSH_TYPE_DOCKED_INFO);
g_type_ensure (PHOSH_TYPE_FEEDBACK_INFO);
g_type_ensure (PHOSH_TYPE_HKS_INFO);
g_type_ensure (PHOSH_TYPE_MEDIA_PLAYER);
g_type_ensure (PHOSH_TYPE_QUICK_SETTING);
g_type_ensure (PHOSH_TYPE_ROTATE_INFO);
......
......@@ -177,6 +177,34 @@
<property name="position">0</property>
</packing>
</child>
<child>
<object class="PhoshHksInfo" id="hks_info_mic">
<property name="device-type">mic</property>
<property name="visible" bind-source="hks_info_mic" bind-property="blocked" bind-flags="sync-create"/>
<property name="can_focus">False</property>
<property name="icon-size">GTK_ICON_SIZE_SMALL_TOOLBAR</property>
<property name="margin-right">8</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="PhoshHksInfo" id="hks_info_camera">
<property name="device-type">camera</property>
<property name="visible" bind-source="hks_info_camera" bind-property="blocked" bind-flags="sync-create"/>
<property name="can_focus">False</property>
<property name="icon-size">GTK_ICON_SIZE_SMALL_TOOLBAR</property>
<property name="margin-right">8</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="PhoshBatteryInfo" id="batteryinfo">
<property name="visible">True</property>
......@@ -187,7 +215,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
<property name="position">4</property>
</packing>
</child>
</object>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment