pmaports/temp/phosh/0001-PMOS-Hide-Logout-action.patch
Oliver Smith 4e59a58aa2
temp/phosh: copy fork from v20.05 branch (MR 1546)
Set pkgver to 9999, so it is always preferred over the Alpine edge
version.
2020-09-15 17:08:21 +02:00

26 lines
822 B
Diff

From d0ed89ba5902a5f301f102f8073098525e3c11ad Mon Sep 17 00:00:00 2001
From: Luca Weiss <luca@z3ntu.xyz>
Date: Thu, 23 Jul 2020 22:10:18 +0200
Subject: [PATCH 2/2] PMOS: Hide Logout action
It doesn't work on pmOS and we don't need it.
---
src/ui/top-panel.ui | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ui/top-panel.ui b/src/ui/top-panel.ui
index a91e9c4..7c6791b 100644
--- a/src/ui/top-panel.ui
+++ b/src/ui/top-panel.ui
@@ -17,7 +17,7 @@
</child>
<child>
<object class="GtkModelButton">
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="action-name">panel.logout</property>
<property name="text" translatable="yes">Logout</property>
</object>
--
2.27.0