Blame SOURCES/0001-gl-window-Set-default-width-height.patch

9a84e9
From ef4c13a2ec49d94495370bcdb0870252ba43bfd5 Mon Sep 17 00:00:00 2001
9a84e9
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
9a84e9
Date: Tue, 27 Jul 2021 11:35:09 +0200
9a84e9
Subject: [PATCH] gl-window: Set default-{width,height}
9a84e9
9a84e9
Instead of limiting the minimal size rather make those values the
9a84e9
default so the window can shring to smaller sizes on e.g. phones.
9a84e9
---
9a84e9
 data/gl-window.ui | 4 ++--
9a84e9
 1 file changed, 2 insertions(+), 2 deletions(-)
9a84e9
9a84e9
diff --git a/data/gl-window.ui b/data/gl-window.ui
9a84e9
index e20569d..28e3fc8 100644
9a84e9
--- a/data/gl-window.ui
9a84e9
+++ b/data/gl-window.ui
9a84e9
@@ -1,34 +1,34 @@
9a84e9
 <interface domain="gnome-logs">
9a84e9
     <template class="GlWindow" parent="GtkApplicationWindow">
9a84e9
-        <property name="height-request">780</property>
9a84e9
-        <property name="width-request">1200</property>
9a84e9
+        <property name="default-width">1200</property>
9a84e9
+        <property name="default-height">600</property>
9a84e9
         <signal name="key-press-event" handler="on_gl_window_key_press_event"/>
9a84e9
         <child type="titlebar">
9a84e9
             <object class="GlEventToolbar" id="event_toolbar">
9a84e9
             </object>
9a84e9
         </child>
9a84e9
         <child>
9a84e9
             <object class="GtkBox" id="event_box">
9a84e9
                 <property name="orientation">vertical</property>
9a84e9
                 <property name="visible">True</property>
9a84e9
                 <child>
9a84e9
                     <object class="GtkInfoBar" id="info_bar">
9a84e9
                         <property name="message-type">GTK_MESSAGE_ERROR</property>
9a84e9
                         <child>
9a84e9
                             <object class="GtkButtonBox" id="action_area">
9a84e9
                                 <property name="visible">True</property>
9a84e9
                                 <property name="orientation">horizontal</property>
9a84e9
                                 <property name="layout_style">center</property>
9a84e9
                                 <child>
9a84e9
                                     <object class="GtkButton" id="help_button">
9a84e9
                                         <property name="visible">True</property>
9a84e9
                                         <property name="halign">center</property>
9a84e9
                                         <property name="label" translatable="yes">Help</property>
9a84e9
                                         <signal name="clicked" handler="on_help_button_clicked" object="GlWindow"/>
9a84e9
                                     </object>
9a84e9
                                 </child>
9a84e9
                                 <child>
9a84e9
                                     <object class="GtkButton" id="ignore_button">
9a84e9
                                         <property name="visible">True</property>
9a84e9
                                         <property name="halign">center</property>
9a84e9
                                         <property name="label" translatable="yes">Ignore</property>
9a84e9
-- 
9a84e9
2.35.1
9a84e9