[gnome-games/wip/exalm/titlebar: 2/3] application-window: Wrap titlebar into a HdyTitleBar
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/titlebar: 2/3] application-window: Wrap titlebar into a HdyTitleBar
- Date: Sun, 7 Oct 2018 09:46:41 +0000 (UTC)
commit 4125a2ab3c80721a95796d216a7d7726730d6b99
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Mon Sep 24 17:47:32 2018 +0500
application-window: Wrap titlebar into a HdyTitleBar
This will be used in the subsequent commits to avoid glitches with
headerbar corners in collection view.
data/ui/application-window.ui | 37 +++++++++++++++++++++----------------
1 file changed, 21 insertions(+), 16 deletions(-)
---
diff --git a/data/ui/application-window.ui b/data/ui/application-window.ui
index 9efae3e7..bf0f68de 100644
--- a/data/ui/application-window.ui
+++ b/data/ui/application-window.ui
@@ -35,26 +35,31 @@
</object>
</child>
<child type="titlebar">
- <object class="GtkStack" id="header_bar">
+ <object class="HdyTitleBar">
<property name="visible">True</property>
<child>
- <object class="GamesCollectionHeaderBar" id="collection_header_bar">
+ <object class="GtkStack" id="header_bar">
<property name="visible">True</property>
- <property name="show_close_button">True</property>
+ <child>
+ <object class="GamesCollectionHeaderBar" id="collection_header_bar">
+ <property name="visible">True</property>
+ <property name="show_close_button">True</property>
+ </object>
+ <packing>
+ <property name="name">collection</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GamesDisplayHeaderBar" id="display_header_bar">
+ <property name="visible">True</property>
+ <property name="show_close_button">True</property>
+ <signal name="back" handler="on_display_back"/>
+ </object>
+ <packing>
+ <property name="name">display</property>
+ </packing>
+ </child>
</object>
- <packing>
- <property name="name">collection</property>
- </packing>
- </child>
- <child>
- <object class="GamesDisplayHeaderBar" id="display_header_bar">
- <property name="visible">True</property>
- <property name="show_close_button">True</property>
- <signal name="back" handler="on_display_back"/>
- </object>
- <packing>
- <property name="name">display</property>
- </packing>
</child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]