[fractal] main_menu: Remove child properties
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] main_menu: Remove child properties
- Date: Fri, 6 Nov 2020 08:31:43 +0000 (UTC)
commit eb39190b39a14c0f34ad9188a7e8a4fa59054b6d
Author: Christopher Davis <brainblasted disroot org>
Date: Sat Oct 31 16:20:19 2020 -0700
main_menu: Remove child properties
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
fractal-gtk/res/ui/main_menu.ui | 40 ----------------------------------------
1 file changed, 40 deletions(-)
---
diff --git a/fractal-gtk/res/ui/main_menu.ui b/fractal-gtk/res/ui/main_menu.ui
index 0ec118a5..745347ff 100644
--- a/fractal-gtk/res/ui/main_menu.ui
+++ b/fractal-gtk/res/ui/main_menu.ui
@@ -61,11 +61,6 @@
<property name="halign">start</property>
<property name="label"></property>
</object>
-
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
</child>
<child>
<object class="GtkLabel" id="user_info_uid">
@@ -77,11 +72,6 @@
<class name="member-uid"/>
</style>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">end</property>
- </packing>
</child>
</object>
</child>
@@ -93,11 +83,6 @@
</object>
</child>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
</child>
<child>
<object class="GtkModelButton" id="account_settings_menu">
@@ -108,11 +93,6 @@
<property name="action_name">app.open-account-settings</property>
<property name="text" translatable="yes">Account Settings</property>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">2</property>
- </packing>
</child>
<child>
<object class="GtkModelButton" id="logout_menu">
@@ -122,11 +102,6 @@
<property name="action_name">app.logout</property>
<property name="text" translatable="yes">Log Out</property>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">3</property>
- </packing>
</child>
<child>
<object class="GtkSeparator">
@@ -135,11 +110,6 @@
<property name="margin_top">3</property>
<property name="margin_bottom">3</property>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">4</property>
- </packing>
</child>
<child>
<object class="GtkModelButton" id="keyboard-shortcuts">
@@ -149,11 +119,6 @@
<property name="action_name">win.show-help-overlay</property>
<property name="text" translatable="yes">Keyboard _Shortcuts</property>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">4</property>
- </packing>
</child>
<child>
<object class="GtkModelButton" id="about-fractal">
@@ -163,11 +128,6 @@
<property name="action_name">app.about</property>
<property name="text" translatable="yes">_About Fractal</property>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">5</property>
- </packing>
</child>
</object>
<packing>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]