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

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