[sysprof] assistant: add aid for diskstats source



commit b19f995ae2a82ca6057961bcb12d54600d20d542
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jul 1 12:24:09 2019 -0700

    assistant: add aid for diskstats source

 src/libsysprof-ui/sysprof-profiler-assistant.c  |  1 +
 src/libsysprof-ui/sysprof-profiler-assistant.ui | 14 ++++++++++++++
 2 files changed, 15 insertions(+)
---
diff --git a/src/libsysprof-ui/sysprof-profiler-assistant.c b/src/libsysprof-ui/sysprof-profiler-assistant.c
index b5da881..4e0accd 100644
--- a/src/libsysprof-ui/sysprof-profiler-assistant.c
+++ b/src/libsysprof-ui/sysprof-profiler-assistant.c
@@ -306,6 +306,7 @@ sysprof_profiler_assistant_class_init (SysprofProfilerAssistantClass *klass)
   g_type_ensure (SYSPROF_TYPE_BATTERY_AID);
   g_type_ensure (SYSPROF_TYPE_CALLGRAPH_AID);
   g_type_ensure (SYSPROF_TYPE_CPU_AID);
+  g_type_ensure (SYSPROF_TYPE_DISKSTAT_SOURCE);
   g_type_ensure (SYSPROF_TYPE_ENVIRON_EDITOR);
   g_type_ensure (SYSPROF_TYPE_MEMORY_AID);
   g_type_ensure (SYSPROF_TYPE_NETDEV_AID);
diff --git a/src/libsysprof-ui/sysprof-profiler-assistant.ui b/src/libsysprof-ui/sysprof-profiler-assistant.ui
index 19f1341..0bd8b0a 100644
--- a/src/libsysprof-ui/sysprof-profiler-assistant.ui
+++ b/src/libsysprof-ui/sysprof-profiler-assistant.ui
@@ -45,6 +45,13 @@
     </child>
   </object>
   <object class="SysprofBatteryAid" id="battery_aid"/>
+  <object class="SysprofAid" id="diskstat_aid">
+    <property name="display-name">Disk</property>
+    <property name="icon-name">drive-harddisk-system-symbolic</property>
+    <child>
+      <object class="SysprofDiskstatSource"/>
+    </child>
+  </object>
   <template class="SysprofProfilerAssistant" parent="GtkBin">
     <child>
       <object class="GtkScrolledWindow">
@@ -156,6 +163,13 @@
                             <property name="visible">true</property>
                           </object>
                         </child>
+                        <child>
+                          <object class="SysprofAidIcon">
+                            <property name="aid">diskstat_aid</property>
+                            <property name="selected">false</property>
+                            <property name="visible">true</property>
+                          </object>
+                        </child>
                       </object>
                     </child>
                   </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]