aboutsummaryrefslogtreecommitdiff
path: root/main/data/conversation_content_view
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-02-14 14:55:59 +0100
committerfiaxh <git@lightrise.org>2022-07-27 20:34:20 +0200
commit7e7dcedaf31ee35499875491c9f569c575d28435 (patch)
tree0c5fee2b28baf320775fbc92b3c252e97d9d054f /main/data/conversation_content_view
parentf25bfb00969a7e09996da2d5500e6718f4cc0148 (diff)
downloaddino-7e7dcedaf31ee35499875491c9f569c575d28435.tar.gz
dino-7e7dcedaf31ee35499875491c9f569c575d28435.zip
Port from GTK3 to GTK4
Diffstat (limited to 'main/data/conversation_content_view')
-rw-r--r--main/data/conversation_content_view/view.ui175
1 files changed, 79 insertions, 96 deletions
diff --git a/main/data/conversation_content_view/view.ui b/main/data/conversation_content_view/view.ui
index 17f753f5..638129ec 100644
--- a/main/data/conversation_content_view/view.ui
+++ b/main/data/conversation_content_view/view.ui
@@ -1,117 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
+ <requires lib="gtk" version="4.0"/>
<template class="DinoUiConversationSummaryConversationView">
- <property name="expand">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
- <property name="visible">True</property>
<child>
<object class="GtkStack" id="stack">
<property name="transition_type">crossfade</property>
- <property name="visible">True</property>
<child>
- <object class="GtkOverlay">
- <property name="visible">True</property>
- <child>
- <object class="GtkScrolledWindow" id="scrolled">
- <property name="hscrollbar_policy">never</property>
- <property name="expand">True</property>
- <property name="visible">True</property>
- <child>
- <object class="GtkEventBox" id="main_wrap_event_box">
- <property name="valign">end</property>
- <property name="visible">True</property>
- <child>
- <object class="GtkOverlay">
- <property name="visible">True</property>
- <child>
- <object class="GtkEventBox" id="main_event_box">
- <property name="visible">True</property>
- <child>
- <object class="DinoUiSizeRequestBox" id="main">
- <property name="margin-bottom">15</property>
- <property name="expand">False</property>
- <property name="orientation">vertical</property>
- <property name="visible">True</property>
- <property name="size-request-mode">height-for-width</property>
- </object>
- </child>
- </object>
- </child>
- <child type="overlay">
- <object class="GtkBox" id="message_menu_box">
- <property name="margin-right">10</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="halign">end</property>
- <property name="valign">start</property>
- <child>
- <object class="GtkButton" id="button1">
- <property name="vexpand">False</property>
- <property name="halign">end</property>
- <property name="valign">end</property>
- <child>
- <object class="GtkImage" id="button1_icon">
- <property name="icon-size">1</property>
- <property name="visible">True</property>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
+ <object class="GtkStackPage">
+ <property name="name">main</property>
+ <property name="child">
+ <object class="GtkOverlay">
+ <property name="child">
+ <object class="GtkScrolledWindow" id="scrolled">
+ <property name="hscrollbar_policy">never</property>
+ <property name="hexpand">1</property>
+ <property name="vexpand">1</property>
+ <property name="child">
+ <object class="GtkBox" id="main_wrap_box">
+ <property name="valign">end</property>
+ <child>
+ <object class="GtkOverlay">
+ <child>
+ <object class="GtkBox" id="main_event_box">
+ <property name="visible">True</property>
+ <child>
+ <object class="DinoUiSizeRequestBox" id="main">
+ <property name="margin-bottom">15</property>
+ <property name="orientation">vertical</property>
+ <property name="visible">True</property>
+ <property name="size-request-mode">height-for-width</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="overlay">
+ <object class="GtkBox" id="message_menu_box">
+ <property name="margin-end">10</property>
+ <property name="halign">end</property>
+ <property name="valign">start</property>
+ <child>
+ <object class="GtkButton" id="button1">
+ <property name="visible">0</property>
+ <property name="vexpand">0</property>
+ <property name="halign">end</property>
+ <property name="valign">end</property>
+ <child>
+ <object class="GtkImage" id="button1_icon">
+ <property name="icon-size">normal</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
- </child>
+ </property>
</object>
- </child>
- </object>
- <packing>
- <property name="index">-1</property>
- </packing>
- </child>
- <child type="overlay">
- <object class="GtkRevealer" id="notification_revealer">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="halign">center</property>
- <property name="valign">start</property>
- <child>
- <object class="GtkFrame" id="frame2">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">none</property>
- <style>
- <class name="app-notification"/>
- </style>
- <child>
- <object class="GtkBox" id="notifications">
- <property name="expand">False</property>
- <property name="orientation">vertical</property>
- <property name="visible">True</property>
+ </property>
+ <child type="overlay">
+ <object class="GtkRevealer" id="notification_revealer">
+ <property name="halign">center</property>
+ <property name="valign">start</property>
+ <property name="child">
+ <object class="GtkFrame" id="frame2">
+ <style>
+ <class name="app-notification"/>
+ </style>
+ <property name="child">
+ <object class="GtkBox" id="notifications">
+ <property name="hexpand">0</property>
+ <property name="vexpand">0</property>
+ <property name="orientation">vertical</property>
+ </object>
+ </property>
+ <child type="label_item">
+ <placeholder/>
+ </child>
</object>
- </child>
- <child type="label_item">
- <placeholder/>
- </child>
+ </property>
</object>
</child>
</object>
- </child>
+ </property>
</object>
- <packing>
- <property name="name">main</property>
- </packing>
</child>
<child>
- <object class="GtkBox">
- <property name="visible">True</property>
- </object>
- <packing>
+ <object class="GtkStackPage">
<property name="name">void</property>
- </packing>
+ <property name="child">
+ <object class="GtkBox"/>
+ </property>
+ </object>
</child>
</object>
</child>
</template>
-</interface>
+</interface> \ No newline at end of file