Commit 0cbf5b12 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

d/patches: Add hiding Keyboard Shortcuts when narrow

Fixes #5
parent fe1d8649
Pipeline #72972 passed with stages
in 8 minutes and 23 seconds
From bd7a345c1dde2a5a2c8fd64c4ae2e1cfb3baa425 Mon Sep 17 00:00:00 2001
From: Adrien Plazas <kekun.plazas@laposte.net>
Date: Wed, 10 Nov 2021 13:31:18 +0100
Subject: [PATCH] window: Hide Keyboard Shortcuts when narrow
Fixes https://source.puri.sm/Librem5/debs/gnome-calendar/-/issues/5
---
src/gui/gcal-window.ui | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gui/gcal-window.ui b/src/gui/gcal-window.ui
index 36d08a18..0c9d6c34 100644
--- a/src/gui/gcal-window.ui
+++ b/src/gui/gcal-window.ui
@@ -394,7 +394,7 @@
<!-- Shortcuts -->
<child>
<object class="GtkModelButton">
- <property name="visible">True</property>
+ <property name="visible" bind-source="views_switcher_bar" bind-property="reveal" bind-flags="invert-boolean|sync-create"/>
<property name="action-name">win.show-help-overlay</property>
<property name="text" translatable="yes">_Keyboard Shortcuts</property>
</object>
--
2.30.2
......@@ -24,3 +24,4 @@ pureos/adaptive/0017-event-widget-Reduce-the-slanted-variant-width-a-bit.patch
pureos/adaptive/0018-event-widget-Drop-even-the-ellipsis-if-it-doesn-t-fi.patch
pureos/adaptive/0019-calendar-management-dialog-Lower-the-width-request.patch
pureos/adaptive/0020-calendars-page-Make-the-rows-ellipsize.patch
pureos/adaptive/0021-window-Hide-Keyboard-Shortcuts-when-narrow.patch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment