shell: Add position to cc_shell_embed_widget_in_header()
So we can control where the widget should be added to. The main window only supports left and right positions. https://gitlab.gnome.org/GNOME/gnome-control-center/issues/528
This commit is contained in:
parent
20b3d0c653
commit
75f150d5a2
19 changed files with 66 additions and 28 deletions
|
@ -222,7 +222,6 @@
|
|||
<property name="show_close_button">True</property>
|
||||
<child>
|
||||
<object class="GtkRevealer" id="back_revealer">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="transition-type">crossfade</property>
|
||||
<property name="transition-duration" bind-source="main_leaflet" bind-property="mode-transition-duration" bind-flags="bidirectional|sync-create"/>
|
||||
|
@ -254,6 +253,12 @@
|
|||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox" id="top_left_box">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox" id="top_right_box">
|
||||
<property name="visible">True</property>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue