[gnome-logs] eventviewlist: Insert HdyFlap
- From: Jonathan Kang <jonathankang src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs] eventviewlist: Insert HdyFlap
- Date: Thu, 5 Aug 2021 06:38:04 +0000 (UTC)
commit b56573b33f19f6666aaebe70814d5b5a63af2280
Author: Guido Günther <agx sigxcpu org>
Date: Fri May 7 11:27:07 2021 +0200
eventviewlist: Insert HdyFlap
This makes the category list hide on small horizontal sizes
data/gl-eventviewlist.ui | 85 +++++++++++++++++++++++++-----------------------
1 file changed, 45 insertions(+), 40 deletions(-)
---
diff --git a/data/gl-eventviewlist.ui b/data/gl-eventviewlist.ui
index f132e2e..f95ce83 100644
--- a/data/gl-eventviewlist.ui
+++ b/data/gl-eventviewlist.ui
@@ -2,59 +2,64 @@
<template class="GlEventViewList" parent="GtkBox">
<property name="orientation">horizontal</property>
<property name="visible">True</property>
- <child>
- <object class="GlCategoryList" id="categories">
- <style>
- <class name="categories"/>
- </style>
- </object>
- </child>
- <child>
- <object class="GtkSeparator" id="content_separator">
- <property name="orientation">vertical</property>
- <property name="visible">True</property>
- </object>
- </child>
- <child>
- <object class="GtkBox" id="event_view">
- <property name="orientation">vertical</property>
+ <child>
+ <object class="HdyFlap">
<property name="visible">True</property>
+ <child type="flap">
+ <object class="GlCategoryList" id="categories">
+ <style>
+ <class name="categories"/>
+ </style>
+ </object>
+ </child>
+ <child type="separator">
+ <object class="GtkSeparator" id="content_separator">
+ <property name="orientation">vertical</property>
+ <property name="visible">True</property>
+ </object>
+ </child>
<child>
- <object class="GtkSearchBar" id="event_search">
+ <object class="GtkBox" id="event_view">
+ <property name="orientation">vertical</property>
<property name="visible">True</property>
- <signal name="notify::search-mode-enabled"
handler="on_search_bar_notify_search_mode_enabled"/>
<child>
- <object class="GtkBox" id="search_entry_box">
- <property name="orientation">horizontal</property>
+ <object class="GtkSearchBar" id="event_search">
<property name="visible">True</property>
- <style>
- <class name="linked"/>
- </style>
- <child>
- <object class="GtkSearchEntry" id="search_entry">
- <property name="visible">True</property>
- <property name="width-request">400</property>
- <signal name="search-changed" handler="on_search_entry_changed" />
- </object>
- </child>
+ <signal name="notify::search-mode-enabled"
handler="on_search_bar_notify_search_mode_enabled"/>
<child>
- <object class="GtkMenuButton" id="search_dropdown_button">
- <property name="tooltip-text" translatable="yes">Select journal
field and timestamp range filtering options</property>
+ <object class="GtkBox" id="search_entry_box">
+ <property name="orientation">horizontal</property>
<property name="visible">True</property>
+ <style>
+ <class name="linked"/>
+ </style>
+ <child>
+ <object class="GtkSearchEntry" id="search_entry">
+ <property name="visible">True</property>
+ <property name="width-request">400</property>
+ <signal name="search-changed"
handler="on_search_entry_changed" />
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuButton" id="search_dropdown_button">
+ <property name="tooltip-text" translatable="yes">Select
journal field and timestamp range filtering options</property>
+ <property name="visible">True</property>
+ </object>
+ </child>
</object>
</child>
</object>
</child>
- </object>
- </child>
- <child>
- <object class="GtkScrolledWindow" id="event_scrolled">
- <property name="visible">True</property>
- <property name="expand">True</property>
<child>
- <object class="GtkListBox" id="entries_box">
+ <object class="GtkScrolledWindow" id="event_scrolled">
<property name="visible">True</property>
- <property name="selection-mode">none</property>
+ <property name="expand">True</property>
+ <child>
+ <object class="GtkListBox" id="entries_box">
+ <property name="visible">True</property>
+ <property name="selection-mode">none</property>
+ </object>
+ </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]