eb39190b39
Remove redundant child properties from the main menu. Child properties are going away in GTK4. For now we can't use MenuModel here, as we have a custom widget. Combining custom widgets and menu models will be possible in GTK4
139 lines
6.2 KiB
XML
139 lines
6.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.20.2 -->
|
|
<interface>
|
|
<requires lib="gtk+" version="3.20"/>
|
|
<object class="GtkPopoverMenu" id="user_popover">
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_start">6</property>
|
|
<property name="margin_end">6</property>
|
|
<property name="margin_top">6</property>
|
|
<property name="margin_bottom">6</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="width_request">200</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">horizontal</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkStack" id="user_info">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkSpinner" id="user_info_spinner">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="active">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="margin_top">10</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">spinner</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkBox" id="user_info_avatar">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="valign">center</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="valign">center</property>
|
|
<child>
|
|
<object class="GtkLabel" id="user_info_username">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">start</property>
|
|
<property name="label"></property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="user_info_uid">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">start</property>
|
|
<property name="label"></property>
|
|
<style>
|
|
<class name="member-uid"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">info</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkModelButton" id="account_settings_menu">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="margin_top">12</property>
|
|
<property name="action_name">app.open-account-settings</property>
|
|
<property name="text" translatable="yes">Account Settings</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkModelButton" id="logout_menu">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="action_name">app.logout</property>
|
|
<property name="text" translatable="yes">Log Out</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSeparator">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_top">3</property>
|
|
<property name="margin_bottom">3</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkModelButton" id="keyboard-shortcuts">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="action_name">win.show-help-overlay</property>
|
|
<property name="text" translatable="yes">Keyboard _Shortcuts</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkModelButton" id="about-fractal">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="action_name">app.about</property>
|
|
<property name="text" translatable="yes">_About Fractal</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="submenu">main</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</interface>
|