mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 08:00:53 +00:00
libsysprof-gtk: add some libpanel bits for testing layout
This commit is contained in:
@ -7,6 +7,25 @@
|
|||||||
<property name="bottom-bar-style">raised</property>
|
<property name="bottom-bar-style">raised</property>
|
||||||
<child type="top">
|
<child type="top">
|
||||||
<object class="AdwHeaderBar">
|
<object class="AdwHeaderBar">
|
||||||
|
<child type="start">
|
||||||
|
<object class="GtkMenuButton">
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="spacing">3</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="label">Open</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkImage">
|
||||||
|
<property name="icon-name">pan-down-symbolic</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
<child type="title">
|
<child type="title">
|
||||||
<object class="PanelOmniBar">
|
<object class="PanelOmniBar">
|
||||||
<child type="prefix">
|
<child type="prefix">
|
||||||
@ -24,6 +43,13 @@
|
|||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
<child type="end">
|
||||||
|
<object class="GtkMenuButton">
|
||||||
|
<property name="icon-name">open-menu-symbolic</property>
|
||||||
|
<property name="menu-model">primary_menu</property>
|
||||||
|
<property name="primary">true</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
<child type="end">
|
<child type="end">
|
||||||
<object class="GtkMenuButton">
|
<object class="GtkMenuButton">
|
||||||
<property name="icon-name">document-properties-symbolic</property>
|
<property name="icon-name">document-properties-symbolic</property>
|
||||||
@ -128,9 +154,35 @@
|
|||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</property>
|
</property>
|
||||||
|
<child type="bottom">
|
||||||
|
<object class="PanelStatusbar">
|
||||||
|
<child type="suffix">
|
||||||
|
<object class="PanelToggleButton">
|
||||||
|
<property name="area">bottom</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</template>
|
</template>
|
||||||
|
<menu id="primary_menu">
|
||||||
|
<section>
|
||||||
|
<item>
|
||||||
|
<attribute name="label">Preferences</attribute>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<attribute name="label">Keyboard Shortcuts</attribute>
|
||||||
|
<attribute name="accel"><ctrl>question</attribute>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<attribute name="label">Help</attribute>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<attribute name="label">About Sysprof</attribute>
|
||||||
|
</item>
|
||||||
|
</section>
|
||||||
|
</menu>
|
||||||
<menu id="view_menu">
|
<menu id="view_menu">
|
||||||
<section>
|
<section>
|
||||||
<attribute name="label">Callgraph</attribute>
|
<attribute name="label">Callgraph</attribute>
|
||||||
|
|||||||
Reference in New Issue
Block a user